Search Options

Results per page
Sort
Preferred Languages
Advance

Results 491 - 500 of 894 for _count (0.15 sec)

  1. guava-tests/benchmark/com/google/common/primitives/UnsignedLongsBenchmark.java

        }
        return tmp;
      }
    
      @Benchmark
      long parseUnsignedLong(int reps) {
        long tmp = 0;
        // Given that we make three calls per pass, we scale reps down in order
        // to do a comparable amount of work to other measurements.
        int scaledReps = reps / 3 + 1;
        for (int i = 0; i < scaledReps; i++) {
          int j = i & ARRAY_MASK;
          tmp += UnsignedLongs.parseUnsignedLong(decimalStrings[j]);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. cmd/erasure-multipart.go

    		for partNum, cnt := range partsWithMetaCount {
    			if cnt < 2 {
    				continue
    			}
    			partQuorumMap[partNum]++
    		}
    	}
    
    	var partNums []int
    	for partNum, count := range partQuorumMap {
    		if count < readQuorum {
    			continue
    		}
    		partNums = append(partNums, partNum)
    	}
    
    	sort.Ints(partNums)
    	return partNums, nil
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 47.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

        ImmutableIntArray.of().forEach(i -> fail());
        ImmutableIntArray.of(0, 1, 3).subArray(1, 1).forEach(i -> fail());
    
        AtomicInteger count = new AtomicInteger(0);
        ImmutableIntArray.of(0, 1, 2, 3).forEach(i -> assertThat(i).isEqualTo(count.getAndIncrement()));
        assertThat(count.get()).isEqualTo(4);
      }
    
      public void testStream() {
        ImmutableIntArray.of().stream().forEach(i -> fail());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/dict/DictionaryFile.java

                return parent.subList(fromIndex, toIndex);
            }
    
            /**
             * Returns the total number of records across all pages.
             *
             * @return the total record count
             */
            public int getAllRecordCount() {
                return allRecordCount;
            }
    
            /**
             * Returns the page size (number of records per page).
             *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java

            securityDescriptorBytes[22] = 8; // ACL size (low byte)
            securityDescriptorBytes[23] = 0; // ACL size (high byte)
            securityDescriptorBytes[24] = 0; // ACE count (low byte) - 0 ACEs
            securityDescriptorBytes[25] = 0; // ACE count (high byte)
            securityDescriptorBytes[26] = 0; // sbz2 (low byte)
            securityDescriptorBytes[27] = 0; // sbz2 (high byte)
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java

            assertEquals(0x00, dst3[6]);
        }
    
        @Test
        @DisplayName("Test setup count initialization")
        void testSetupCountInitialization() {
            notifyChange = new NtTransNotifyChange(mockConfig, 0x1234, FILE_NOTIFY_CHANGE_FILE_NAME, false);
    
            // The setup count should be initialized to 0x04 in the constructor
            // We can't directly access it, but we can verify the behavior is correct
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ImmutableListTest.java

          }
        }
      }
    
      private static class CountingIterable implements Iterable<String> {
        int count = 0;
    
        @Override
        public Iterator<String> iterator() {
          count++;
          return asList("a", "b", "a").iterator();
        }
      }
    
      public void testCopyOf_plainIterable() {
        CountingIterable iterable = new CountingIterable();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/graph/DirectedMultiNetworkConnections.java

      }
    
      @Override
      public Set<E> edgesConnecting(N node) {
        return new MultiEdgesConnecting<E>(outEdgeMap, node) {
          @Override
          public int size() {
            return successorsMultiset().count(node);
          }
        };
      }
    
      @Override
      public N removeInEdge(E edge, boolean isSelfLoop) {
        N node = super.removeInEdge(edge, isSelfLoop);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/graph/DirectedMultiNetworkConnections.java

      }
    
      @Override
      public Set<E> edgesConnecting(N node) {
        return new MultiEdgesConnecting<E>(outEdgeMap, node) {
          @Override
          public int size() {
            return successorsMultiset().count(node);
          }
        };
      }
    
      @Override
      public N removeInEdge(E edge, boolean isSelfLoop) {
        N node = super.removeInEdge(edge, isSelfLoop);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java

            E lowerBound, BoundType lowerBoundType, E upperBound, BoundType upperBoundType) {
          return standardSubMultiset(lowerBound, lowerBoundType, upperBound, upperBoundType);
        }
    
        @Override
        public int count(@Nullable Object element) {
          return standardCount(element);
        }
    
        @Override
        public boolean equals(@Nullable Object object) {
          return standardEquals(object);
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.5K bytes
    - Viewed (0)
Back to top