Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 678 for counts (0.09 sec)

  1. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        // no entry
        assertEquals(0, segment.count);
        assertNull(segment.remove(key, hash));
        assertEquals(0, segment.count);
    
        // same key
        table.set(index, entry);
        segment.count++;
        assertEquals(1, segment.count);
        assertSame(oldValue, segment.get(key, hash));
        assertSame(oldValue, segment.remove(key, hash));
        assertEquals(0, segment.count);
        assertNull(segment.get(key, hash));
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ForwardingMultiset.java

      public int setCount(@ParametricNullness E element, int count) {
        return delegate().setCount(element, count);
      }
    
      @CanIgnoreReturnValue
      @Override
      public boolean setCount(@ParametricNullness E element, int oldCount, int newCount) {
        return delegate().setCount(element, oldCount, newCount);
      }
    
      /**
       * A sensible definition of {@link #contains} in terms of {@link #count}. If you override {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/math/PairedStatsAccumulator.java

                      * values.count();
        }
        yStats.addAll(values.yStats());
      }
    
      /** Returns an immutable snapshot of the current statistics. */
      public PairedStats snapshot() {
        return new PairedStats(xStats.snapshot(), yStats.snapshot(), sumOfProductsOfDeltas);
      }
    
      /** Returns the number of pairs in the dataset. */
      public long count() {
        return xStats.count();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/dcerpc/UUID.java

     *
     */
    public class UUID extends rpc.uuid_t {
    
        private static int hex_to_bin ( char[] arr, int offset, int length ) {
            int value = 0;
            int ai, count;
    
            count = 0;
            for ( ai = offset; ai < arr.length && count < length; ai++ ) {
                value <<= 4;
                switch ( arr[ ai ] ) {
                case '0':
                case '1':
                case '2':
                case '3':
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.6K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t02/ProjectInheritanceTest.java

                    testPlugin = plugin;
                }
    
                Integer count = validPluginCounts.get(pluginArtifactId);
    
                assertEquals(0, (int) count, "Multiple copies of plugin: " + pluginArtifactId + " found in POM.");
    
                count = count + 1;
    
                validPluginCounts.put(pluginArtifactId, count);
            }
    
            assertNotNull(testPlugin);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/AbstractMultiset.java

        throw new UnsupportedOperationException();
      }
    
      @CanIgnoreReturnValue
      @Override
      public int setCount(@ParametricNullness E element, int count) {
        return setCountImpl(this, element, count);
      }
    
      @CanIgnoreReturnValue
      @Override
      public boolean setCount(@ParametricNullness E element, int oldCount, int newCount) {
        return setCountImpl(this, element, oldCount, newCount);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 01 22:07:10 UTC 2021
    - 6K bytes
    - Viewed (0)
  7. CHANGELOG/CHANGELOG-1.31.md

    - Kubelet now hard rejects pods with AppArmor if the node does not have AppArmor. ([#125776](https://github.com/kubernetes/kubernetes/pull/125776), [@vinayakankugoyal](https://github.com/vinayakankugoyal))
    - Mount-utils: treated syscall.ENODEV as corrupted mount. ([#126174](https://github.com/kubernetes/kubernetes/pull/126174), [@dobsonj](https://github.com/dobsonj))
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Wed Oct 23 12:18:32 UTC 2024
    - 315.4K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/expr_test.go

    	{"3%0", "modulo by zero"},
    	{"(1<<63)%0", "modulo of value with high bit set"},
    	{"3<<-4", "negative left shift count"},
    	{"3<<(1<<63)", "negative left shift count"},
    	{"3>>-4", "negative right shift count"},
    	{"3>>(1<<63)", "negative right shift count"},
    	{"(1<<63)>>2", "right shift of value with high bit set"},
    	{"(1<<62)>>2", ""},
    	{`'\x80'`, "illegal UTF-8 encoding for character constant"},
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Aug 29 07:48:38 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/msrpc/netdfs.java

            public int count;
            public DfsInfo1[] s;
    
    
            @Override
            public void encode ( NdrBuffer _dst ) throws NdrException {
                _dst.align(4);
                _dst.enc_ndr_long(this.count);
                _dst.enc_ndr_referent(this.s, 1);
    
                if ( this.s != null ) {
                    _dst = _dst.deferred;
                    int _ss = this.count;
                    _dst.enc_ndr_long(_ss);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:40:13 UTC 2019
    - 16.4K bytes
    - Viewed (0)
  10. cmd/erasure-healing-common.go

    	}
    
    	maxima = 0 // Counter for remembering max occurrence of elements.
    	latest := int64(0)
    
    	// Find the common cardinality from previously collected
    	// occurrences of elements.
    	for nano, count := range timeOccurrenceMap {
    		if count < maxima {
    			continue
    		}
    
    		// We are at or above maxima
    		if count > maxima || nano > latest {
    			maxima = count
    			latest = nano
    		}
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top