Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 1,378 for while (0.03 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/ws/MessageInflater.kt

        // We cannot read all, as the source does not close.
        // Instead, we ensure that all bytes from source have been processed by inflater.
        do {
          inflaterSource.readOrInflate(buffer, Long.MAX_VALUE)
        } while (inflater.bytesRead < totalBytesToRead && !inflater.finished())
      }
    
      @Throws(IOException::class)
      override fun close() = inflaterSource.close()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelSourceTransformer.java

     * under the License.
     */
    package org.apache.maven.model.building;
    
    import java.nio.file.Path;
    
    import org.apache.maven.model.Model;
    
    /**
     * The ModelSourceTransformer is a way to transform the local pom while streaming the input.
     *
     * The {@link #transform(Path, TransformerContext, Model)} method uses a Path on purpose, to ensure the
     * local pom is the original source.
     *
     * @since 4.0.0
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/dcerpc/DcerpcException.java

    public class DcerpcException extends IOException implements DcerpcError, WinError {
    
        static String getMessageByDcerpcError(int errcode) {
            int min = 0;
            int max = DCERPC_FAULT_CODES.length;
    
            while (max >= min) {
                int mid = (min + max) / 2;
    
                if (errcode > DCERPC_FAULT_CODES[mid]) {
                    min = mid + 1;
                } else if (errcode < DCERPC_FAULT_CODES[mid]) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.4K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataRetrievalException.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.repository.metadata;
    
    /**
     * Error while retrieving repository metadata from the repository.
     *
     */
    @Deprecated
    public class MetadataRetrievalException extends Exception {
    
        private ArtifactMetadata artifact;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

                            if (artifact.getDependencyTrail() != null
                                    && artifact.getDependencyTrail().size() == 1) {
                                logger.warn(
                                        "While downloading {}:{}:{}{}",
                                        pomArtifact.getGroupId(),
                                        pomArtifact.getArtifactId(),
                                        pomArtifact.getVersion(),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  6. okcurl/src/main/kotlin/okhttp3/curl/internal/-MainCommon.kt

          }
          println()
        }
    
        // Stream the response to the System.out as it is returned from the server.
        val out = System.out.sink()
        val source = response.body.source()
        while (!source.exhausted()) {
          out.write(source.buffer, source.buffer.size)
          out.flush()
        }
    
        response.body.close()
      } catch (e: IOException) {
        e.printStackTrace()
      } finally {
        close()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/TestDohMain.kt

          print("$host: ")
          System.out.flush()
          try {
            val results = dns.lookup(host)
            println(results)
          } catch (uhe: UnknownHostException) {
            var e: Throwable? = uhe
            while (e != null) {
              println(e)
              e = e.cause
            }
          }
        }
        println()
      }
      time = System.currentTimeMillis() - time
      println("Time: ${time.toDouble() / 1000} seconds\n")
    }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/collect/MultisetIteratorBenchmark.java

        treeMultiset = TreeMultiset.create();
    
        Random random = new Random();
    
        int sizeRemaining = size;
    
        // TODO(kevinb): generate better test contents for multisets
        while (sizeRemaining > 0) {
          // The JVM will return interned values for small ints.
          Integer value = random.nextInt(1000) + 128;
          int count = min(random.nextInt(10) + 1, sizeRemaining);
          sizeRemaining -= count;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. guava-tests/benchmark/com/google/common/collect/MultisetIteratorBenchmark.java

        treeMultiset = TreeMultiset.create();
    
        Random random = new Random();
    
        int sizeRemaining = size;
    
        // TODO(kevinb): generate better test contents for multisets
        while (sizeRemaining > 0) {
          // The JVM will return interned values for small ints.
          Integer value = random.nextInt(1000) + 128;
          int count = min(random.nextInt(10) + 1, sizeRemaining);
          sizeRemaining -= count;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. docs/bucket/replication/test_del_marker_proxying.sh

    ./mc version enable siteb/bucket
    
    # Set bucket replication
    ./mc replicate add sitea/bucket --remote-bucket siteb/bucket
    
    # Run the test to make sure proxying of DEL marker doesn't happen
    loop_count=0
    while true; do
    	if [ $loop_count -eq 1000 ]; then
    		break
    	fi
    	echo "Hello World" | ./mc pipe sitea/bucket/obj$loop_count
    	./mc rm sitea/bucket/obj$loop_count
    	RESULT=$({ ./mc stat --no-list sitea/bucket/obj$loop_count; } 2>&1)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top