This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 0% done. Using: 0.000000 MB | |
| Deletes starting. 2% done. Using: 35.179070 MB | |
| 10% done. Using: 143.416156 MB | |
| 20% done. Using: 343.661770 MB | |
| 30% done. Using: 547.685583 MB | |
| 40% done. Using: 747.931368 MB | |
| 50% done. Using: 948.176880 MB | |
| 60% done. Using: 1,152.201424 MB | |
| 70% done. Using: 1,352.446961 MB | |
| 80% done. Using: 1,552.693105 MB |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import org.fusesource.leveldbjni.JniDBFactory; | |
| import org.iq80.leveldb.*; | |
| import java.io.File; | |
| import java.io.IOException; | |
| import java.nio.ByteBuffer; | |
| import java.util.Random; | |
| public class DBCompactionTest { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ svn diff | |
| Index: src/main/java/org/apache/cxf/cwiki/SiteExporter.java | |
| =================================================================== | |
| --- src/main/java/org/apache/cxf/cwiki/SiteExporter.java (revision 1397571) | |
| +++ src/main/java/org/apache/cxf/cwiki/SiteExporter.java (working copy) | |
| @@ -365,33 +365,37 @@ | |
| doc = getDispatch().invoke(doc); | |
| el = DOMUtils.getFirstElement(DOMUtils.getFirstElement(doc.getDocumentElement())); | |
| while (el != null) { | |
| - String filename = DOMUtils.getChildContent(el, "fileName"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * | |
| * Licensed to the Apache Software Foundation (ASF) under one | |
| * or more contributor license agreements. See the NOTICE file | |
| * distributed with this work for additional information | |
| * regarding copyright ownership. The ASF licenses this file | |
| * to you under the Apache License, Version 2.0 (the | |
| * "License"); you may not use this file except in compliance | |
| * with the License. You may obtain a copy of the License at | |
| * |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <connector ...> | |
| <detect protocols="stomp openwire"/> | |
| </connector> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!-- | |
| Licensed to the Apache Software Foundation (ASF) under one or more | |
| contributor license agreements. See the NOTICE file distributed with | |
| this work for additional information regarding copyright ownership. | |
| The ASF licenses this file to You under the Apache License, Version 2.0 | |
| (the "License"); you may not use this file except in compliance with | |
| the License. You may obtain a copy of the License at | |
| http://www.apache.org/licenses/LICENSE-2.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # ------------------------------------------------------------------------ | |
| # Licensed to the Apache Software Foundation (ASF) under one or more | |
| # contributor license agreements. See the NOTICE file distributed with | |
| # this work for additional information regarding copyright ownership. | |
| # The ASF licenses this file to You under the Apache License, Version 2.0 | |
| # (the "License"); you may not use this file except in compliance with | |
| # the License. You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import org.fusesource.hawtbuf.AsciiBuffer; | |
| import org.fusesource.hawtbuf.Buffer; | |
| import org.fusesource.hawtdispatch.Dispatch; | |
| import org.fusesource.hawtdispatch.Task; | |
| import org.fusesource.hawtdispatch.transport.AbstractProtocolCodec; | |
| import org.fusesource.hawtdispatch.transport.DefaultTransportListener; | |
| import org.fusesource.hawtdispatch.transport.SslTransport; | |
| import javax.net.ssl.SSLContext; | |
| import javax.net.ssl.TrustManager; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ©2012 Viktor Klang | |
| // ©2012 Hiram Chirino | |
| object Actor { | |
| import org.fusesource.hawtdispatch._ | |
| type Behavior = Any => Effect | |
| sealed trait Effect extends (Behavior => Behavior) | |
| case object Stay extends Effect { def apply(old: Behavior): Behavior = old } | |
| case class Become(like: Behavior) extends Effect { def apply(old: Behavior): Behavior = like } | |
| final val Die = Become(msg => { println("Dropping msg [" + msg + "] due to severe case of death."); Stay }) // Stay Dead plz |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Tuple3 { | |
| inline def forEach(fn: Function<Any?,Unit>):Unit = { | |
| fn.invoke(this._1) | |
| fn.invoke(this._2) | |
| fn.invoke(this._3) | |
| } | |
| } |