Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 460 for key (0.2 sec)

  1. android/guava/src/com/google/common/util/concurrent/AtomicLongMap.java

        return addAndGet(key, 1);
      }
    
      /**
       * Decrements by one the value currently associated with {@code key}, and returns the new value.
       */
      @CanIgnoreReturnValue
      public long decrementAndGet(K key) {
        return addAndGet(key, -1);
      }
    
      /**
       * Adds {@code delta} to the value currently associated with {@code key}, and returns the new
       * value.
       */
      @CanIgnoreReturnValue
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

       * key. When a key-value pair is added to a multimap that didn't previously
       * contain any values for that key, a new collection generated by
       * createCollection is added to the map. That same collection instance
       * remains in the map as long as the multimap has any values for the key. If
       * all values for the key are removed, the key and collection are removed
       * from the map.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 48K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java

        when(backingMap.get(KEY)).thenReturn(new AtomicInteger(COUNT));
    
        assertEquals(COUNT, multiset.count(KEY));
      }
    
      public void testCount_elementAbsent() {
        when(backingMap.get(KEY)).thenReturn(null);
    
        assertEquals(0, multiset.count(KEY));
      }
    
      public void testAdd_zero() {
        final int INITIAL_COUNT = 32;
    
        when(backingMap.get(KEY)).thenReturn(new AtomicInteger(INITIAL_COUNT));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/StandardTable.java

        public boolean containsKey(@CheckForNull Object key) {
          updateBackingRowMapField();
          return (key != null && backingRowMap != null) && Maps.safeContainsKey(backingRowMap, key);
        }
    
        @Override
        @CheckForNull
        public V get(@CheckForNull Object key) {
          updateBackingRowMapField();
          return (key != null && backingRowMap != null) ? Maps.safeGet(backingRowMap, key) : null;
        }
    
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 29.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/mylasta/direction/FessEnv.java

     */
    public interface FessEnv {
    
        /** The key of the configuration. e.g. warm */
        String lasta_di_SMART_DEPLOY_MODE = "lasta_di.smart.deploy.mode";
    
        /** The key of the configuration. e.g. true */
        String DEVELOPMENT_HERE = "development.here";
    
        /** The key of the configuration. e.g. Local Development */
        String ENVIRONMENT_TITLE = "environment.title";
    
        /** The key of the configuration. e.g. false */
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/plugin/version/internal/DefaultPluginVersionResolver.java

                }
                if (o == null || getClass() != o.getClass()) {
                    return false;
                }
                Key key = (Key) o;
                return groupId.equals(key.groupId)
                        && artifactId.equals(key.artifactId)
                        && repositories.equals(key.repositories);
            }
    
            @Override
            public int hashCode() {
                return hash;
            }
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 09:07:17 GMT 2023
    - 15.7K bytes
    - Viewed (0)
  7. internal/config/api/api.go

    		},
    		config.KV{
    			Key:   apiClusterDeadline,
    			Value: "10s",
    		},
    		config.KV{
    			Key:   apiCorsAllowOrigin,
    			Value: "*",
    		},
    		config.KV{
    			Key:   apiRemoteTransportDeadline,
    			Value: "2h",
    		},
    		config.KV{
    			Key:   apiListQuorum,
    			Value: "strict",
    		},
    		config.KV{
    			Key:   apiReplicationPriority,
    			Value: "auto",
    		},
    		config.KV{
    			Key:   apiReplicationMaxWorkers,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 01:08:07 GMT 2024
    - 11.1K bytes
    - Viewed (1)
  8. guava/src/com/google/common/collect/CompactHashMap.java

              && Objects.equal(key, key(entryIndex))) {
            return entryIndex;
          }
          next = CompactHashing.getNext(entry, mask);
        } while (next != UNSET);
        return -1;
      }
    
      @Override
      public boolean containsKey(@CheckForNull Object key) {
        Map<K, V> delegate = delegateOrNull();
        return (delegate != null) ? delegate.containsKey(key) : indexOf(key) != -1;
      }
    
      @Override
    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)
  9. src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java

        }
    
        public void done(final Object keyObj) {
            getCacheKey(keyObj).ifPresent(key -> {
                try {
                    final StatsObject data = statsCache.getIfPresent(key);
                    if (data != null && data.decrement() <= 0) {
                        statsCache.invalidate(key);
                        final Long begin = data.remove(BEGIN_KEY);
                        if (begin != null) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  10. cmd/batch-rotate.go

    //     tags:
    //       - key: "name"
    //         value: "pick*" # match objects with tag 'name', with all values starting with 'pick'
    //     metadata:
    //       - key: "content-type"
    //         value: "image/*" # match objects with 'content-type', with all values starting with 'image/'
    //     kmskey: "key-id" # match objects with KMS key-id (applicable only for sse-kms)
    //   notify:
    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)
Back to top