Search Options

Results per page
Sort
Preferred Languages
Advance

Results 521 - 530 of 894 for _count (0.04 sec)

  1. android/guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java

          return Multisets.linearTimeSizeImpl(this);
        }
    
        @Override
        public void clear() {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public int count(@Nullable Object element) {
          for (Entry<E> entry : entrySet()) {
            if (Objects.equals(entry.getElement(), element)) {
              return entry.getCount();
            }
          }
          return 0;
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java

            assertEquals(testString.length() + 1, Encdec.dec_uint32le(buffer, 0)); // Actual count
            assertEquals(0, Encdec.dec_uint32le(buffer, 4)); // Offset
            assertEquals(testString.length() + 1, Encdec.dec_uint32le(buffer, 8)); // Max count
    
            ndrBuffer.setIndex(0);
            String decodedString = ndrBuffer.dec_ndr_string();
            assertEquals(testString, decodedString);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/compression/CompressionNegotiateContextTest.java

        @DisplayName("Test context encoding")
        public void testEncoding() {
            byte[] buffer = new byte[256];
            int encodedSize = context.encode(buffer, 0);
    
            assertTrue(encodedSize > 8); // Minimum size: count + padding + flags + algorithms
            assertEquals(context.size(), encodedSize);
        }
    
        @Test
        @DisplayName("Test context decoding")
        public void testDecoding() throws SMBProtocolDecodingException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. cmd/batch-expire_test.go

        token: Bearer xxxxx # optional authentication token for the notification endpoint
      
      retry:
        attempts: 10 # number of retries for the job before giving up
        delay: 500ms # least amount of delay between each retry
    `
    	var job BatchJobRequest
    	err := yaml.Unmarshal([]byte(expireYaml), &job)
    	if err != nil {
    		t.Fatal("Failed to parse batch-job-expire yaml", err)
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

            final int negotiateContextCount = SMBUtil.readInt2(buffer, bufferIndex + 2);
    
            // Validate negotiate context count - prevent excessive memory allocation
            if (negotiateContextCount < 0 || negotiateContextCount > 100) {
                throw new SMBProtocolDecodingException("Invalid negotiate context count: " + negotiateContextCount + " (must be 0-100)");
            }
    
            bufferIndex += 4;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  6. CHANGELOG/CHANGELOG-1.14.md

    - Fixed scanning of failed iSCSI targets. ([#74306](https://github.com/kubernetes/kubernetes/pull/74306), [@jsafrane](https://github.com/jsafrane))
    - StorageOS volume plugin updated to fix an issue where volume mount succeeds even if request to mount via StorageOS API fails. ([#69782](https://github.com/kubernetes/kubernetes/pull/69782), [@darkowlzz](https://github.com/darkowlzz))
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Mon Jun 14 22:06:39 UTC 2021
    - 271.5K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt

          private fun clearDynamicTable() {
            dynamicTable.fill(null)
            nextHeaderIndex = dynamicTable.size - 1
            headerCount = 0
            dynamicTableByteCount = 0
          }
    
          /** Returns the count of entries evicted. */
          private fun evictToRecoverBytes(bytesToRecover: Int): Int {
            var bytesToRecover = bytesToRecover
            var entriesToEvict = 0
            if (bytesToRecover > 0) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  8. cmd/endpoint.go

    	Platform     string
    }
    
    // EndpointServerPools - list of list of endpoints
    type EndpointServerPools []PoolEndpoints
    
    // ESCount returns the total number of erasure sets in this cluster
    func (l EndpointServerPools) ESCount() (count int) {
    	for _, p := range l {
    		count += p.SetCount
    	}
    	return
    }
    
    // GetNodes returns a sorted list of nodes in this cluster
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 34.4K bytes
    - Viewed (0)
  9. cmd/sts-handlers_test.go

    	// Create svc acc
    	cr := c.mustCreateSvcAccount(ctx, value.AccessKeyID, userAdmClient)
    
    	// 1. Check that svc account appears in listing
    	c.assertSvcAccAppearsInListing(ctx, userAdmClient, value.AccessKeyID, cr.AccessKey)
    
    	// 2. Check that svc account info can be queried
    	c.assertSvcAccInfoQueryable(ctx, userAdmClient, value.AccessKeyID, cr.AccessKey, true)
    
    	// 3. Check S3 access
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 100.2K bytes
    - Viewed (1)
  10. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerWriter.kt

        }
    
        // Write the length. This takes 1 byte if length is less than 128.
        val length = content.size
        if (length < 128) {
          sink.writeByte(length.toInt())
        } else {
          // count how many bytes we'll need to express the length.
          val lengthBitCount = 64 - java.lang.Long.numberOfLeadingZeros(length)
          val lengthByteCount = (lengthBitCount + 7) / 8
          sink.writeByte(0b1000_0000 or lengthByteCount)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 5.7K bytes
    - Viewed (0)
Back to top