Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,409 for key2 (0.03 sec)

  1. cmd/xl-storage-meta-inline.go

    		var key []byte
    		key, buf, err = msgp.ReadMapKeyZC(buf)
    		if err != nil {
    			return keys, err
    		}
    		if len(key) == 0 {
    			return keys, fmt.Errorf("xlMetaInlineData: key %d is length 0", i)
    		}
    		keys = append(keys, string(key))
    		// Skip data...
    		_, buf, err = msgp.ReadBytesZC(buf)
    		if err != nil {
    			return keys, err
    		}
    	}
    	return keys, nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  2. internal/store/batch_test.go

    	}
    	key := keys[0]
    	if !key.Compress {
    		t.Fatal("expected key.Compress=true; but got false")
    	}
    	if key.ItemCount != int(limit) {
    		t.Fatalf("expected key.ItemCount=%d; but got %v", limit, key.ItemCount)
    	}
    	items, err := store.GetMultiple(key)
    	if err != nil {
    		t.Fatalf("unable to read key %v; %v", key.String(), err)
    	}
    	if len(items) != int(limit) {
    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. android/guava/src/com/google/common/collect/Table.java

    /**
     * A collection that associates an ordered pair of keys, called a row key and a column key, with a
     * single value. A table may be sparse, with only a small fraction of row key / column key pairs
     * possessing a corresponding value.
     *
     * <p>The mappings corresponding to a given row key may be viewed as a {@link Map} whose keys are
     * the columns. The reverse is also available, associating a column with a row key / value map. Note
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  4. internal/store/queuestore_test.go

    	}
    
    	keys := store.List()
    	if len(keys) != 1 {
    		t.Fatalf("expected len(keys)=1, but found %d", len(keys))
    	}
    
    	key := keys[0]
    	if !key.Compress {
    		t.Fatal("expected the item to be compressed")
    	}
    	if key.ItemCount != 10 {
    		t.Fatalf("expected itemcount=10 but found %v", key.ItemCount)
    	}
    
    	resultItems, err := store.GetMultiple(key)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ObjectCountHashMap.java

        return indexOf(key) != -1;
      }
    
      public int get(@CheckForNull Object key) {
        int index = indexOf(key);
        return (index == -1) ? 0 : values[index];
      }
    
      @CanIgnoreReturnValue
      public int remove(@CheckForNull Object key) {
        return remove(key, smearedHash(key));
      }
    
      private int remove(@CheckForNull Object key, int hash) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 01 22:07:10 UTC 2021
    - 15K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ArrayTable.java

       * either key is null or isn't among the keys provided during construction, this method has no
       * effect.
       *
       * <p>This method is equivalent to {@code put(rowKey, columnKey, null)} when both provided keys
       * are valid.
       *
       * @param rowKey row key of mapping to be erased
       * @param columnKey column key of mapping to be erased
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/TreeMultimap.java

     * according to the value ordering.
     *
     * <p>The multimap does not store duplicate key-value pairs. Adding a new key-value pair equal to an
     * existing key-value pair has no effect.
     *
     * <p>Null keys and values are permitted (provided, of course, that the respective comparators
     * support them). All optional multimap methods are supported, and all returned views are
     * modifiable.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Mar 09 00:21:17 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/HashBiMap.java

          K oldKey = keys[entryForValue];
          if (Objects.equal(oldKey, key)) {
            return key;
          } else {
            replaceKeyInEntry(entryForValue, key, force);
            return oldKey;
          }
        }
    
        int predecessor = lastInInsertionOrder;
        int keyHash = Hashing.smearedHash(key);
        int keyEntry = findEntryByKey(key, keyHash);
        if (force) {
          if (keyEntry != ABSENT) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 36.4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ConcurrentHashMultisetBasherTest.java

        private final ImmutableList<String> keys;
        private final Random random = new Random();
    
        private MutateTask(ConcurrentHashMultiset<String> multiset, ImmutableList<String> keys) {
          this.multiset = multiset;
          this.keys = keys;
        }
    
        @Override
        public int[] call() throws Exception {
          int iterations = 100000;
          int nKeys = keys.size();
          int[] deltas = new int[nKeys];
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  10. cmd/kms-handlers_test.go

    	}
    
    	// Check returned key list is correct
    	if test.wantKeyNames != nil {
    		keys := []madmin.KMSKeyInfo{}
    		err := json.Unmarshal(rec.Body.Bytes(), &keys)
    		if err != nil {
    			t.Fatal(err)
    		}
    		if len(keys) != len(test.wantKeyNames) {
    			t.Fatalf("want %d keys, got %d", len(test.wantKeyNames), len(keys))
    		}
    
    		for i, want := range keys {
    			if want.CreatedBy != kms.StubCreatedBy {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 22.3K bytes
    - Viewed (0)
Back to top