Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1161 - 1170 of 1,922 for LENGTH (0.05 seconds)

  1. android/guava-tests/benchmark/com/google/common/hash/MessageDigestAlgorithmBenchmark.java

    /**
     * Benchmarks for comparing {@link MessageDigest}s and {@link com.google.common.hash.HashFunction}s
     * that wrap {@link MessageDigest}s.
     *
     * <p>Parameters for the benchmark are:
     *
     * <ul>
     *   <li>size: The length of the byte array to hash.
     *   <li>algorithm: the algorithm to hash with (e.g. MD5, SHA1, etc.).
     *   <li>hashMethod: how to hash the data (using the Hashing API or the MessageDigest API).
     * </ul>
     *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  2. impl/maven-core/src/test/java/org/apache/maven/configuration/DefaultBeanConfiguratorPathTest.java

            BeanConfigurationValuePreprocessor preprocessor = (value, type) -> {
                if (value != null && value.startsWith("${") && value.endsWith("}")) {
                    return value.substring(2, value.length() - 1);
                }
                return value;
            };
    
            BeanConfigurationPathTranslator translator = path -> new File("base", path.getPath()).getAbsoluteFile();
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  3. compat/maven-embedder/src/main/java/org/apache/maven/cli/CleanArgument.java

                    // if this is the case of "-Dfoo=bar", then we need to adjust the buffer.
                    if (!currentArg.isEmpty()) {
                        currentArg.setLength(currentArg.length() - 1);
                    }
    
                    cleaned.add(currentArg.toString());
    
                    currentArg = null;
                    continue;
                }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 28 12:11:25 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  4. buildscripts/test-timeout.sh

    function gen_put_request() {
    	hdr_sleep=$1
    	body_sleep=$2
    
    	echo "PUT /testbucket/testobject HTTP/1.1"
    	sleep $hdr_sleep
    	echo "Host: foo-header"
    	echo "User-Agent: curl/8.2.1"
    	echo "Accept: */*"
    	echo "Content-Length: 30"
    	echo ""
    
    	sleep $body_sleep
    	echo "random line 0"
    	echo "random line 1"
    	echo ""
    	echo ""
    }
    
    function send_put_object_request() {
    	hdr_timeout=$1
    	body_timeout=$2
    
    	start=$(date +%s)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Dec 02 13:21:17 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  5. cmd/notification.go

    func (sys *NotificationSys) SpeedTest(ctx context.Context, sopts speedTestOpts) []SpeedTestResult {
    	length := len(sys.allPeerClients)
    	if length == 0 {
    		// For single node erasure setup.
    		length = 1
    	}
    	results := make([]SpeedTestResult, length)
    
    	scheme := "http"
    	if globalIsTLS {
    		scheme = "https"
    	}
    
    	var wg sync.WaitGroup
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 46K bytes
    - Click Count (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategy.java

                String[] minParts = cleanMin.split("\\.");
    
                int maxLength = Math.max(currentParts.length, minParts.length);
    
                for (int i = 0; i < maxLength; i++) {
                    int currentPart = i < currentParts.length ? Integer.parseInt(currentParts[i]) : 0;
                    int minPart = i < minParts.length ? Integer.parseInt(minParts[i]) : 0;
    
                    if (currentPart < minPart) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 37K bytes
    - Click Count (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/container/CrawlerContainer.java

                buf.append("org.codelibs.fess.net.protocol");
            } else if (!value.contains("org.codelibs.fess.net.protocol")) {
                buf.append("|org.codelibs.fess.net.protocol");
            }
            if (buf.length() > 0) {
                System.setProperty("java.protocol.handler.pkgs", buf.toString());
            }
        }
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sat Mar 15 06:52:00 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CompressionInterceptor.kt

        val decompressedSource = algorithm.decompress(body.source()).buffer()
    
        return response
          .newBuilder()
          .removeHeader("Content-Encoding")
          .removeHeader("Content-Length")
          .body(decompressedSource.asResponseBody(body.contentType(), -1))
          .build()
      }
    
      internal fun lookupDecompressor(encoding: String): DecompressionAlgorithm? =
        algorithms.find {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Oct 07 15:15:28 GMT 2025
    - 2.9K bytes
    - Click Count (1)
  9. src/main/java/jcifs/smb1/smb1/TransTransactNamedPipe.java

        @Override
        int writeParametersWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        int writeDataWireFormat(final byte[] dst, final int dstIndex) {
            if (dst.length - dstIndex < pipeDataLen) {
                if (LogStream.level >= 3) {
                    log.println("TransTransactNamedPipe data too long for buffer");
                }
                return 0;
            }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  10. samples/compare/src/test/kotlin/okhttp3/compare/JavaHttpClientTest.kt

        assertThat(recorded.headers["Connection"]).isEqualTo("Upgrade, HTTP2-Settings")
        if (PlatformVersion.majorVersion < 19) {
          assertThat(recorded.headers["Content-Length"]).isEqualTo("0")
        }
        assertThat(recorded.headers["HTTP2-Settings"]).isNotNull()
        assertThat(recorded.headers["Upgrade"]).isEqualTo("h2c") // HTTP/2 over plaintext!
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Jun 18 12:28:21 GMT 2025
    - 2.8K bytes
    - Click Count (0)
Back to Top