Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for put (0.03 sec)

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

        Object three = new Object();
        Object four = new Object();
        Object five = new Object();
    
        map.put(one, two);
        ticker.advance(1);
        map.put(two, three);
        ticker.advance(1);
        map.put(three, four);
        assertTrue(listener.isEmpty());
        ticker.advance(1);
        map.put(four, five);
        assertNotified(listener, one, two, RemovalCause.EXPIRED);
    
        assertTrue(listener.isEmpty());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        Object three = new Object();
        Object four = new Object();
        Object five = new Object();
    
        map.put(one, two);
        ticker.advance(1);
        map.put(two, three);
        ticker.advance(1);
        map.put(three, four);
        assertTrue(listener.isEmpty());
        ticker.advance(1);
        map.put(four, five);
        assertNotified(listener, one, two, RemovalCause.EXPIRED);
    
        assertTrue(listener.isEmpty());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Maps.java

            if (valueEquivalence.equivalent(leftValue, rightValue)) {
              onBoth.put(leftKey, leftValue);
            } else {
              differences.put(leftKey, ValueDifferenceImpl.create(leftValue, rightValue));
            }
          } else {
            onlyOnLeft.put(leftKey, leftValue);
          }
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Maps.java

            if (valueEquivalence.equivalent(leftValue, rightValue)) {
              onBoth.put(leftKey, leftValue);
            } else {
              differences.put(leftKey, ValueDifferenceImpl.create(leftValue, rightValue));
            }
          } else {
            onlyOnLeft.put(leftKey, leftValue);
          }
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/CacheTest.kt

        testRequestMethod("POST", true, withOverride = true)
      }
    
      @Test
      fun requestMethodPutIsNotCached() {
        testRequestMethod("PUT", false)
      }
    
      @Test
      fun requestMethodPutIsNotCachedEvenWithOverride() {
        testRequestMethod("PUT", false, withOverride = true)
      }
    
      @Test
      fun requestMethodDeleteIsNotCached() {
        testRequestMethod("DELETE", false)
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    here till I'm somebody else"--but, oh dear!' cried Alice, with a
    sudden burst of tears, `I do wish they WOULD put their heads
    down!  I am so VERY tired of being all alone here!'
    
      As she said this she looked down at her hands, and was
    surprised to see that she had put on one of the Rabbit's little
    white kid gloves while she was talking.  `How CAN I have done
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 29 21:35:03 UTC 2012
    - 145.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/cache/LocalCache.java

                }
                result.put(key, value);
              }
            } catch (UnsupportedLoadingOperationException e) {
              // loadAll not implemented, fallback to load
              for (K key : keysToLoad) {
                misses--; // get will count this miss
                result.put(key, get(key, defaultLoader));
              }
            }
          }
    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/object-handlers.go

    		// Remove the transitioned object whose object version is being overwritten.
    		os.Sweep()
    	}
    }
    
    // PutObjectHandler - PUT Object
    // ----------
    // This implementation of the PUT operation adds an object to a bucket.
    // Notice: The S3 client can send secret keys in headers for encryption related jobs,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
  9. cmd/server_test.go

    	c.Assert(err, nil)
    
    	// execute the request.
    	response, err := s.client.Do(request)
    	c.Assert(err, nil)
    	// assert the http response status code.
    	c.Assert(response.StatusCode, http.StatusOK)
    
    	// Put a new bucket policy.
    	request, err = newTestSignedRequest(http.MethodPut, getPutPolicyURL(s.endPoint, bucketName),
    		int64(len(bucketPolicyStr)), bytes.NewReader([]byte(bucketPolicyStr)), s.accessKey, s.secretKey, s.signer)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 116.3K bytes
    - Viewed (0)
  10. cmd/object-handlers_test.go

    		// if object upload fails stop the test.
    		if err != nil {
    			t.Fatalf("Put Object case %d:  Error uploading object: <ERROR> %v", i+1, err)
    		}
    	}
    
    	// test cases with inputs and expected result for HeadObject.
    	testCases := []struct {
    		bucketName string
    		objectName string
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
Back to top