Search Options

Results per page
Sort
Preferred Languages
Advance

Results 461 - 470 of 700 for counts (0.03 sec)

  1. guava/src/com/google/common/io/CharSource.java

        } finally {
          closer.close();
        }
      }
    
      private long countBySkipping(Reader reader) throws IOException {
        long count = 0;
        long read;
        while ((read = reader.skip(Long.MAX_VALUE)) != 0) {
          count += read;
        }
        return count;
      }
    
      /**
       * Appends the contents of this source to the given {@link Appendable} (such as a {@link Writer}).
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/util/MemoryUtil.java

            return "Mem:{used " + byteCountToDisplaySize(usedBytes) + ", heap " + byteCountToDisplaySize(totalBytes) + ", max "
                    + byteCountToDisplaySize(maxBytes) + "}";
        }
    
        /**
         * Converts byte count to human-readable size format.
         *
         * @param size the size in bytes
         * @return formatted size string
         */
        public static String byteCountToDisplaySize(final long size) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  3. 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)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XPathAPI.java

     * NodeList nodes = xPathAPI.selectNodeList(contextNode, "//example");
     * Node singleNode = xPathAPI.selectSingleNode(contextNode, "//example[1]");
     * XPathEvaluationResult<?> result = xPathAPI.eval(contextNode, "count(//example)");
     * }
     * </pre>
     *
     * <p>Note: This class is not thread-safe. Each thread should create its own instance of XPathAPI.</p>
     *
     * @see javax.xml.xpath.XPath
     * @see javax.xml.xpath.XPathFactory
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  5. cmd/xl-storage-format-v2_test.go

    	count := len(testCases)
    	for i := 4; i < len(testCases); i++ {
    		tc := testCases[i]
    		dataDir, err := xl.DeleteVersion(fileInfos[i])
    		failOnErr(count+1, err)
    		if dataDir != tc.expectedDataDir {
    			t.Fatalf("Expected %s but got %s", tc.expectedDataDir, dataDir)
    		}
    		count++
    	}
    }
    
    func Benchmark_mergeXLV2Versions(b *testing.B) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 37.8K bytes
    - Viewed (0)
  6. 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)
  7. src/test/java/jcifs/util/StringsTest.java

                assertThrows(ArrayIndexOutOfBoundsException.class, () -> {
                    Strings.findUNITermination(bufferWithoutTermination, 0, bufferWithoutTermination.length);
                }, "Should throw ArrayIndexOutOfBoundsException when termination not found within bounds");
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.11.md

    * Fixes spurious 0-length API responses. ([#72856](https://github.com/kubernetes/kubernetes/pull/72856), [@liggitt](https://github.com/liggitt))
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Thu Feb 06 06:04:15 UTC 2020
    - 328.4K bytes
    - Viewed (0)
  9. 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)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/ChecksumAlgorithmService.java

        /**
         * Returns a collection of {@link ChecksumAlgorithm} in same order as algorithm names are ordered, or throws if
         * any of the algorithm name is not supported. The returned collection has equal count of elements as passed in
         * collection of names, and if names contains duplicated elements, the returned list of algorithms will have
         * duplicates as well.
         *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 10 20:52:34 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top