Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1561 - 1570 of 3,758 for null (0.02 sec)

  1. src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java

        }
    
        @Test
        @DisplayName("Should handle null preauth integrity for SMB 3.0.0")
        void testDeriveKeys_NullPreauthForSMB300() {
            // Given
            int dialect = Smb2Constants.SMB2_DIALECT_0300;
    
            // When - SMB 3.0.0 doesn't use preauth integrity, so null should be acceptable
            byte[] signingKey = Smb3KeyDerivation.deriveSigningKey(dialect, sessionKey, null);
    
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CertificatePinner.kt

          var sha1: ByteString? = null
          var sha256: ByteString? = null
    
          for (pin in pins) {
            when (pin.hashAlgorithm) {
              "sha256" -> {
                if (sha256 == null) sha256 = peerCertificate.sha256Hash()
                if (pin.hash == sha256) return // Success!
              }
              "sha1" -> {
                if (sha1 == null) sha1 = peerCertificate.sha1Hash()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/beans/MethodDesc.java

         */
        Class<?> getValueClassOfMap(int index);
    
        /**
         * Returns the element type if the return type of the method is a parameterized {@link Collection}.
         *
         * @return the element type if the return type of the method is a parameterized {@link Collection}, otherwise {@literal null}
         */
        Class<?> getElementClassOfCollection();
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndX.java

                        ntHash = auth.getUnicodeHash(session.transport.server.encryptionKey);
                        // prohibit HTTP auth attempts for the null session
                        if (lmHash.length == 0 && ntHash.length == 0) {
                            throw new RuntimeException("Null setup prohibited.");
                        }
                    } else if (DISABLE_PLAIN_TEXT_PASSWORDS) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/collection/EnumerationIterator.java

     */
    public class EnumerationIterator<T> implements Iterator<T> {
    
        private Enumeration<T> enumeration = null;
    
        /**
         * Returns an {@link Iterable} that wraps an {@link Enumeration} for use in a for-each statement.
         *
         * @param <T> the element type
         * @param enumeration the enumeration (must not be {@literal null})
         * @return an {@link Iterable} wrapping the enumeration
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponseTest.java

            int bytesRead = response.readDataWireFormat(buffer, 0, buffer.length);
    
            assertEquals(20, bytesRead, "Should read 20 bytes");
            assertNotNull(response.info, "Info object should not be null");
            assertTrue(response.info instanceof Trans2QueryFSInformationResponse.SmbInfoAllocation, "Info should be of type SmbInfoAllocation");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/witness/WitnessAsyncNotifyMessage.java

            if (pointer == 0) {
                return null; // NULL pointer
            }
    
            int maxCount = buf.dec_ndr_long();
            int offset = buf.dec_ndr_long();
            int actualCount = buf.dec_ndr_long();
    
            if (actualCount <= 0) {
                return "";
            }
    
            // Read wide string data (UTF-16LE)
            int byteCount = (actualCount - 1) * 2; // Exclude null terminator
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/ldap/LdapUserTest.java

            assertEquals("b", result[1]);
            assertEquals("c", result[2]);
        }
    
        public void test_distinct_withNullElements() {
            // Test distinct with null elements
            String[] input = new String[] { "a", null, "b", null, "a" };
            String[] result = invokeDistinct(input);
            assertEquals(3, result.length);
            assertEquals("a", result[0]);
            assertNull(result[1]);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/wizard/AdminWizardAction.java

                    wConfig.setAvailable(Constants.T);
                    wConfig.setBoost(1.0f);
                    wConfig.setCreatedBy(username);
                    wConfig.setCreatedTime(now);
                    if (form.depth != null) {
                        wConfig.setDepth(form.depth);
                    }
                    wConfig.setExcludedDocUrls(getDefaultString("default.config.web.excludedDocUrls", StringUtil.EMPTY));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/rdma/RdmaBufferManagerTest.java

            if (bufferManager != null) {
                bufferManager.cleanup();
            }
            if (mocks != null) {
                mocks.close();
            }
        }
    
        @Test
        public void testGetSendRegion() throws Exception {
            RdmaMemoryRegion region = bufferManager.getSendRegion(1024);
            assertNotNull(region, "Send region should not be null");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.1K bytes
    - Viewed (0)
Back to top