Search Options

Results per page
Sort
Preferred Languages
Advance

Results 801 - 810 of 1,615 for LENGTH (0.05 sec)

  1. cmd/postpolicyform.go

    func isString(val interface{}) bool {
    	_, ok := val.(string)
    	return ok
    }
    
    // ContentLengthRange - policy content-length-range field.
    type contentLengthRange struct {
    	Min   int64
    	Max   int64
    	Valid bool // If content-length-range was part of policy
    }
    
    // PostPolicyForm provides strict static type conversion and validation for Amazon S3's POST policy JSON string.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java

                    // Remove comments
                    final String replacedLine = line.replaceAll("#.*$", StringUtil.EMPTY).trim();
    
                    // Skip empty lines or comment lines
                    if (replacedLine.length() == 0) {
                        if (updater != null) {
                            updater.write(line);
                        }
                        continue;
                    }
    
                    String[] inputs;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/netbios/UniAddress.java

            if ( Character.isDigit(hostname.charAt(0)) ) {
                int i, len, dots;
                char[] data;
    
                i = dots = 0; /* quick IP address validation */
                len = hostname.length();
                data = hostname.toCharArray();
                while ( i < len && Character.isDigit(data[ i++ ]) ) {
                    if ( i == len && dots == 3 ) {
                        // probably an IP address
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.3K bytes
    - Viewed (0)
  4. internal/store/batch_test.go

    	}
    	if err := batch.Add(testItem); err != nil {
    		t.Fatalf("unable to add to the batch; %v", err)
    	}
    	batchLen = batch.Len()
    	if batchLen != 1 {
    		t.Fatalf("expected batch length to be 1 but got %v", batchLen)
    	}
    	keys = store.List()
    	if len(keys) != 1 {
    		t.Fatalf("expected len(store.List())=1; but got %v", len(keys))
    	}
    	key := keys[0]
    	if !key.Compress {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. mockwebserver/src/main/kotlin/mockwebserver3/MockResponseBody.kt

     *
     * Unlike [okhttp3.ResponseBody], this interface is designed to be implemented by writers and not
     * called by readers.
     */
    @ExperimentalOkHttpApi
    interface MockResponseBody {
      /** The length of this response in bytes, or -1 if unknown. */
      val contentLength: Long
    
      @Throws(IOException::class)
      fun writeTo(sink: BufferedSink)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/CharMatcherTest.java

        assertEquals(1, matcher.indexIn(s, 1));
        assertEquals(-1, matcher.indexIn(s, s.length()));
        assertEquals(s.length() - 1, matcher.lastIndexIn(s));
        assertTrue(matcher.matchesAnyOf(s));
        assertTrue(matcher.matchesAllOf(s));
        assertFalse(matcher.matchesNoneOf(s));
        assertEquals("", matcher.removeFrom(s));
        assertEquals(Strings.repeat("z", s.length()), matcher.replaceFrom(s, 'z'));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 18:32:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/CallTest.kt

        assertThat(recordedRequest.body.size).isEqualTo(0)
        assertThat(recordedRequest.headers["Content-Length"]).isNull()
      }
    
      @Test
      fun headResponseContentLengthIsIgnored() {
        server.enqueue(
          MockResponse.Builder()
            .clearHeaders()
            .addHeader("Content-Length", "100")
            .build(),
        )
        server.enqueue(
          MockResponse(body = "abc"),
        )
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  8. samples/guide/src/main/java/okhttp3/recipes/CustomCipherSuites.java

            TrustManagerFactory.getDefaultAlgorithm());
        trustManagerFactory.init((KeyStore) null);
        TrustManager[] trustManagers = trustManagerFactory.getTrustManagers();
        if (trustManagers.length != 1 || !(trustManagers[0] instanceof X509TrustManager)) {
          throw new IllegalStateException("Unexpected default trust managers:"
              + Arrays.toString(trustManagers));
        }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Mar 14 21:57:42 UTC 2019
    - 6.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/HashBiMap.java

        return Maps.keyOrNull(oldEntryForValue);
      }
    
      private void rehashIfNecessary() {
        @Nullable BiEntry<K, V>[] oldKToV = hashTableKToV;
        if (Hashing.needsResizing(size, oldKToV.length, LOAD_FACTOR)) {
          int newTableSize = oldKToV.length * 2;
    
          this.hashTableKToV = createTable(newTableSize);
          this.hashTableVToK = createTable(newTableSize);
          this.mask = newTableSize - 1;
          this.size = 0;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 24.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/math/IntMathTest.java

        for (int i = 0; i < IntMath.halfPowersOf10.length; i++) {
          assertEquals(
              IntMath.halfPowersOf10[i],
              min(
                  Integer.MAX_VALUE,
                  BigIntegerMath.sqrt(BigInteger.TEN.pow(2 * i + 1), FLOOR).longValue()));
        }
      }
    
      public void testConstantsBiggestBinomials() {
        for (int k = 0; k < IntMath.biggestBinomials.length; k++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 23.1K bytes
    - Viewed (0)
Back to top