Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2241 - 2250 of 3,758 for null (0.08 sec)

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

        }
    
        @Nested
        @DisplayName("Edge case values")
        class EdgeCases {
    
            @Test
            @DisplayName("Null name is allowed via mock")
            void nullName() {
                FileEntry mock = mock(FileEntry.class);
                when(mock.getName()).thenReturn(null);
                assertNull(mock.getName());
            }
    
            @Test
            @DisplayName("Negative length is allowed via mock")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/ClientAuthTest.kt

        return try {
          val keyManager =
            newKeyManager(
              null,
              serverCert,
              serverIntermediateCa.certificate,
            )
          val trustManager =
            newTrustManager(
              null,
              Arrays.asList(serverRootCa.certificate, clientRootCa.certificate),
              emptyList(),
            )
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlXpathExtractor.java

         * java.util.Map)
         */
        @Override
        public ExtractData getText(final InputStream in, final Map<String, String> params) {
            if (in == null) {
                throw new CrawlerSystemException("The inputstream is null.");
            }
            try {
                final BufferedInputStream bis = new BufferedInputStream(in);
                final String enc = getEncoding(bis);
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/curl/CurlResponseTest.java

            Map<String, List<String>> headers = new HashMap<>();
            headers.put(null, Arrays.asList("value"));
            headers.put("Content-Type", Arrays.asList("application/json"));
    
            response.setHeaders(headers);
    
            Map<String, List<String>> result = response.getHeaders();
            assertNotNull(result);
            assertEquals(1, result.size()); // null key should be filtered out
            assertTrue(result.containsKey("content-type"));
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/hash/ChecksumHashFunction.java

        @IgnoreJRERequirement // https://github.com/mojohaus/animal-sniffer/issues/67
        static boolean updateByteBuffer(Checksum cs, ByteBuffer bb) {
          if (UPDATE_BB != null) {
            try {
              UPDATE_BB.invokeExact(cs, bb);
            } catch (Throwable e) {
              // `update` has no `throws` clause.
              sneakyThrow(e);
            }
            return true;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXResponse.java

        private String primaryDomain = "";
    
        private boolean isLoggedInAsGuest;
        private byte[] blob = null;
    
        /**
         * Constructs a session setup AndX response.
         *
         * @param config the configuration to use
         * @param andx the next command in the AndX chain, or null
         */
        public SmbComSessionSetupAndXResponse(final Configuration config, final ServerMessageBlock andx) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java

         *
         * @param directoryPath directory path
         */
        public void stopWatching(String directoryPath) {
            ChangeNotificationHandle handle = activeWatchers.remove(directoryPath);
            if (handle != null) {
                handle.setActive(false);
                // Cancel any pending notifications
                cancelNotification(handle);
                // Clean up failure count to prevent memory leak
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java

                FileInfo existing = children.get(childName);
                FileInfo newInfo = new FileInfo(childName, size, lastModified, isDirectory, attributes, creationTime, lastAccessTime);
    
                if (existing == null || !existing.matches(size, lastModified, attributes)) {
                    children.put(childName, newInfo);
                    hasChanges = true;
                    lastUpdateTime = System.currentTimeMillis();
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  9. samples/guide/src/main/java/okhttp3/recipes/kt/Authenticate.kt

              override fun authenticate(
                route: Route?,
                response: Response,
              ): Request? {
                if (response.request.header("Authorization") != null) {
                  return null // Give up, we've already attempted to authenticate.
                }
    
                println("Authenticating for response: $response")
                println("Challenges: ${response.challenges()}")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/entity/SearchRequestParams.java

         *
         * @return The track total hits.
         */
        public String getTrackTotalHits() {
            return null;
        }
    
        /**
         * Returns the min score.
         *
         * @return The min score.
         */
        public Float getMinScore() {
            return null;
        }
    
        /**
         * Returns true if the request has a condition query, otherwise false.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8K bytes
    - Viewed (0)
Back to top