Search Options

Results per page
Sort
Preferred Languages
Advance

Results 991 - 1000 of 3,763 for int (0.03 sec)

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

      // we use integers as keys; make sure the range covers some values that ARE cached by
      // Integer.valueOf(int), and some that are not cached. (127 is the highest cached value.)
      static final int WARMUP_MIN = 120;
      static final int WARMUP_MAX = 135;
      static final int WARMUP_SIZE = WARMUP_MAX - WARMUP_MIN;
    
      public void testSize_populated() {
        for (LoadingCache<Object, Object> cache : caches()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 15K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

      // we use integers as keys; make sure the range covers some values that ARE cached by
      // Integer.valueOf(int), and some that are not cached. (127 is the highest cached value.)
      static final int WARMUP_MIN = 120;
      static final int WARMUP_MAX = 135;
      static final int WARMUP_SIZE = WARMUP_MAX - WARMUP_MIN;
    
      public void testSize_populated() {
        for (LoadingCache<Object, Object> cache : caches()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 15K bytes
    - Viewed (0)
  3. internal/store/batch_test.go

    	})
    	defer batch.Close()
    
    	var wg sync.WaitGroup
    	for i := 0; i < int(limit); i++ {
    		wg.Add(1)
    		go func(key int) {
    			defer wg.Done()
    			if err := batch.Add(testItem); err != nil {
    				t.Errorf("failed to add item %v; %v", key, err)
    				return
    			}
    		}(i)
    	}
    	wg.Wait()
    
    	batchLen := batch.Len()
    	if batchLen != int(limit) {
    		t.Fatalf("Expected batch.Len() %v; but got %v", limit, batchLen)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. cmd/erasure-metadata.go

    }
    
    func commonParity(parities []int, defaultParityCount int) int {
    	N := len(parities)
    
    	occMap := make(map[int]int)
    	for _, p := range parities {
    		occMap[p]++
    	}
    
    	var maxOcc, cparity int
    	for parity, occ := range occMap {
    		if parity == -1 {
    			// Ignore non defined parity
    			continue
    		}
    
    		readQuorum := N - parity
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/DcerpcException.java

        /**
         * 
         */
        private static final long serialVersionUID = -6113895861333916945L;
    
    
        static String getMessageByDcerpcError ( int errcode ) {
            int min = 0;
            int max = DCERPC_FAULT_CODES.length;
    
            while ( max >= min ) {
                int mid = ( min + max ) / 2;
    
                if ( errcode > DCERPC_FAULT_CODES[ mid ] ) {
                    min = mid + 1;
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun May 17 09:02:44 UTC 2020
    - 2.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/io/ByteArrayDataOutput.java

      @Override
      void write(int b);
    
      @Override
      void write(byte b[]);
    
      @Override
      void write(byte b[], int off, int len);
    
      @Override
      void writeBoolean(boolean v);
    
      @Override
      void writeByte(int v);
    
      @Override
      void writeShort(int v);
    
      @Override
      void writeChar(int v);
    
      @Override
      void writeInt(int v);
    
      @Override
      void writeLong(long v);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 2K bytes
    - Viewed (0)
  7. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java

        throw new UnsupportedOperationException();
      }
    
      public final E remove(int index) {
        throw new UnsupportedOperationException();
      }
    
      @Override
      public UnmodifiableIterator<E> iterator() {
        return listIterator();
      }
    
      @Override
      public ImmutableList<E> subList(int fromIndex, int toIndex) {
        return unsafeDelegateList(Lists.subListImpl(this, fromIndex, toIndex));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 22:14:46 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/log/bsbhv/BsClickLogBhv.java

            doDelete(entity, null);
        }
    
        public int queryDelete(CBCall<ClickLogCB> cbLambda) {
            return doQueryDelete(createCB(cbLambda), null);
        }
    
        public int[] batchInsert(List<ClickLog> list) {
            return batchInsert(list, null, null);
        }
    
        public int[] batchInsert(List<ClickLog> list, RequestOptionCall<BulkRequestBuilder> call) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/user/bsbhv/BsGroupBhv.java

            doDelete(entity, null);
        }
    
        public int queryDelete(CBCall<GroupCB> cbLambda) {
            return doQueryDelete(createCB(cbLambda), null);
        }
    
        public int[] batchInsert(List<Group> list) {
            return batchInsert(list, null, null);
        }
    
        public int[] batchInsert(List<Group> list, RequestOptionCall<BulkRequestBuilder> call) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/config/bsbhv/BsAccessTokenBhv.java

            doDelete(entity, null);
        }
    
        public int queryDelete(CBCall<AccessTokenCB> cbLambda) {
            return doQueryDelete(createCB(cbLambda), null);
        }
    
        public int[] batchInsert(List<AccessToken> list) {
            return batchInsert(list, null, null);
        }
    
        public int[] batchInsert(List<AccessToken> list, RequestOptionCall<BulkRequestBuilder> call) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.8K bytes
    - Viewed (0)
Back to top