Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 4,648 for new1 (0.03 sec)

  1. src/test/java/jcifs/smb1/smb1/InfoTest.java

        }
    
        @Test
        void testTrans2QueryPathUnsupportedLevel() throws Exception {
            Trans2QueryPathInformationResponse trans = new Trans2QueryPathInformationResponse(9999) {
            };
            assertEquals(0, trans.readDataWireFormat(new byte[10], 0, 10));
            java.lang.reflect.Field infoField = Trans2QueryPathInformationResponse.class.getDeclaredField("info");
            infoField.setAccessible(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K 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/org/codelibs/fess/helper/RelatedQueryHelperTest.java

        }
    
        public void test_load_virtualHosts() {
            List<RelatedQuery> testData = new ArrayList<>();
            testData.add(createRelatedQuery("term1", new String[] { "query1" }, "host1"));
            testData.add(createRelatedQuery("term1", new String[] { "query2" }, "host2"));
            testData.add(createRelatedQuery("term2", new String[] { "query3" }, ""));
            mockBhv.setTestData(testData);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  4. 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)
  5. src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java

                context = new PreauthIntegrityNegotiateContext(mockConfig, new int[3], new byte[32]);
                assertEquals(4 + 6 + 32, context.size()); // header + 3*2 + 32
    
                context = new PreauthIntegrityNegotiateContext(mockConfig, null, new byte[16]);
                assertEquals(4 + 16, context.size());
    
                context = new PreauthIntegrityNegotiateContext(mockConfig, new int[5], null);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K 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/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/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)
  9. src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java

            verifyTokenKeep(this::asIndexHtml);
    
            final String diagnosticId = "log" + new SimpleDateFormat("yyyyMMddHHmm").format(ComponentUtil.getSystemHelper().getCurrentTime());
            return asStream(diagnosticId + ".zip").contentTypeOctetStream().stream(out -> {
                try (ZipOutputStream zos = new ZipOutputStream(out.stream())) {
                    writeLogFiles(zos, diagnosticId);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/persistent/HandleReconnectorTest.java

        public void setUp() {
            MockitoAnnotations.openMocks(this);
            reconnector = new HandleReconnector(mockManager, 2, 50); // 2 retries, 50ms delay
    
            HandleGuid guid = new HandleGuid();
            byte[] fileId = new byte[16];
            for (int i = 0; i < 16; i++) {
                fileId[i] = (byte) (i + 1);
            }
    
            testHandle = new HandleInfo("/test/file.txt", guid, fileId, HandleType.DURABLE_V2, 120000, null);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
Back to top