Search Options

Results per page
Sort
Preferred Languages
Advance

Results 661 - 670 of 3,758 for null (0.02 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt

          try {
            cache[key] ?: return null
          } catch (_: IOException) {
            return null // Give up because the cache cannot be read.
          }
    
        val entry: Entry =
          try {
            Entry(snapshot.getSource(ENTRY_METADATA))
          } catch (_: IOException) {
            snapshot.closeQuietly()
            return null
          }
    
        val response = entry.response(snapshot)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFileInputStream.java

            try {
                final SmbFileHandleImpl h = this.handle;
                if (h != null) {
                    h.close();
                }
            } catch (final SmbException se) {
                throw seToIoe(se);
            } finally {
                this.tmp = null;
                this.handle = null;
                if (this.unsharedFile) {
                    this.file.close();
                }
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilder.java

         */
        @Nonnull
        ProjectBuilderResult build(ProjectBuilderRequest request) throws ProjectBuilderException;
    
        /**
         * Creates a {@link org.apache.maven.api.Project} from a POM file.
         *
         * @param session the {@link Session}, must not be {@code null}
         * @param source The {@link Source}, must not be {@code null}
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Nov 16 20:36:20 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrConnect2Test.java

            }
    
            @Test
            @DisplayName("should handle null policy handle")
            void testNullPolicyHandleHandled() {
                // Act & Assert - The constructor accepts null policy handle without throwing
                assertDoesNotThrow(() -> new MsrpcSamrConnect2("\\\\srv", 0, null));
            }
    
            @Test
            @DisplayName("should handle empty string as system name")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/entity/SearchRenderDataTest.java

            assertEquals(0L, searchRenderData.getRequestedTime());
            assertNull(searchRenderData.getQueryId());
        }
    
        public void test_setAndGetDocumentItems() {
            // Test with null
            searchRenderData.setDocumentItems(null);
            assertNull(searchRenderData.getDocumentItems());
    
            // Test with empty list
            List<Map<String, Object>> emptyList = new ArrayList<>();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  6. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

        private var bodyVar: MockResponseBody? = null
        private var socketHandlerVar: SocketHandler? = null
        private var webSocketListenerVar: WebSocketListener? = null
    
        public var body: MockResponseBody?
          get() = bodyVar
          private set(value) {
            bodyVar = value
            socketHandlerVar = null
            webSocketListenerVar = null
          }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  7. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchAccessResult.java

                builder.field(STATUS, status);
            }
            if (httpStatusCode != null) {
                builder.field(HTTP_STATUS_CODE, httpStatusCode);
            }
            if (method != null) {
                builder.field(METHOD, method);
            }
            if (mimeType != null) {
                builder.field(MIME_TYPE, mimeType);
            }
            if (createTime != null) {
                builder.field(CREATE_TIME, createTime);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/ntlmssp/av/AvFlagsTest.java

            assertNotNull(avFlags, "AvFlags object should not be null");
            assertEquals(0x04030201, avFlags.getFlags(), "Flags should match the raw bytes (little-endian)");
    
            // Test with zero
            byte[] zeroBytes = new byte[] { 0x00, 0x00, 0x00, 0x00 };
            AvFlags zeroAvFlags = new AvFlags(zeroBytes);
            assertNotNull(zeroAvFlags, "AvFlags object should not be null for zero bytes");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

            return LegacyLocalRepositoryManager.overlay(localRepository, legacySupport.getRepositorySession(), null);
        }
    
        private void injectSession1(RepositoryRequest request, MavenSession session) {
            if (session != null) {
                request.setOffline(session.isOffline());
                request.setForceUpdate(session.getRequest().isUpdateSnapshots());
            }
        }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 25K bytes
    - Viewed (0)
  10. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java

         * @return map of attribute names to values, never {@code null}
         */
        @Nonnull
        Map<String, String> attributes();
    
        /**
         * Returns the value of a specific attribute.
         *
         * @param name the name of the attribute to retrieve
         * @return the attribute value, or {@code null} if the attribute doesn't exist
         * @throws NullPointerException if name is null
         */
        @Nullable
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Jul 19 11:09:56 UTC 2025
    - 18.2K bytes
    - Viewed (0)
Back to top