Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2801 - 2810 of 4,689 for nulls (0.02 seconds)

  1. android/guava-testlib/src/com/google/common/collect/testing/MinimalSet.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * A simplistic set which implements the bare minimum so that it can be used in tests without
     * relying on any specific Set implementations. Slow. Explicitly allows null elements so that they
     * can be used in the testers.
     *
     * @author Regina O'Dell
     */
    @GwtCompatible
    @NullMarked
    public class MinimalSet<E extends @Nullable Object> extends MinimalCollection<E> implements Set<E> {
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.8K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapKeySetTester.java

      public void testKeySetContainsNullKeyPresent() {
        initMultimapWithNullKey();
        assertTrue(multimap().keySet().contains(null));
      }
    
      @MapFeature.Require(ALLOWS_NULL_KEY_QUERIES)
      public void testKeySetContainsNullKeyAbsent() {
        assertFalse(multimap().keySet().contains(null));
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testKeySetRemovePropagatesToMultimap() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/collect/testing/MinimalSet.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * A simplistic set which implements the bare minimum so that it can be used in tests without
     * relying on any specific Set implementations. Slow. Explicitly allows null elements so that they
     * can be used in the testers.
     *
     * @author Regina O'Dell
     */
    @GwtCompatible
    @NullMarked
    public class MinimalSet<E extends @Nullable Object> extends MinimalCollection<E> implements Set<E> {
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.8K bytes
    - Click Count (0)
  4. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

        Class<?> rawType = type.getRawType();
        List<Object> samples = sampleInstances.get(rawType);
        Object sample = pickInstance(samples, null);
        if (sample != null) {
          return sample;
        }
        if (rawType.isEnum()) {
          return pickInstance(rawType.getEnumConstants(), null);
        }
        if (type.isArray()) {
          TypeToken<?> componentType = requireNonNull(type.getComponentType());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 28.7K bytes
    - Click Count (0)
  5. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/DomUtilsTest.java

            Document doc = Document.of(pomXml);
            Element root = doc.root();
            Element dependencies = root.child("dependencies").orElse(null);
            assertNotNull(dependencies, "dependencies should exist");
            Element dependency = dependencies.child("dependency").orElse(null);
            assertNotNull(dependency, "dependency should exist");
    
            // Insert elements in dependency according to dependency ordering
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 31.3K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/exception/FessUserNotFoundExceptionTest.java

        }
    
        @Test
        public void test_constructor_withNullUsername() {
            // Test with null username
            String username = null;
            FessUserNotFoundException exception = new FessUserNotFoundException(username);
    
            assertNotNull(exception);
            assertEquals("User is not found: null", exception.getMessage());
            assertNull(exception.getCause());
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  7. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateAgpVersions.kt

                if (minimumSupported != null) {
                    require(minimumSupported >= minimumMinimum) {
                        "minimumSupported must be at least $minimumMinimum, was $minimumSupported"
                    }
                }
            }
    
            private
            val VersionNumber.isStable: Boolean
                get() = qualifier == null
    
            private
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Oct 24 09:10:29 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  8. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/AndroidPlatform.kt

          } catch (_: InvocationTargetException) {
            null
          }
      }
    
      companion object {
        val Tag = "OkHttp"
    
        val isSupported: Boolean = isAndroid && Build.VERSION.SDK_INT in 21 until 29
    
        fun buildIfSupported(): Platform? = if (isSupported) AndroidPlatform() else null
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Oct 10 05:19:46 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/validation/CustomSizeTest.java

            try {
                final Method method = CustomSize.class.getMethod("message");
                final Object defaultValue = method.getDefaultValue();
                return defaultValue != null ? defaultValue.toString() : null;
            } catch (final Exception e) {
                return "{jakarta.validation.constraints.Size.message}";
            }
        }
    
        private Class<?>[] getDefaultGroups() {
            try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb/NtlmUtil.java

        public static byte[] getNTLMv2Response(final byte[] responseKeyNT, final byte[] serverChallenge, final byte[] clientChallenge,
                final long nanos1601, final byte[] avPairs) {
            final int avPairsLength = avPairs != null ? avPairs.length : 0;
            final byte[] temp = new byte[28 + avPairsLength + 4];
    
            Encdec.enc_uint32le(0x00000101, temp, 0); // Header
            Encdec.enc_uint32le(0x00000000, temp, 4); // Reserved
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 15.1K bytes
    - Click Count (0)
Back to Top