Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 4,353 for news (0.02 sec)

  1. src/test/java/jcifs/internal/SmbNegotiationRequestTest.java

        @DisplayName("Test different implementations can have different behaviors")
        void testDifferentImplementations() {
            // Given
            SmbNegotiationRequest enforcedRequest = new TestSmbNegotiationRequest(true);
            SmbNegotiationRequest notEnforcedRequest = new TestSmbNegotiationRequest(false);
    
            // When & Then
            assertTrue(enforcedRequest.isSigningEnforced(), "Enforced request should return true");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/LabelTypeHelperTest.java

            super.setUp();
            labelTypeHelper = new LabelTypeHelper();
            ComponentUtil.register(new SystemHelper(), "systemHelper");
            ComponentUtil.register(new MockLabelTypeService(), LabelTypeService.class.getCanonicalName());
            ComponentUtil.register(new MockVirtualHostHelper(), "virtualHostHelper");
            ComponentUtil.register(new MockRoleQueryHelper(), "roleQueryHelper");
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  3. 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)
  4. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

            useNTSmbs = file.tree.session.transport.hasCapability(SmbConstants.CAP_NT_SMBS);
            if (useNTSmbs) {
                reqx = new SmbComWriteAndX();
                rspx = new SmbComWriteAndXResponse();
            } else {
                req = new SmbComWrite();
                rsp = new SmbComWriteResponse();
            }
        }
    
        /**
         * Closes this output stream and releases any system resources associated
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

        protected SmbResourceLocatorImpl clone() {
            final SmbResourceLocatorImpl loc = new SmbResourceLocatorImpl(this.ctx, this.url);
            loc.canon = this.canon;
            loc.share = this.share;
            loc.dfsReferral = this.dfsReferral;
            loc.unc = this.unc;
            if (this.addresses != null) {
                loc.addresses = new UniAddress[this.addresses.length];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. src/main/java/jcifs/smb1/smb1/SmbTransport.java

        OutputStream out;
        InputStream in;
        byte[] sbuf = new byte[512]; /* small local buffer */
        SmbComBlankResponse key = new SmbComBlankResponse();
        long sessionExpiration = System.currentTimeMillis() + SO_TIMEOUT;
        LinkedList referrals = new LinkedList();
        SigningDigest digest = null;
        LinkedList sessions = new LinkedList();
        ServerData server = new ServerData();
        /* Negotiated values */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java

            byte[] originalBuffer = new byte[8];
            SMBUtil.writeInt8(expectedIndexNumber, originalBuffer, 0);
    
            // Decode into first instance
            FileInternalInfo firstInstance = new FileInternalInfo();
            firstInstance.decode(originalBuffer, 0, originalBuffer.length);
    
            // Encode from first instance
            byte[] encodedBuffer = new byte[8];
            firstInstance.encode(encodedBuffer, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
Back to top