Search Options

Results per page
Sort
Preferred Languages
Advance

Results 661 - 670 of 4,648 for new1 (0.07 sec)

  1. src/test/java/jcifs/smb1/dcerpc/msrpc/samrTest.java

                // Given: SAM array with one entry
                samr.SamrSamArray array = new samr.SamrSamArray();
                array.count = 1;
                samr.SamrSamEntry entry = new samr.SamrSamEntry();
                entry.name = new rpc.unicode_string();
                array.entries = new samr.SamrSamEntry[] { entry };
    
                // When: Encoding array
                array.encode(mockNdrBuffer);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbSessionImpl.java

            this.transport = transport.acquire();
            this.trees = new CopyOnWriteArrayList<>();
            this.credentials = tf.getCredentials().unwrap(CredentialsInternal.class).clone();
    
            // Initialize multi-channel support
            this.channelManager = new ChannelManager(tf, this);
    
            // Initialize SMB3 feature managers
            this.leaseManager = new LeaseManager(tf);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java

            // Arrange
            byte[] dst = new byte[100];
            int dstIndex = 50;
    
            // Act
            int result = response.writeSetupWireFormat(dst, dstIndex);
    
            // Assert
            assertEquals(0, result);
        }
    
        @Test
        @DisplayName("writeParametersWireFormat should return 0")
        void testWriteParametersWireFormat() {
            // Arrange
            byte[] dst = new byte[100];
            int dstIndex = 0;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/pac/kerberos/KerberosEncData.java

            } catch (GeneralSecurityException e) {
                throw new GeneralSecurityException("Checksum failed while decrypting.");
            }
            byte[] ivec = new byte[8];
            IvParameterSpec params = new IvParameterSpec(ivec);
    
            SecretKeySpec skSpec = new SecretKeySpec(key.getEncoded(), "DES");
            SecretKey sk = skSpec;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/validation/UriTypeValidatorTest.java

            String values;
    
            protocols = new String[] { "http:" };
            values = "http://www.foo.com/";
            assertTrue(UriTypeValidator.check(protocols, values));
    
            protocols = new String[] { "http:" };
            values = "http://www.foo.com/\nhttp://www.bar.com/";
            assertTrue(UriTypeValidator.check(protocols, values));
    
            protocols = new String[] { "http:" };
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/compression/CompressionNegotiateContextTest.java

        private CompressionNegotiateContext context;
    
        @BeforeEach
        public void setUp() throws Exception {
            Properties props = new Properties();
            config = new PropertyConfiguration(props);
            context = new CompressionNegotiateContext(config, new int[] { CompressionNegotiateContext.COMPRESSION_LZ77,
                    CompressionNegotiateContext.COMPRESSION_LZ77_HUFFMAN, CompressionNegotiateContext.COMPRESSION_LZNT1 });
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/IterablesTest.java

      @GwtIncompatible // Iterables.filter(Iterable, Class)
      public void testFilterByType_iterator() throws Exception {
        HasBoth hasBoth = new HasBoth();
        Iterable<TypeA> alist = Lists.newArrayList(new TypeA(), new TypeA(), hasBoth, new TypeA());
        Iterable<TypeB> blist = filter(alist, TypeB.class);
        assertThat(blist).containsExactly(hasBoth).inOrder();
      }
    
      public void testTransform_iterator() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 45.2K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java

        return ListTestSuiteBuilder.using(
                new TestStringListGenerator() {
                  @Override
                  protected List<String> create(String[] elements) {
                    // For this test we trust ArrayList works
                    List<String> list = new ArrayList<>();
                    Collections.addAll(list, elements);
                    return new AbstractSequentialList<String>() {
                      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 15:04:05 UTC 2025
    - 12K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/Smb2CancelRequestTest.java

            // When
            Integer timeout = request.getOverrideTimeout();
    
            // Then
            assertNull(timeout, "Cancel requests should not override timeout");
        }
    
        @Test
        @DisplayName("Test allowChain returns false")
        void testAllowChain() {
            // Given
            Smb2CancelRequest request = new Smb2CancelRequest(mockConfig, 1L, 0L);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ImmutableSetTest.java

                  return false;
                }
              }
              return true;
            };
        TypeWithDuplicates a = new TypeWithDuplicates(1, 1);
        TypeWithDuplicates b1 = new TypeWithDuplicates(2, 1);
        TypeWithDuplicates b2 = new TypeWithDuplicates(2, 2);
        TypeWithDuplicates c = new TypeWithDuplicates(3, 1);
        CollectorTester.of(collector, equivalence)
            .expectCollects(ImmutableSet.of(a, b1, c), a, b1, c, b2);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 14.2K bytes
    - Viewed (0)
Back to top