Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 4,230 for new1 (0.02 sec)

  1. src/main/java/jcifs/util/SecureCredentialStorage.java

            if (masterPassword == null || masterPassword.length == 0) {
                throw new IllegalArgumentException("Master password cannot be null or empty");
            }
    
            // Generate salt for key derivation
            this.salt = new byte[SALT_SIZE];
            secureRandom.nextBytes(this.salt);
    
            // Derive master key from password
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

            mockUrl = new URL("http://test.example.com/path");
    
            // Basic setup for mocks to avoid NullPointerExceptions
            when(mockConnection.getURL()).thenReturn(mockUrl);
            when(mockConnection.getRequestProperties()).thenReturn(new HashMap<>());
    
            // Mock CIFSContext behavior
            NtlmPasswordAuthentication creds = new NtlmPasswordAuthentication(
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        // ? extends T
        assertAssignable(new TypeToken<List<N11>>() {}, new TypeToken<List<? extends N1>>() {});
        assertNotAssignable(new TypeToken<List<N1>>() {}, new TypeToken<List<? extends N11>>() {});
        assertNotAssignable(new TypeToken<List<Number>>() {}, new TypeToken<List<? extends N11>>() {});
    
        // ? extends Number
        assertAssignable(new TypeToken<List<N1>>() {}, new TypeToken<List<? extends Number>>() {});
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Sep 02 17:23:59 UTC 2025
    - 89K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/ndr/NdrSmallTest.java

            // Test with a value within the byte range
            NdrSmall ndrSmall = new NdrSmall(123);
            assertEquals(123, ndrSmall.value, "Value should be initialized correctly for valid input.");
        }
    
        @Test
        void testConstructor_maxValue() {
            // Test with the maximum byte value
            NdrSmall ndrSmall = new NdrSmall(255);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

        @DisplayName("Should return negotiate contexts")
        void testGetNegotiateContexts() throws Exception {
            // Given
            NegotiateContextResponse[] contexts = new NegotiateContextResponse[2];
            contexts[0] = new EncryptionNegotiateContext();
            contexts[1] = new PreauthIntegrityNegotiateContext();
            setPrivateField(response, "negotiateContexts", contexts);
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbCopyUtil.java

                        final Smb2SetInfoRequest req = new Smb2SetInfoRequest(dh.getConfig(), dfd.getFileId());
                        req.setFileInformation(new FileBasicInfo(ctime, atime, mtime, 0L, attrs));
                        dh.send(req);
                    } else if (dh.hasCapability(SmbConstants.CAP_NT_SMBS)) {
                        // use the open file descriptor
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/opensearch/client/CrawlerEngineClientTest.java

            // Test that constructor works in different thread
            final CrawlerEngineClient[] clientHolder = new CrawlerEngineClient[1];
            final Exception[] exceptionHolder = new Exception[1];
    
            Thread thread = new Thread(() -> {
                try {
                    clientHolder[0] = new CrawlerEngineClient();
                } catch (Exception e) {
                    exceptionHolder[0] = e;
                }
            });
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

        URL url1 = new URL("file:/a");
        URL url2 = new URL("file:/b");
        URLClassLoader grandParent = new URLClassLoader(new URL[] {url1}, null);
        URLClassLoader parent = new URLClassLoader(new URL[] {url2}, grandParent);
        assertThat(ClassPath.getClassPathEntries(new ClassLoader(parent) {}))
            .containsExactly(new File("/a"), grandParent, new File("/b"), parent);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 20:58:01 UTC 2025
    - 23K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/collection/CollectionsUtil.java

         * @return a new instance of {@link ArrayDeque}
         * @see ArrayDeque#ArrayDeque(int)
         */
        public static <E> ArrayDeque<E> newArrayDeque(final int numElements) {
            return new ArrayDeque<>(numElements);
        }
    
        /**
         * Creates and returns a new instance of {@link ArrayList}.
         *
         * @param <E> the element type of {@link ArrayList}
         * @return a new instance of {@link ArrayList}
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 49.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorSecurityTest.java

        }
    
        @Test
        public void testEqualsWithPassword() {
            NtlmPasswordAuthenticator auth1 = new NtlmPasswordAuthenticator("DOMAIN", "user", "pass123");
            NtlmPasswordAuthenticator auth2 = new NtlmPasswordAuthenticator("DOMAIN", "user", "pass123");
            NtlmPasswordAuthenticator auth3 = new NtlmPasswordAuthenticator("DOMAIN", "user", "differentPass");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.5K bytes
    - Viewed (0)
Back to top