Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,081 for keys (0.08 sec)

  1. guava-tests/test/com/google/common/collect/CompactHashMapTest.java

        assertThat(map.needsAllocArrays()).isTrue();
        assertThat(map.entries).isNull();
        assertThat(map.keys).isNull();
        assertThat(map.values).isNull();
    
        map.put(1, "1");
        assertThat(map.needsAllocArrays()).isFalse();
        assertThat(map.entries).hasLength(CompactHashing.DEFAULT_SIZE);
        assertThat(map.keys).hasLength(CompactHashing.DEFAULT_SIZE);
        assertThat(map.values).hasLength(CompactHashing.DEFAULT_SIZE);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. cmd/signature-v2.go

    	var keys []string
    	keyval := make(map[string]string, len(headers))
    	for key := range headers {
    		lkey := strings.ToLower(key)
    		if !strings.HasPrefix(lkey, "x-amz-") {
    			continue
    		}
    		keys = append(keys, lkey)
    		keyval[lkey] = strings.Join(headers[key], ",")
    	}
    	sort.Strings(keys)
    	var canonicalHeaders []string
    	for _, key := range keys {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java

      public void testPutPresentKeyPropagatesToGet() {
        List<K> keys = copyToList(multimap().keySet());
        for (K key : keys) {
          resetContainer();
    
          int size = getNumElements();
    
          Collection<V> collection = multimap().get(key);
          Collection<V> expectedCollection = copyToList(collection);
    
          multimap().put(key, v3());
          expectedCollection.add(v3());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java

      public void testPutPresentKeyPropagatesToGet() {
        List<K> keys = copyToList(multimap().keySet());
        for (K key : keys) {
          resetContainer();
    
          int size = getNumElements();
    
          Collection<V> collection = multimap().get(key);
          Collection<V> expectedCollection = copyToList(collection);
    
          multimap().put(key, v3());
          expectedCollection.add(v3());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/pac/kerberos/KerberosAuthData.java

        public static List<KerberosAuthData> parse ( int authType, byte[] token, Map<Integer, KerberosKey> keys ) throws PACDecodingException {
    
            List<KerberosAuthData> authorizations = new ArrayList<>();
    
            switch ( authType ) {
            case KerberosConstants.AUTH_DATA_RELEVANT:
                authorizations = new KerberosRelevantAuthData(token, keys).getAuthorizations();
                break;
            case KerberosConstants.AUTH_DATA_PAC:
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/pac/PacMac.java

        /**
         * @param type
         * @param keys
         * @return the calculated mac
         * @throws PACDecodingException
         */
        public static byte[] calculateMac ( int type, Map<Integer, KerberosKey> keys, byte[] data ) throws PACDecodingException {
            try {
                int usage = 17;
                if ( type == PacSignature.KERB_CHECKSUM_HMAC_MD5 ) {
                    KerberosKey key = keys.get(PacSignature.ETYPE_ARCFOUR_HMAC);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7K bytes
    - Viewed (0)
  7. 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)
  8. guava/src/com/google/common/collect/FilteredEntryMultimap.java

      Multiset<K> createKeys() {
        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);
          }
    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. internal/crypto/sse-s3.go

    	}
    	keys := make([]ObjectKey, 0, len(metadata))
    	for i := range metadata {
    		key, err := s3.UnsealObjectKey(k, metadata[i], buckets[i], objects[i])
    		if err != nil {
    			return nil, err
    		}
    		keys = append(keys, key)
    	}
    	return keys, nil
    }
    
    // CreateMetadata encodes the sealed object key into the metadata and returns
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/pac/kerberos/KerberosApRequest.java

    @SuppressWarnings ( "javadoc" )
    public class KerberosApRequest {
    
        private byte apOptions;
        private KerberosTicket ticket;
    
    
        public KerberosApRequest ( byte[] token, KerberosKey[] keys ) throws PACDecodingException {
            this(parseSequence(token), keys);
        }
    
        private static ASN1Sequence parseSequence(byte[] token) throws PACDecodingException {
            if ( token.length <= 0 )
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Oct 02 12:02:06 UTC 2023
    - 3.9K bytes
    - Viewed (0)
Back to top