Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 3,812 for new2 (0.06 sec)

  1. src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java

        void setUp() {
            MockitoAnnotations.openMocks(this);
            when(mockContext.getConfig()).thenReturn(mockConfig);
    
            testFileId = new byte[16];
            new SecureRandom().nextBytes(testFileId);
            outputBuffer = new byte[4096];
            request = new Smb2ReadRequest(mockConfig, testFileId, outputBuffer, 0);
        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

        testSortDescending(new long[] {}, 0, 0, new long[] {});
        testSortDescending(new long[] {1}, 0, 1, new long[] {1});
        testSortDescending(new long[] {1, 2}, 0, 2, new long[] {2, 1});
        testSortDescending(new long[] {1, 3, 1}, 0, 2, new long[] {3, 1, 1});
        testSortDescending(new long[] {1, 3, 1}, 0, 1, new long[] {1, 3, 1});
        testSortDescending(
            new long[] {GREATEST - 1, 1, GREATEST - 2, 2},
            1,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/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.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/it/search/SearchApiTests.java

            Map<String, String> andParams = new HashMap<>();
            andParams.put("q", query.replace("OR", "AND"));
            String andResponse = checkMethodBase(new HashMap<>()).params(andParams).get("/api/v1/documents").asString();
            int andRecordCount = JsonPath.from(andResponse).getInt("record_count");
    
            Map<String, String> params = new HashMap<>();
            params.put("q", query);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponseTest.java

        void testMultipleInstances() {
            // Arrange
            TransPeekNamedPipeResponse response1 = new TransPeekNamedPipeResponse(mockConfig);
            TransPeekNamedPipeResponse response2 = new TransPeekNamedPipeResponse(mockConfig);
    
            // Act
            byte[] buffer = new byte[10];
            SMBUtil.writeInt2(100, buffer, 0);
            SMBUtil.writeInt2(0, buffer, 2);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbOperationExceptionTest.java

            java.io.ByteArrayOutputStream baos = new java.io.ByteArrayOutputStream();
            java.io.ObjectOutputStream oos = new java.io.ObjectOutputStream(baos);
            oos.writeObject(exception);
            oos.close();
    
            // And deserialize
            java.io.ByteArrayInputStream bais = new java.io.ByteArrayInputStream(baos.toByteArray());
            java.io.ObjectInputStream ois = new java.io.ObjectInputStream(bais);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/NtlmContextTest.java

            NtlmContext context = new NtlmContext(mockAuth, true);
            context.initSecContext(new byte[0], 0, 0); // state -> 2
    
            byte[] serverChallenge = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 };
            int type2Flags = NtlmFlags.NTLMSSP_NEGOTIATE_NTLM | NtlmFlags.NTLMSSP_REQUEST_TARGET;
            Type2Message type2Message = new Type2Message(type2Flags, serverChallenge, domain);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/curl/CurlRequest.java

                            }
                        } else if ("head".equalsIgnoreCase(con.getRequestMethod())) {
                            return new ByteArrayInputStream(new byte[0]);
                        } else {
                            if (GZIP.equals(con.getContentEncoding())) {
                                return new GZIPInputStream(con.getErrorStream());
                            } else {
                                return con.getErrorStream();
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

            } catch (final UnknownHostException uhe) {}
    
            snd_buf = new byte[SND_BUF_SIZE];
            rcv_buf = new byte[RCV_BUF_SIZE];
            out = new DatagramPacket(snd_buf, SND_BUF_SIZE, baddr, NAME_SERVICE_UDP_PORT);
            in = new DatagramPacket(rcv_buf, RCV_BUF_SIZE);
    
            if (RO == null || RO.length() == 0) {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbTransportImpl.java

            final Name calledName = new Name(tc.getConfig(), this.address.firstCalledName(), 0x20, null);
            do {
                this.socket = new Socket();
                if (this.localAddr != null) {
                    this.socket.bind(new InetSocketAddress(this.localAddr, this.localPort));
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
Back to top