Search Options

Results per page
Sort
Preferred Languages
Advance

Results 531 - 540 of 3,758 for null (0.04 sec)

  1. android/guava-tests/test/com/google/common/collect/AbstractTableTest.java

        assertThrows(NullPointerException.class, () -> table.put(null, 2, cellValue('d')));
        assertThrows(NullPointerException.class, () -> table.put("cat", null, cellValue('d')));
        if (supportsNullValues()) {
          assertNull(table.put("cat", 2, null));
          assertTrue(table.contains("cat", 2));
        } else {
          assertThrows(NullPointerException.class, () -> table.put("cat", 2, null));
        }
        assertSize(3);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Preconditions.java

        }
      }
    
      /*
       * Preconditions.checkNotNull is *intended* for performing eager null checks on parameters that a
       * nullness checker can already "prove" are non-null. That means that the first parameter to
       * checkNotNull *should* be annotated to require it to be non-null.
       *
       * However, for a variety of reasons, Google developers have written a ton of code over the past
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 10 22:11:00 UTC 2025
    - 53K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

          if (entry.getKey() == null) {
            tryDrainReferenceQueues();
            return null;
          }
          V value = entry.getValue();
          if (value == null) {
            tryDrainReferenceQueues();
            return null;
          }
    
          return value;
        }
    
        /**
         * Performs routine cleanup following a read. Normally cleanup happens during writes, or from
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 90K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

      private <T extends Iterator<E>> void internalExecuteAndCompare(
          T reference, T target, IteratorOperation method) {
        Object referenceReturnValue = null;
        PermittedMetaException referenceException = null;
        Object targetReturnValue = null;
        Exception targetException = null;
    
        try {
          targetReturnValue = method.execute(target);
        } catch (Exception e) { // sneaky checked exception
          targetException = e;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java

    @J2ktIncompatible
    @GwtIncompatible
    public final class ThreadFactoryBuilder {
      private @Nullable String nameFormat = null;
      private @Nullable Boolean daemon = null;
      private @Nullable Integer priority = null;
      private @Nullable UncaughtExceptionHandler uncaughtExceptionHandler = null;
      private @Nullable ThreadFactory backingThreadFactory = null;
    
      /**
       * Creates a new {@link ThreadFactory} builder.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:35:26 UTC 2025
    - 9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/msrpc/srvsvcTest.java

            srvsvc.ShareInfo0 shareInfo0 = new srvsvc.ShareInfo0();
            shareInfo0.netname = null;
    
            shareInfo0.encode(mockNdrBuffer);
    
            // Verify the encode operations
            verify(mockNdrBuffer).align(4);
            verify(mockNdrBuffer).enc_ndr_referent(null, 1);
            // Should not encode string if netname is null
            verify(mockDeferredBuffer, never()).enc_ndr_string(anyString());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java

        /**
         * Get existing handle data for reconnection
         * @param path the file path
         * @return the file ID if available, null otherwise
         */
        public byte[] getExistingHandle(String path) {
            HandleInfo info = getHandleForReconnect(path);
            return info != null ? info.getFileId() : null;
        }
    
        /**
         * Store handle information after successful create
         * @param path the file path
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/EqualsTester.java

       * <p>The {@code @Nullable} annotations on the {@code equalityGroup} parameter imply that the
       * objects, and the array itself, can be null. That is for programmer convenience, when the
       * objects come from factory methods that are themselves {@code @Nullable}. In reality neither the
       * array nor its contents can be null, but it is not useful to force the use of {@code
       * requireNonNull} or the like just to assert that.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/sso/SsoAuthenticatorTest.java

            private boolean resolveCalled = false;
            private Class<?> lastCredentialType;
            private Function<?, ?> lastFunction;
    
            public TestLoginCredentialResolver() {
                super(null); // Pass null since we're mocking
            }
    
            @Override
            public <CREDENTIAL extends LoginCredential> void resolve(final Class<CREDENTIAL> credentialType,
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11K bytes
    - Viewed (1)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

        protected ResponseData processRequest(final String uri, final boolean includeContent) {
            if (ftpAuthenticationHolder == null) {
                init();
            }
    
            // start
            AccessTimeoutTarget accessTimeoutTarget = null;
            TimeoutTask accessTimeoutTask = null;
            if (accessTimeout != null) {
                accessTimeoutTarget = new AccessTimeoutTarget(Thread.currentThread());
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 39.5K bytes
    - Viewed (0)
Back to top