Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 127 for set_count (0.11 sec)

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

      }
    
      public void testBuilderSetCount() {
        ImmutableSortedMultiset<String> multiset =
            ImmutableSortedMultiset.<String>naturalOrder()
                .add("a")
                .setCount("a", 2)
                .setCount("b", 3)
                .build();
        assertEquals(HashMultiset.create(asList("a", "a", "b", "b", "b")), multiset);
      }
    
      public void testBuilderAddHandlesNullsCorrectly() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  2. docs/distributed/decom.sh

    ## mirror again to create another set of version on top
    ./mc mirror internal myminio/versioned/ --quiet >/dev/null
    
    expected_checksum=$(./mc cat internal/dsync/drwmutex.go | md5sum)
    
    user_count=$(./mc admin user list myminio/ | wc -l)
    policy_count=$(./mc admin policy list myminio/ | wc -l)
    
    ## create a warm tier instance
    (minio server /tmp/xltier/{1...4}/disk{0...1} --address :9002 2>&1 >/dev/null) &
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. docs/distributed/decom-encrypted-sse-s3.sh

    ## mirror again to create another set of version on top
    ./mc mirror internal myminio/versioned/ --quiet >/dev/null
    
    expected_checksum=$(./mc cat internal/dsync/drwmutex.go | md5sum)
    
    user_count=$(./mc admin user list myminio/ | wc -l)
    policy_count=$(./mc admin policy list myminio/ | wc -l)
    
    kill $pid
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        LocalCache<Object, Object> map = makeLocalCache(createCacheBuilder());
        assertEquals(0, loader.getCount());
    
        Object key = new Object();
        Object value = map.get(key, loader);
        assertEquals(1, loader.getCount());
        assertEquals(value, map.get(key, loader));
        assertEquals(1, loader.getCount());
      }
    
      public void testRecordReadOnCompute() throws ExecutionException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        LocalCache<Object, Object> map = makeLocalCache(createCacheBuilder());
        assertEquals(0, loader.getCount());
    
        Object key = new Object();
        Object value = map.get(key, loader);
        assertEquals(1, loader.getCount());
        assertEquals(value, map.get(key, loader));
        assertEquals(1, loader.getCount());
      }
    
      public void testRecordReadOnCompute() throws ExecutionException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java

        when(backingMap.remove(KEY, current)).thenReturn(true);
    
        assertEquals(countToRemove, multiset.setCount(KEY, 0));
        assertEquals(0, current.get());
      }
    
      public void testSetCount_0_nonePresent() {
        when(backingMap.get(KEY)).thenReturn(null);
    
        assertEquals(0, multiset.setCount(KEY, 0));
      }
    
      public void testCreate() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java

        }
    
        @Override
        public int count(@Nullable Object element) {
          for (Entry<E> entry : entrySet()) {
            if (Objects.equal(entry.getElement(), element)) {
              return entry.getCount();
            }
          }
          return 0;
        }
    
        @Override
        public int add(E element, int occurrences) {
          checkArgument(occurrences >= 0);
          Integer frequency = backingMap.get(element);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. docs/distributed/decom-encrypted-kes.sh

    ./mc mirror internal myminio/versioned/ --quiet >/dev/null
    ./mc mirror internal myminio/versioned-1/ --quiet >/dev/null
    
    expected_checksum=$(./mc cat internal/dsync/drwmutex.go | md5sum)
    
    user_count=$(./mc admin user list myminio/ | wc -l)
    policy_count=$(./mc admin policy list myminio/ | wc -l)
    
    kill $pid
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/NtTransQuerySecurityDesc.java

            this.fid = fid;
            this.securityInformation = securityInformation;
            command = SMB_COM_NT_TRANSACT;
            function = NT_TRANSACT_QUERY_SECURITY_DESC;
            setupCount = 0;
            totalDataCount = 0;
            maxParameterCount = 4;
            maxDataCount = 32768;
            maxSetupCount = (byte)0x00;
        }
    
        int writeSetupWireFormat( byte[] dst, int dstIndex ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbComNtTransaction.java

                writeInt4( dataDisplacement, dst, dstIndex );
                dstIndex += 4;
                dst[dstIndex++] = (byte)0x00;      // Reserved1
            } else {
                dst[dstIndex++] = (byte)setupCount;
                writeInt2( function, dst, dstIndex );
                dstIndex += 2;
                dstIndex += writeSetupWireFormat( dst, dstIndex );
            }
    
            return dstIndex - start;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3K bytes
    - Viewed (0)
Back to top