Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for nullKey (1.54 sec)

  1. src/test/java/org/codelibs/fess/suggest/settings/SuggestSettingsBuilderTest.java

        public void testAddInitialSettingsWithNullValue() {
            // Test adding null value
            builder.addInitialSettings("nullKey", null);
            assertEquals(1, builder.initialSettings.size());
            assertTrue(builder.initialSettings.containsKey("nullKey"));
            assertEquals(null, builder.initialSettings.get("nullKey"));
        }
    
        @Test
        public void testScrollTimeout() {
            // Test setting scroll timeout
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

          boolean permitsDuplicates,
          @Nullable String nullKey,
          @Nullable Integer nullValue) {
        multimap.clear();
        multimap.put("foo", 1);
        multimap.put("foo", 2);
        multimap.put("foo", 3);
        multimap.put("bar", 5);
        multimap.put("bar", -1);
        multimap.put(nullKey, nullValue);
        multimap.put("foo", nullValue);
        multimap.put(nullKey, 5);
        multimap.put("foo", 2);
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

            .testEquals();
      }
    
      public void testOfEntriesNull() {
        Entry<@Nullable Integer, @Nullable Integer> nullKey = entry(null, 23);
        assertThrows(
            NullPointerException.class,
            () -> ImmutableMap.ofEntries((Entry<Integer, Integer>) nullKey));
        Entry<@Nullable Integer, @Nullable Integer> nullValue = entry(23, null);
        assertThrows(
            NullPointerException.class,
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 36.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/AllocInfoTest.java

         */
        @Test
        @DisplayName("calling getters on null reference throws NPE")
        void testNullReference() {
            AllocInfo nullRef = null;
            assertThrows(NullPointerException.class, () -> nullRef.getCapacity());
            assertThrows(NullPointerException.class, () -> nullRef.getFree());
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionToArrayTester.java

              subArray.contains(expectedSubArray[i]));
        }
        assertNull(
            "The array element immediately following the end of the collection should be nulled",
            array[getNumElements()]);
        // array[getNumElements() + 1] might or might not have been nulled
      }
    
      @CollectionFeature.Require(KNOWN_ORDER)
      public void testToArray_oversizedArray_ordered() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 08 18:35:13 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java

            String path = "/share/file.txt";
    
            // Test full lease
            Smb2LeaseKey fullKey = leaseManager.requestLease(path + "1", Smb2LeaseState.SMB2_LEASE_FULL);
            leaseManager.updateLease(fullKey, Smb2LeaseState.SMB2_LEASE_FULL);
            LeaseEntry fullEntry = leaseManager.getLease(fullKey);
    
            assertTrue(fullEntry.hasReadCache());
            assertTrue(fullEntry.hasWriteCache());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

     * of the public API. In particular, this class can be changed or deleted without prior notice.
     *
     */
    public class RepositoryUtils {
    
        private static String nullify(String string) {
            return (string == null || string.isEmpty()) ? null : string;
        }
    
        public static org.apache.maven.artifact.Artifact toArtifact(Dependency dependency) {
            if (dependency == null) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Sep 04 18:33:16 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java

            // Prepare test data with null-terminated filename
            String expectedFilename = "nullterm.txt";
            byte[] buffer = createValidBufferWithNullTermination(expectedFilename, "NULLTE~1.TXT", true);
    
            // Decode
            fileBothDirectoryInfo.decode(buffer, 0, buffer.length);
    
            // Verify - the decode method strips null termination, so filename should match
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  9. docs/fr/docs/history-design-future.md

    > Quelle est l'histoire de ce projet ? Il semble être sorti de nulle part et est devenu génial en quelques semaines [...].
    
    Voici un petit bout de cette histoire.
    
    ## Alternatives
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/TreeMultiset.java

            }
          }
    
          @Override
          public Entry<E> next() {
            if (!hasNext()) {
              throw new NoSuchElementException();
            }
            // requireNonNull is safe because current is only nulled out after iteration is complete.
            Entry<E> result = wrapEntry(requireNonNull(current));
            prevEntry = result;
            if (current.succ() == header) {
              current = null;
            } else {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 09 15:58:48 UTC 2025
    - 33.9K bytes
    - Viewed (0)
Back to top