Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 759 for Count (0.03 sec)

  1. 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)
  2. tests/test_dependency_cache.py

    
    async def super_dep(count: int = Depends(dep_counter)):
        return count
    
    
    @app.get("/counter/")
    async def get_counter(count: int = Depends(dep_counter)):
        return {"counter": count}
    
    
    @app.get("/sub-counter/")
    async def get_sub_counter(
        subcount: int = Depends(super_dep), count: int = Depends(dep_counter)
    ):
        return {"counter": count, "subcounter": subcount}
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 23 13:30:24 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/dcerpc/UUID.java

    import jcifs.smb1.util.*;
    
    public class UUID extends rpc.uuid_t {
    
        public 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': case '4':
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 4.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java

        assertThat(emptyAccumulator.count()).isEqualTo(0);
        assertThat(emptyAccumulatorByAddAllEmptyPairedStats.count()).isEqualTo(0);
        assertThat(oneValueAccumulator.count()).isEqualTo(1);
        assertThat(oneValueAccumulatorByAddAllEmptyPairedStats.count()).isEqualTo(1);
        assertThat(twoValuesAccumulator.count()).isEqualTo(2);
        assertThat(twoValuesAccumulatorByAddAllPartitionedPairedStats.count()).isEqualTo(2);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 03 21:17:33 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/MapMakerInternalMap.java

                V entryValue = e.getValue();
    
                if (entryValue == null) {
                  ++modCount;
                  setValue(e, value);
                  newCount = this.count; // count remains unchanged
                  this.count = newCount; // write-volatile
                  return null;
                } else if (onlyIfAbsent) {
                  // Mimic
                  // "if (!map.containsKey(key)) ...
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/dcerpc/msrpc/netdfs.java

            public int count;
            public DfsInfo1[] s;
    
            public void encode(NdrBuffer _dst) throws NdrException {
                _dst.align(4);
                _dst.enc_ndr_long(count);
                _dst.enc_ndr_referent(s, 1);
    
                if (s != null) {
                    _dst = _dst.deferred;
                    int _ss = count;
                    _dst.enc_ndr_long(_ss);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 15K bytes
    - Viewed (0)
  7. android/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)
  8. src/main/java/jcifs/dcerpc/msrpc/netdfs.idl

    		uint32_t num_stores;
    		[size_is(num_stores)] DfsStorageInfo *stores;
    	} DfsInfo3;
    
    	typedef struct {
    		uint32_t count;
    		[size_is(count)] DfsInfo3 *s;
    	} DfsEnumArray3;
    
    	typedef struct {
    		[string] wchar_t *dfs_name;
    	} DfsInfo200;
    
    	typedef struct {
    		uint32_t count;
    		[size_is(count)] DfsInfo200 *s;
    	} DfsEnumArray200;
    
    	typedef struct {
    		uint32_t flags;
    		[string] wchar_t *dfs_name;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.7K bytes
    - Viewed (0)
  9. android/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
    - 110.6K bytes
    - Viewed (0)
  10. 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)
Back to top