Search Options

Results per page
Sort
Preferred Languages
Advance

Results 651 - 660 of 1,875 for length (0.12 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/HeadersTest.kt

            .Builder()
            .add("content-length", "99")
            .add("authorization", "peanutbutter")
            .add("proxy-authorization", "chocolate")
            .add("cookie", "drink=coffee")
            .add("set-cookie", "accessory=sugar")
            .add("user-agent", "OkHttp")
            .build()
        assertThat(headers.toString()).isEqualTo(
          """
          |content-length: 99
          |authorization: ██
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CertificatePinner.kt

            pattern.startsWith("**.") -> {
              // With ** empty prefixes match so exclude the dot from regionMatches().
              val suffixLength = pattern.length - 3
              val prefixLength = hostname.length - suffixLength
              hostname.regionMatches(hostname.length - suffixLength, pattern, 3, suffixLength) &&
                (prefixLength == 0 || hostname[prefixLength - 1] == '.')
            }
            pattern.startsWith("*.") -> {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 14.1K bytes
    - Viewed (1)
  3. guava/src/com/google/common/io/CharStreams.java

        public void write(char[] cbuf, int off, int len) {
          checkPositionIndexes(off, off + len, cbuf.length);
        }
    
        @Override
        public void write(String str) {
          checkNotNull(str);
        }
    
        @Override
        public void write(String str, int off, int len) {
          checkPositionIndexes(off, off + len, str.length());
        }
    
        @Override
        public Writer append(@Nullable CharSequence csq) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 30 17:25:01 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java

            serverData.encryptionKeyLength = 8;
            response.flags2 = ServerMessageBlock.FLAGS2_UNICODE;
            byte[] domainNameBytes = "DOMAIN_U".getBytes("UTF-16LE");
            response.byteCount = 8 + domainNameBytes.length + 2; // key + domain + null terminator
    
            // Prepare byte array
            byte[] encryptionKey = "12345678".getBytes();
            ByteBuffer buffer = ByteBuffer.allocate(response.byteCount);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/reflect/Types.java

          Type[] lowerBounds = wildcard.getLowerBounds();
          checkArgument(lowerBounds.length <= 1, "Wildcard cannot have more than one lower bounds.");
          if (lowerBounds.length == 1) {
            return supertypeOf(newArrayType(lowerBounds[0]));
          } else {
            Type[] upperBounds = wildcard.getUpperBounds();
            checkArgument(upperBounds.length == 1, "Wildcard should have only one upper bound.");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/plugin/DeleteForm.java

        }
    
        /**
         * The name of the plugin to delete.
         * Required field with maximum length of 100 characters.
         */
        @Required
        @Size(max = 100)
        public String name;
    
        /**
         * The version of the plugin to delete.
         * Optional field with maximum length of 100 characters.
         */
        @Size(max = 100)
        public String version;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/msrpc/MsrpcLsarOpenPolicy2Test.java

            assertEquals(24, msrpcLsarOpenPolicy2.object_attributes.length);
    
            // Assert security_quality_of_service fields
            assertNotNull(msrpcLsarOpenPolicy2.object_attributes.security_quality_of_service);
            lsarpc.LsarQosInfo qos = msrpcLsarOpenPolicy2.object_attributes.security_quality_of_service;
            assertEquals(12, qos.length);
            assertEquals(2, qos.impersonation_level);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponseTest.java

            writeInt4(1000, buffer, 8); // alloc
            writeInt4(500, buffer, 12); // free
            writeInt2(512, buffer, 16); // bytesPerSect
    
            int bytesRead = response.readDataWireFormat(buffer, 0, buffer.length);
    
            assertEquals(20, bytesRead, "Should read 20 bytes");
            assertNotNull(response.info, "Info object should not be null");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/EnumBiMapTest.java

        public Entry<Country, Currency>[] createArray(int length) {
          return (Entry<Country, Currency>[]) new Entry<?, ?>[length];
        }
    
        @Override
        public Iterable<Entry<Country, Currency>> order(List<Entry<Country, Currency>> insertionOrder) {
          return orderEntriesByKey(insertionOrder);
        }
    
        @Override
        public Country[] createKeyArray(int length) {
          return new Country[length];
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/curl/io/ContentCacheTest.java

            byte[] data = new byte[1024 * 1024];
            for (int i = 0; i < data.length; i++) {
                data[i] = (byte) (i % 256);
            }
    
            ContentCache cache = new ContentCache(data);
    
            try (InputStream stream = cache.getInputStream()) {
                assertNotNull(stream);
                byte[] buffer = new byte[data.length];
                int totalBytesRead = 0;
                int bytesRead;
    
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 10.3K bytes
    - Viewed (0)
Back to top