Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 4,322 for nulls (0.02 seconds)

  1. src/test/java/jcifs/config/DelegatingConfigurationTest.java

            when(mockDelegate.getMaximumVersion()).thenReturn(null);
    
            // When & Then - should handle nulls gracefully
            assertNull(delegatingConfig.getRandom(), "Should return null when delegate returns null");
            assertNull(delegatingConfig.getLocalAddr(), "Should return null when delegate returns null");
            assertNull(delegatingConfig.getNetbiosHostname(), "Should return null when delegate returns null");
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.7K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/SmbFilenameFilterTest.java

        void implementationRejectsNulls() {
            SmbFilenameFilter filter = (dir, name) -> {
                if (dir == null || name == null) {
                    throw new NullPointerException("dir and name must be non-null");
                }
                return true;
            };
    
            NullPointerException npe1 = assertThrows(NullPointerException.class, () -> filter.accept(null, "x"));
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb1/smb1/SmbComOpenAndXTest.java

            smbComOpenAndX.useUnicode = true;
            // For Unicode: 1 byte (initial null in writeBytesWireFormat)
            // + potential 1 byte alignment (in writeString) + fileName.length() * 2 + 2 bytes (terminating nulls)
            // Since headerStart is 0 and dstIndex starts at 1 (after initial null), (1-0)%2=1, so alignment byte added
            // Total: 1 + 1 + 12*2 + 2 = 28 bytes
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/SortedSetTestSuiteBuilder.java

        features.add(CollectionFeature.SUBSET_VIEW);
        if (features.remove(CollectionFeature.ALLOWS_NULL_VALUES)) {
          // the null value might be out of bounds, so we can't always construct a subset with nulls
          features.add(CollectionFeature.ALLOWS_NULL_QUERIES);
          // but add null might still be supported if it happens to be within range of the subset
          suppressing.add(CollectionAddTester.getAddNullUnsupportedMethod());
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Oct 30 16:15:19 GMT 2024
    - 4.9K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/cache/TestingCacheLoaders.java

            return loader.load(key);
          }
    
          @Override
          public Map<K, V> loadAll(Iterable<? extends K> keys) throws Exception {
            Map<K, V> result = new HashMap<>(); // allow nulls
            for (K key : keys) {
              result.put(key, load(key));
            }
            return result;
          }
        };
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/ListSetTester.java

       * href="https://bugs.openjdk.org/browse/JDK-6409434">JDK-6409434</a> is fixed. It's unclear
       * whether nulls were to be permitted or forbidden, but presumably the eventual fix will be to
       * permit them, as it seems more likely that code would depend on that behavior than on the other.
       * Thus, we say the bug is in set(), which fails to support null.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  7. schema/index_test.go

    				// Note: Duplicate Columns
    				{Field: &schema.Field{Name: "Name8"}, Collate: "utf8"},
    			},
    		},
    		{
    			Class:  "UNIQUE",
    			Name:   "idx_user_indices_idx_compname_1",
    			Option: "NULLS NOT DISTINCT",
    			Fields: []schema.IndexOption{
    				{Field: &schema.Field{Name: "CompName1", NotNull: true}},
    				{Field: &schema.Field{Name: "CompName2"}},
    			},
    		},
    		{
    			Name: "idx_user_indices_comp_id0",
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Fri Dec 06 02:27:44 GMT 2024
    - 7.9K bytes
    - Click Count (0)
  8. impl/maven-core/src/site/apt/getting-to-container-configured-mojos.apt

    * MavenSession
    
      We may need to enable the context injection here, since this will be
      instantiated per-project. If we always inject the same context parameters,
      and are careful to inject nulls where things are missing, we should be
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/Platform.java

       *
       * @param reference any array of the desired type
       * @param length the length of the new array
       */
      /*
       * The new array contains nulls, even if the old array did not. If we wanted to be accurate, we
       * would declare a return type of `@Nullable T[]`. However, we've decided not to think too hard
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

        initThreeCopies();
        assertSetCountDecreasingFailure(e0(), 1);
      }
    
      // setCount with nulls:
    
      @CollectionSize.Require(absent = ZERO)
      @CollectionFeature.Require({SUPPORTS_REMOVE, ALLOWS_NULL_VALUES})
      public void testSetCount_removeNull_nullSupported() {
        initCollectionWithNullElement();
        assertSetCount(null, 0);
      }
    
      @CollectionFeature.Require(
          value = {SUPPORTS_ADD, ALLOWS_NULL_VALUES},
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 13K bytes
    - Click Count (0)
Back to Top