Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1801 - 1810 of 4,195 for nulls (0.02 sec)

  1. src/test/java/jcifs/smb/FileEntryTest.java

        class MockitoEdgeCases {
            @Test
            @DisplayName("getName can return null and empty strings via mock")
            void mock_nameEdgeValues() {
                // Arrange
                when(mockEntry.getName()).thenReturn(null, "", " ");
    
                // Act & Assert
                assertNull(mockEntry.getName(), "first call returns null");
                assertEquals("", mockEntry.getName(), "second call returns empty");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/PreauthIntegrityTest.java

        }
    
        private Field findField(Class<?> clazz, String fieldName) {
            while (clazz != null) {
                try {
                    return clazz.getDeclaredField(fieldName);
                } catch (NoSuchFieldException e) {
                    clazz = clazz.getSuperclass();
                }
            }
            return null;
        }
    
        private Method findMethod(Class<?> clazz, String methodName, Class<?>... paramTypes) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/DenseImmutableTable.java

      public @Nullable V get(@Nullable Object rowKey, @Nullable Object columnKey) {
        Integer rowIndex = rowKeyToIndex.get(rowKey);
        Integer columnIndex = columnKeyToIndex.get(columnKey);
        return ((rowIndex == null) || (columnIndex == null)) ? null : values[rowIndex][columnIndex];
      }
    
      @Override
      public int size() {
        return cellRowIndices.length;
      }
    
      @Override
      Cell<R, C, V> getCell(int index) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 21:07:18 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/http/NtlmServlet.java

            final String msg = request.getHeader("Authorization");
            if (msg != null && (msg.startsWith("NTLM ") || offerBasic && msg.startsWith("Basic "))) {
                if (this.loadBalance) {
                    dc = new UniAddress(getTransportContext().getNameServiceClient().getNbtByName(this.domainController, 0x1C, null));
                } else {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.1K bytes
    - Viewed (1)
  5. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

            this.text = String.join(SuggestConstants.TEXT_SEPARATOR, text);
            this.readings = readings;
            this.fields = fields != null ? fields : new String[] {};
            this.tags = tags != null ? tags : new String[] {};
    
            if (roles == null || roles.length == 0) {
                this.roles = new String[] { SuggestConstants.DEFAULT_ROLE };
            } else {
                this.roles = new String[roles.length];
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 25.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/context/AbstractCIFSContext.java

         *
         * @see jcifs.CIFSContext#withGuestCrendentials()
         */
        @Override
        public CIFSContext withGuestCrendentials() {
            return withCredentials(new NtlmPasswordAuthenticator(null, null, (String) null, AuthenticationType.GUEST));
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.CIFSContext#getCredentials()
         */
        @Override
        public Credentials getCredentials() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsItem.java

        public String getInput() {
            return input;
        }
    
        /**
         * Gets the value of the stopword.
         *
         * @return The stopword value, or an empty string if null.
         */
        public String getInputValue() {
            if (input == null) {
                return StringUtil.EMPTY;
            }
            return input;
        }
    
        /**
         * Checks if the item has been updated.
         *
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 07:09:00 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/ShareEnumIterator.java

        }
    
        /**
         * @return next element
         */
        private SmbResource advance() {
            while (this.delegate.hasNext()) {
                final FileEntry n = this.delegate.next();
                if (this.filter == null) {
                    try {
                        return adapt(n);
                    } catch (final MalformedURLException e) {
                        log.error("Failed to create child URL", e);
                        continue;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  9. okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/OpenJSSEPlatform.kt

        if (sslSocket is org.openjsse.javax.net.ssl.SSLSocket) {
          when (val protocol = sslSocket.applicationProtocol) {
            // Handles both un-configured and none selected.
            null, "" -> null
            else -> protocol
          }
        } else {
          super.getSelectedProtocol(sslSocket)
        }
    
      companion object {
        val isSupported: Boolean =
          try {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/LineReader.java

       *     line-termination characters, or {@code null} if the end of the stream has been reached.
       * @throws IOException if an I/O error occurs
       */
      @CanIgnoreReturnValue // to skip a line
      public @Nullable String readLine() throws IOException {
        while (lines.peek() == null) {
          Java8Compatibility.clear(cbuf);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top