Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 178 for increment (0.18 sec)

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

                .removalListener(countingListener)
                .ticker(fakeTicker)
                .maximumSize(2)
                .build();
    
        // Add more than two elements to increment size removals.
        cache.put(3, 20);
        cache.put(6, 2);
        cache.put(98, 45);
        cache.put(56, 76);
        cache.put(23, 84);
    
        // Replace the two present elements.
        cache.put(23, 20);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 15K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/CompactHashMap.java

      private int hashTableMask() {
        return (1 << (metadata & CompactHashing.HASH_TABLE_BITS_MASK)) - 1;
      }
    
      void incrementModCount() {
        metadata += CompactHashing.MODIFICATION_COUNT_INCREMENT;
      }
    
      /**
       * Mark an access of the specified entry. Used only in {@code CompactLinkedHashMap} for LRU
       * ordering.
       */
      void accessEntry(int index) {
        // no-op by default
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 39.8K bytes
    - Viewed (0)
  3. tests/migrate_test.go

    	for idx := 0; idx < ROWS; idx++ {
    		if err := DB.Create(&AutoIncrementStruct{}).Error; err != nil {
    			t.Fatalf("create auto_increment_struct fail, err: %v", err)
    		}
    	}
    
    	rows := make([]*AutoIncrementStruct, 0, ROWS)
    	if err := DB.Order("id ASC").Find(&rows).Error; err != nil {
    		t.Fatalf("find auto_increment_struct fail, err: %v", err)
    	}
    
    	ids := make([]int64, 0, len(rows))
    	for _, row := range rows {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Mar 18 11:24:16 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/CompactHashMap.java

      private int hashTableMask() {
        return (1 << (metadata & CompactHashing.HASH_TABLE_BITS_MASK)) - 1;
      }
    
      void incrementModCount() {
        metadata += CompactHashing.MODIFICATION_COUNT_INCREMENT;
      }
    
      /**
       * Mark an access of the specified entry. Used only in {@code CompactLinkedHashMap} for LRU
       * ordering.
       */
      void accessEntry(int index) {
        // no-op by default
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 35.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/net/InetAddresses.java

       * both IPv4 and IPv6 addresses.
       *
       * @param address the InetAddress to increment
       * @return a new InetAddress that is one more than the passed in address
       * @throws IllegalArgumentException if InetAddress is at the end of its range
       * @since 10.0
       */
      public static InetAddress increment(InetAddress address) {
        byte[] addr = address.getAddress();
        int i = addr.length - 1;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
  6. internal/grid/muxclient.go

    			if err != nil {
    				m.addErrorNonBlockingClose(internalResp, err)
    				errState = true
    				continue
    			}
    			msg.Seq++
    		}
    	}
    }
    
    // checkSeq will check if sequence number is correct and increment it by 1.
    func (m *muxClient) checkSeq(seq uint32) (ok bool) {
    	if seq != m.RecvSeq {
    		if debugPrint {
    			fmt.Printf("MuxID: %d client, expected sequence %d, got %d\n", m.MuxID, m.RecvSeq, seq)
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  7. schema/relationship.go

    	conds = append(conds, clause.IN{Column: column, Values: values})
    	return
    }
    
    func copyableDataType(str DataType) bool {
    	for _, s := range []string{"auto_increment", "primary key"} {
    		if strings.Contains(strings.ToLower(string(str)), s) {
    			return false
    		}
    	}
    	return true
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 22.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/CacheExpirationTest.java

            CacheBuilder.newBuilder()
                .removalListener(removalListener)
                .expireAfterWrite(10, MILLISECONDS)
                .ticker(ticker)
                .build(loader);
    
        // Increment 100 times
        for (int i = 0; i < 100; ++i) {
          cache.getUnchecked(10).incrementAndGet();
          ticker.advance(1, MILLISECONDS);
        }
    
        assertEquals(evictionCount.get() + 1, applyCount.get());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Aug 05 17:21:46 GMT 2022
    - 18.7K bytes
    - Viewed (0)
  9. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10CallResolver.kt

        }
    
        private fun handleAsIncOrDecOperator(context: BindingContext, unaryExpression: KtUnaryExpression): KtCallInfo? {
            if (unaryExpression.operationToken !in KtTokens.INCREMENT_AND_DECREMENT) return null
            val operatorCall = unaryExpression.getResolvedCall(context) ?: return null
            val resolvedCalls = mutableListOf(operatorCall)
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Mon Apr 29 12:48:54 GMT 2024
    - 34.8K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCallResolver.kt

            val unaryExpression = parentOfType<KtUnaryExpression>() ?: return null
            if (deparenthesize(unaryExpression.baseExpression) != baseExpression ||
                unaryExpression.operationToken !in KtTokens.INCREMENT_AND_DECREMENT
            ) return null
            return unaryExpression
        }
    
        /**
         * When resolving selector expression of a [KtDotQualifiedExpression], we instead resolve the containing qualified expression. This way
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 70.8K bytes
    - Viewed (1)
Back to top