Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for set1 (0.04 sec)

  1. guava/src/com/google/common/collect/Maps.java

          Set<K> set, Function<? super K, V> function) {
        return new AsMapView<>(set, function);
      }
    
      /**
       * Returns a view of the sorted set as a map, mapping keys from the set according to the specified
       * function.
       *
       * <p>Specifically, for each {@code k} in the backing set, the returned map has an entry mapping
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Maps.java

          Set<K> set, Function<? super K, V> function) {
        return new AsMapView<>(set, function);
      }
    
      /**
       * Returns a view of the sorted set as a map, mapping keys from the set according to the specified
       * function.
       *
       * <p>Specifically, for each {@code k} in the backing set, the returned map has an entry mapping
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  3. cmd/object-handlers_test.go

    			req.Header.Set("X-Amz-Copy-Source-If-Unmodified-Since", testCase.copyUnmodifiedHeader)
    		}
    		// Add custom metadata.
    		for k, v := range testCase.metadata {
    			req.Header.Set(k, v)
    		}
    		if testCase.metadataReplace {
    			req.Header.Set("X-Amz-Metadata-Directive", "REPLACE")
    		}
    		if testCase.metadataCopy {
    			req.Header.Set("X-Amz-Metadata-Directive", "COPY")
    		}
    		if testCase.metadataGarbage {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
  4. cmd/bucket-replication.go

    				}
    			default:
    				bugLogIf(p.ctx, fmt.Errorf("unknown replication type: %T", oi), "unknown-replicate-type")
    			}
    		}
    	}
    }
    
    // ResizeLrgWorkers sets replication workers pool for large transfers(>=128MiB) to new size.
    // checkOld can be set to an expected value.
    // If the worker count changed
    func (p *ReplicationPool) ResizeLrgWorkers(n, checkOld int) {
    	p.mu.Lock()
    	defer p.mu.Unlock()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  5. cmd/object-handlers.go

    		}
    		return
    	}
    
    	// Set encryption response headers
    	switch kind, _ := crypto.IsEncrypted(objInfo.UserDefined); kind {
    	case crypto.S3:
    		w.Header().Set(xhttp.AmzServerSideEncryption, xhttp.AmzEncryptionAES)
    	case crypto.S3KMS:
    		w.Header().Set(xhttp.AmzServerSideEncryption, xhttp.AmzEncryptionKMS)
    		w.Header().Set(xhttp.AmzServerSideEncryptionKmsID, objInfo.KMSKeyID())
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/CallTest.kt

        val response = client.newCall(request).execute()
        assertThat(response.body.string()).isEqualTo("response body")
        val get1 = server.takeRequest()
        assertThat(get1.requestLine).isEqualTo("GET http://android.com/foo HTTP/1.1")
        assertThat(get1.headers["Proxy-Authorization"]).isNull()
        val get2 = server.takeRequest()
        assertThat(get2.requestLine).isEqualTo("GET http://android.com/foo HTTP/1.1")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/cache/LocalCache.java

        // TODO(fry): batch by segment
        for (Object key : keys) {
          remove(key);
        }
      }
    
      @LazyInit @RetainedWith @CheckForNull Set<K> keySet;
    
      @Override
      public Set<K> keySet() {
        // does not impact recency ordering
        Set<K> ks = keySet;
        return (ks != null) ? ks : (keySet = new KeySet());
      }
    
      @LazyInit @RetainedWith @CheckForNull Collection<V> values;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  8. cmd/server_test.go

    }
    
    func (s *TestSuiteCommon) TestCors(c *check) {
    	expectedMap := http.Header{}
    	expectedMap.Set("Access-Control-Allow-Credentials", "true")
    	expectedMap.Set("Access-Control-Allow-Origin", "http://foobar.com")
    	expectedMap["Access-Control-Expose-Headers"] = []string{
    		"Date",
    		"Etag",
    		"Server",
    		"Connection",
    		"Accept-Ranges",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 116.3K bytes
    - Viewed (0)
  9. cmd/admin-handlers.go

    	owner := cred.AccessKey == globalActiveCred.AccessKey
    
    	// Set prefix value for "s3:prefix" policy conditionals.
    	r.Header.Set("prefix", "")
    
    	// Set delimiter value for "s3:delimiter" policy conditionals.
    	r.Header.Set("delimiter", SlashSeparator)
    
    	isAllowedAccess := func(bucketName string) (rd, wr bool) {
    		if globalIAMSys.IsAllowed(policy.Args{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertEquals(0, listener.getCount());
        table.set(0, entryOne);
        assertFalse(segment.reclaimKey(entryTwo, hashTwo));
        assertEquals(0, listener.getCount());
        table.set(0, entryTwo);
        assertFalse(segment.reclaimKey(entryThree, hashThree));
        assertEquals(0, listener.getCount());
    
        // present
        table.set(0, entryOne);
        segment.count = 1;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
Back to top