Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 234 for isPull (0.46 seconds)

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

            // don't let the new entry get GCed
            warmed.add(entryOf(entry.getKey(), newValue));
            Object newKey = new Object();
            assertThat(cache.asMap().put(newKey, entry.getValue())).isNull();
            // this getUnchecked() call shouldn't be a cache miss; verified below
            assertThat(cache.getUnchecked(entry.getKey())).isEqualTo(newValue);
            assertThat(cache.getUnchecked(newKey)).isEqualTo(entry.getValue());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 15.4K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/base/FunctionsTest.java

        assertEquals("correct", f.apply(new Object()));
        assertEquals("correct", f.apply(null));
    
        Function<@Nullable Object, @Nullable String> g = Functions.constant(null);
        assertThat(g.apply(2)).isNull();
        assertThat(g.apply(null)).isNull();
    
        new EqualsTester()
            .addEqualityGroup(f, Functions.constant("correct"))
            .addEqualityGroup(Functions.constant("incorrect"))
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 16.2K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/base/DefaultsTest.java

        assertEquals(0.0f, Defaults.defaultValue(float.class).floatValue());
        assertThat(Defaults.defaultValue(double.class).doubleValue()).isEqualTo(0.0d);
        assertThat(Defaults.defaultValue(void.class)).isNull();
        assertThat(Defaults.defaultValue(String.class)).isNull();
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 26 02:41:17 GMT 2026
    - 1.7K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/base/DefaultsTest.java

        assertEquals(0.0f, Defaults.defaultValue(float.class).floatValue());
        assertThat(Defaults.defaultValue(double.class).doubleValue()).isEqualTo(0.0d);
        assertThat(Defaults.defaultValue(void.class)).isNull();
        assertThat(Defaults.defaultValue(String.class)).isNull();
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 26 02:41:17 GMT 2026
    - 1.7K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/collect/EvictingQueueTest.java

        assertFalse(queue.remove("hi"));
        assertEquals(0, queue.size());
    
        assertThrows(NoSuchElementException.class, () -> queue.element());
    
        assertThat(queue.peek()).isNull();
        assertThat(queue.poll()).isNull();
        assertThrows(NoSuchElementException.class, () -> queue.remove());
      }
    
      public void testRemainingCapacity_maxSize0() {
        EvictingQueue<String> queue = EvictingQueue.create(0);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  6. cmd/bucket-lifecycle-handlers.go

    			// original rule had expiry that is no longer in the new config,
    			// or rule is present but missing expiration flags
    			if (!rl.Expiration.IsNull() || !rl.NoncurrentVersionExpiration.IsNull()) &&
    				(!ok || (updRule.Expiration.IsNull() && updRule.NoncurrentVersionExpiration.IsNull())) {
    				expiryRuleRemoved = true
    			}
    		}
    	}
    
    	if bucketLifecycle.HasExpiry() || expiryRuleRemoved {
    		currtime := time.Now()
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Jan 20 14:49:07 GMT 2025
    - 7K bytes
    - Click Count (0)
  7. samples/compare/src/test/kotlin/okhttp3/compare/JettyHttpClientTest.kt

     * limitations under the License.
     */
    package okhttp3.compare
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import assertk.assertions.isNull
    import assertk.assertions.matches
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import mockwebserver3.junit5.StartStop
    import org.eclipse.jetty.client.HttpClient
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Jun 18 12:28:21 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  8. internal/s3select/sql/value.go

    		return false, errArithInvalidOperator
    	}
    	switch op {
    	case opIs:
    		if a.IsNull() {
    			// Missing is null
    			return v.IsNull() || v.IsMissing(), nil
    		}
    		if a.IsMissing() {
    			return v.IsMissing(), nil
    		}
    		// Forward to Equal
    		op = opEq
    	case opIsNot:
    		if a.IsNull() {
    			// Missing is not null
    			return !v.IsNull() && !v.IsMissing(), nil
    		}
    		if a.IsMissing() {
    			return !v.IsMissing(), nil
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 20.4K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/collect/ForwardingConcurrentMapTest.java

        TestMap map = new TestMap();
        map.put("foo", 1);
        assertEquals(Integer.valueOf(1), map.putIfAbsent("foo", 2));
        assertEquals(Integer.valueOf(1), map.get("foo"));
        assertThat(map.putIfAbsent("bar", 3)).isNull();
        assertEquals(Integer.valueOf(3), map.get("bar"));
      }
    
      public void testRemove() {
        TestMap map = new TestMap();
        map.put("foo", 1);
        assertFalse(map.remove("foo", 2));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketRecorder.kt

        val event = nextEvent() as Failure
        assertThat(event.response).isNull()
        assertThat(event.t).isSameInstanceAs(t)
      }
    
      fun assertFailure(
        cls: Class<out IOException?>?,
        vararg messages: String,
      ) {
        val event = nextEvent() as Failure
        assertThat(event.response).isNull()
        assertThat(event.t.javaClass).isEqualTo(cls)
        if (messages.isNotEmpty()) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 6.8K bytes
    - Click Count (0)
Back to Top