Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1001 - 1010 of 3,763 for int (0.04 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. 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)
  3. tests/test_typing_python39.py

    from fastapi.testclient import TestClient
    
    from .utils import needs_py310
    
    
    @needs_py310
    def test_typing():
        types = {
            list[int]: [1, 2, 3],
            dict[str, list[int]]: {"a": [1, 2, 3], "b": [4, 5, 6]},
            set[int]: [1, 2, 3],  # `set` is converted to `list`
            tuple[int, ...]: [1, 2, 3],  # `tuple` is converted to `list`
        }
        for test_type, expect in types.items():
            app = FastAPI()
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 709 bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2.kt

       * ```
       * `<< 0x0000000f    12 HEADERS       END_HEADERS|END_STREAM
       * ```
       */
      fun frameLog(
        inbound: Boolean,
        streamId: Int,
        length: Int,
        type: Int,
        flags: Int,
      ): String {
        val formattedType = formattedType(type)
        val formattedFlags = formatFlags(type, flags)
        val direction = if (inbound) "<<" else ">>"
        return format(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/dcerpc/msrpc/samr.idl

    		ACB_DONT_REQUIRE_PREAUTH   = 0x00010000  /* 1 = Preauth not required */
    	} SamrAcctFlags;
    
    	[op(0x01)]
    	int SamrCloseHandle([in] policy_handle *handle);
    
    	[op(0x39)]
    	int SamrConnect2([in,string,unique] wchar_t *system_name,
    			[in] uint32_t access_mask,
    			[out] policy_handle *handle);
    
    	[op(0x3e)]
    	int SamrConnect4([in,string,unique] wchar_t *system_name,
    			[in] uint32_t unknown,
    			[in] uint32_t access_mask,
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 3.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/FilteredEntryMultimap.java

        return new Keys();
      }
    
      @WeakOuter
      class Keys extends Multimaps.Keys<K, V> {
        Keys() {
          super(FilteredEntryMultimap.this);
        }
    
        @Override
        public int remove(@CheckForNull Object key, int occurrences) {
          checkNonnegative(occurrences, "occurrences");
          if (occurrences == 0) {
            return count(key);
          }
          Collection<V> collection = unfiltered.asMap().get(key);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/bsbhv/BsWebAuthenticationBhv.java

            doDelete(entity, null);
        }
    
        public int queryDelete(CBCall<WebAuthenticationCB> cbLambda) {
            return doQueryDelete(createCB(cbLambda), null);
        }
    
        public int[] batchInsert(List<WebAuthentication> list) {
            return batchInsert(list, null, null);
        }
    
        public int[] batchInsert(List<WebAuthentication> list, RequestOptionCall<BulkRequestBuilder> call) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/hash/AbstractHasher.java

      public Hasher putBytes(byte[] bytes) {
        return putBytes(bytes, 0, bytes.length);
      }
    
      @Override
      @CanIgnoreReturnValue
      public Hasher putBytes(byte[] bytes, int off, int len) {
        Preconditions.checkPositionIndexes(off, off + len, bytes.length);
        for (int i = 0; i < len; i++) {
          putByte(bytes[off + i]);
        }
        return this;
      }
    
      @Override
      @CanIgnoreReturnValue
      public Hasher putBytes(ByteBuffer b) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 3.5K bytes
    - Viewed (0)
Back to top