Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2521 - 2530 of 3,758 for null (0.02 sec)

  1. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java

        }
    
        @Test
        void testReadDataWireFormatNullOutputBuffer() {
            // Test behavior when outputBuffer is null (edge case)
            TransTransactNamedPipeResponse nullBufferResponse = new TransTransactNamedPipeResponse(mockConfig, null);
            byte[] buffer = new byte[100];
    
            assertThrows(NullPointerException.class, () -> nullBufferResponse.readDataWireFormat(buffer, 0, 50));
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  2. docs/changelogs/changelog_2x.md

           <version>1.4.0</version>
         </dependency>
         ```
    
     *  **`Request.Builder` no longer accepts null if a request body is required.**
        Passing null will now fail for request methods that require a body. Instead
        use an empty body such as this one:
    
        ```java
            RequestBody.create(null, new byte[0]);
        ```
    
     * **`CertificatePinner` now supports wildcard hostnames.** As always with
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 26.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/pac/PacDataInputStream.java

        }
    
        /**
         * Reads a Windows FILETIME value and converts it to a Date.
         * @return the Date object, or null if the time represents infinity
         * @throws IOException if an I/O error occurs
         */
        public Date readFiletime() throws IOException {
            Date date = null;
    
            final long last = readUnsignedInt();
            final long first = readUnsignedInt();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/dict/DictionaryCreator.java

         * @param timestamp the timestamp of the dictionary file
         * @return a DictionaryFile instance if the path matches, null otherwise
         */
        public DictionaryFile<? extends DictionaryItem> create(final String path, final Date timestamp) {
            if (!isTarget(path)) {
                return null;
            }
    
            return newDictionaryFile(encodePath(path), path, timestamp);
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/ExchangeCodec.kt

      fun finishRequest()
    
      /**
       * Parses bytes of a response header from an HTTP transport.
       *
       * @param expectContinue true to return null if this is an intermediate response with a "100"
       * response code. Otherwise this method never returns null.
       */
      @Throws(IOException::class)
      fun readResponseHeaders(expectContinue: Boolean): Response.Builder?
    
      @Throws(IOException::class)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 21:11:09 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponse.java

            // bufferIndex = bufferOffset;
    
            final List<FileEntry> infos = new ArrayList<>();
            do {
                final FileBothDirectoryInfo cur = createFileInfo();
                if (cur == null) {
                    break;
                }
                cur.decode(buffer, bufferIndex, bufferLength);
                infos.add(cur);
                final int nextEntryOffset = cur.getNextEntryOffset();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/ProcessHelperTest.java

            List<String> cmdList = Arrays.asList("echo", "hello");
    
            try {
                JobProcess jobProcess = processHelper.startProcess(sessionId, cmdList, null);
                fail("Expected exception for null callback");
            } catch (Exception e) {
                // Expected - null callback should cause exception
                assertTrue(e instanceof NullPointerException);
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java

            CIFSContext nullConfigContext = mock(CIFSContext.class);
            when(nullConfigContext.getConfig()).thenReturn(null);
    
            // When
            Smb2TreeDisconnectResponse response = request.createResponse(nullConfigContext, request);
    
            // Then - response is created even with null config
            assertNotNull(response);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java

        }
    
        @AfterEach
        public void tearDown() throws Exception {
            if (directoryLeaseManager != null) {
                directoryLeaseManager.shutdown();
            }
            if (baseLeaseManager != null) {
                baseLeaseManager.shutdown();
            }
            if (mocks != null) {
                mocks.close();
            }
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/DoublesTest.java

       * Double#valueOf}.
       */
      private static @Nullable Double referenceTryParse(String input) {
        if (input.trim().length() < input.length()) {
          return null;
        }
        try {
          return Double.valueOf(input);
        } catch (NumberFormatException e) {
          return null;
        }
      }
    
      @GwtIncompatible // Doubles.tryParse
      private static void checkTryParse(String input) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.9K bytes
    - Viewed (0)
Back to top