Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,149 for LENGTH (0.03 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Writer.kt

          val byteCount = hpackBuffer.size
          val length = minOf(maxFrameSize - 4L, byteCount).toInt()
          frameHeader(
            streamId = streamId,
            length = length + 4,
            type = TYPE_PUSH_PROMISE,
            flags = if (byteCount == length.toLong()) FLAG_END_HEADERS else 0,
          )
          sink.writeInt(promisedStreamId and 0x7fffffff)
          sink.write(hpackBuffer, length.toLong())
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParser.java

            final String[] roles = new String[roles1.length + roles2.length];
    
            if (roles1.length > 0) {
                System.arraycopy(roles1, 0, roles, 0, roles1.length);
            }
            if (roles2.length > 0) {
                System.arraycopy(roles2, 0, roles, roles1.length, roles2.length);
            }
    
            final List<SuggestItem> items = new ArrayList<>(fields.length);
            try {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/pac/ASN1Util.java

                throws IOException
        {
            int length = s.read();
            if (0 == (length >>> 7))
            {
                // definite-length short form
                return length;
            }
            if (0x80 == length)
            {
                // indefinite-length
                return -1;
            }
            if (length < 0)
            {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Oct 02 12:02:06 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  4. cmd/erasure-decode_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	if n != length {
    		t.Errorf("erasureCreateFile returned %d, expected %d", n, length)
    	}
    
    	// To generate random offset/length.
    	r := rand.New(rand.NewSource(UTCNow().UnixNano()))
    
    	buf := &bytes.Buffer{}
    
    	// Verify erasure.Decode() for random offsets and lengths.
    	for i := 0; i < iterations; i++ {
    		offset := r.Int63n(length)
    		readLen := r.Int63n(length - offset)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java

                assertEquals(128, crawlingInfoHelper.generateId(value.substring(0, 440)).length());
                assertEquals(128, crawlingInfoHelper.generateId(value.substring(0, 450)).length());
                assertEquals(128, crawlingInfoHelper.generateId(value.substring(0, 460)).length());
                assertEquals(128, crawlingInfoHelper.generateId(value.substring(0, 470)).length());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/DerivedGoogleCollectionGenerators.java

        @Override
        public Entry<K, V>[] createArray(int length) {
          return generator.createArray(length);
        }
    
        @Override
        public Iterable<Entry<K, V>> order(List<Entry<K, V>> insertionOrder) {
          return generator.order(insertionOrder);
        }
    
        @SuppressWarnings("unchecked")
        @Override
        public K[] createKeyArray(int length) {
          return (K[]) new Object[length];
        }
    
        @SuppressWarnings("unchecked")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  7. internal/auth/credentials.go

    // If length <= 0, the access key length is chosen automatically.
    //
    // GenerateAccessKey returns an error if length is too small for a valid
    // access key.
    func GenerateAccessKey(length int, random io.Reader) (string, error) {
    	if random == nil {
    		random = rand.Reader
    	}
    	if length <= 0 {
    		length = accessKeyMaxLen
    	}
    	if length < accessKeyMinLen {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 28 17:14:16 UTC 2024
    - 12K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/PermissionHelper.java

            }
            if (lower.startsWith(userPrefix)) {
                if (permission.length() > userPrefix.length()) {
                    return aclPrefix + systemHelper.getSearchRoleByUser(permission.substring(userPrefix.length()));
                }
                return null;
            }
            if (lower.startsWith(groupPrefix)) {
                if (permission.length() > groupPrefix.length()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/ListGenerators.java

          String[] suffix = {"f", "g"};
          String[] all = new String[elements.length + suffix.length];
          arraycopy(elements, 0, all, 0, elements.length);
          arraycopy(suffix, 0, all, elements.length, suffix.length);
          return ImmutableList.copyOf(all).subList(0, elements.length);
        }
      }
    
      public static class ImmutableListTailSubListGenerator extends TestStringListGenerator {
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/RegularImmutableSortedMultiset.java

        this.elementSet = elementSet;
        this.cumulativeCounts = cumulativeCounts;
        this.offset = offset;
        this.length = length;
      }
    
      private int getCount(int index) {
        return (int) (cumulativeCounts[offset + index + 1] - cumulativeCounts[offset + index]);
      }
    
      @Override
      Entry<E> getEntry(int index) {
        return Multisets.immutableEntry(elementSet.asList().get(index), getCount(index));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top