Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 160 of 228 for IsFull (0.04 seconds)

  1. guava-tests/test/com/google/common/util/concurrent/CallablesTest.java

    @GwtCompatible
    @NullUnmarked
    public class CallablesTest extends TestCase {
    
      @J2ktIncompatible // TODO(b/324550390): Enable
      public void testReturning() throws Exception {
        assertThat(Callables.returning(null).call()).isNull();
    
        Object value = new Object();
        Callable<Object> callable = Callables.returning(value);
        assertThat(callable.call()).isEqualTo(value);
        // Expect the same value on subsequent calls
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 4K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/SIDCacheImplTest.java

    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.ArgumentMatchers.any;
    import static org.mockito.ArgumentMatchers.isNull;
    import static org.mockito.ArgumentMatchers.same;
    import static org.mockito.Mockito.doAnswer;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.never;
    import static org.mockito.Mockito.times;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14K bytes
    - Click Count (0)
  3. internal/s3select/json/record.go

    		v = f
    	} else if i, ok := value.ToInt(); ok {
    		v = i
    	} else if t, ok := value.ToTimestamp(); ok {
    		v = sql.FormatSQLTimestamp(t)
    	} else if s, ok := value.ToString(); ok {
    		v = s
    	} else if value.IsNull() {
    		v = nil
    	} else if value.IsMissing() {
    		return r, nil
    	} else if b, ok := value.ToBytes(); ok {
    		// This can either be raw json or a CSV value.
    		// Only treat objects and arrays as JSON.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java

                    actualOccupiedDepth.set(monitor.getOccupiedDepth());
                  } catch (Throwable t) {
                    thrown.set(t);
                  }
                }));
        assertThat(thrown.get()).isNull();
        assertEquals(expectedIsOccupied, actualIsOccupied.get());
        assertEquals(expectedIsOccupiedByCurrentThread, actualIsOccupiedByCurrentThread.get());
        assertEquals(expectedOccupiedDepth, actualOccupiedDepth.get());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 5K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java

                    actualOccupiedDepth.set(monitor.getOccupiedDepth());
                  } catch (Throwable t) {
                    thrown.set(t);
                  }
                }));
        assertThat(thrown.get()).isNull();
        assertEquals(expectedIsOccupied, actualIsOccupied.get());
        assertEquals(expectedIsOccupiedByCurrentThread, actualIsOccupiedByCurrentThread.get());
        assertEquals(expectedOccupiedDepth, actualOccupiedDepth.get());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 5K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/net/HostAndPortTest.java

        HostAndPort hp;
        try {
          hp = HostAndPort.fromString(hpString);
        } catch (IllegalArgumentException e) {
          // Make sure we expected this.
          assertThat(expectHost).isNull();
          return;
        }
        assertThat(expectHost).isNotNull();
    
        // Apply withDefaultPort(), yielding hp2.
        boolean badDefaultPort = defaultPort < 0 || defaultPort > 65535;
        HostAndPort hp2 = null;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 9.7K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/primitives/DoublesTest.java

      }
    
      public void testStringConverter_nullConversions() {
        assertThat(Doubles.stringConverter().convert(null)).isNull();
        assertThat(Doubles.stringConverter().reverse().convert(null)).isNull();
      }
    
      @GwtIncompatible // Double.toString returns different value in GWT.
      public void testStringConverter_reverse() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 30.9K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertThat(TypeToken.of(Object.class).getComponentType()).isNull();
        assertThat(TypeToken.of(void.class).getComponentType()).isNull();
      }
    
      public <T> void testGetComponentType_genericArrayClasses() {
        assertThat(TypeToken.of(new TypeCapture<T>() {}.capture()).getComponentType()).isNull();
        assertEquals(
            TypeToken.of(new TypeCapture<T>() {}.capture()),
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 89.3K bytes
    - Click Count (0)
  9. cmd/bucket-metadata-sys.go

    				return updatedAt, err
    			}
    			// find a single expiry rule set the flag
    			for _, rl := range lcCfg.Rules {
    				if !rl.Expiration.IsNull() || !rl.NoncurrentVersionExpiration.IsNull() {
    					expiryRuleRemoved = true
    					break
    				}
    			}
    		}
    
    		// Form empty ILM details with `ExpiryUpdatedAt` field and save
    		var cfgData []byte
    		if expiryRuleRemoved {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 20.4K bytes
    - Click Count (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/RepositoryAwareRequest.java

                                + "Found " + repositories.size() + " repositories but only " + set.size()
                                + " unique entries.");
            }
            if (repositories.stream().anyMatch(Objects::isNull)) {
                throw new IllegalArgumentException(
                        "Repository list contains null entries. All repository entries must be non-null RemoteRepository instances.");
            }
            return repositories;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 10 07:30:49 GMT 2025
    - 5K bytes
    - Click Count (0)
Back to Top