Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for CONTEXT2 (0.09 seconds)

  1. src/test/java/org/codelibs/fess/query/QueryCommandTemplateMethodTest.java

            // Manual implementation (for comparison)
            QueryBuilder result2;
            context2.addFieldLog("title", "test");
            context2.addHighlightedQuery("test");
            if (Constants.DEFAULT_FIELD.equals("title")) {
                result2 = queryCommand.buildDefaultQueryBuilder(fessConfig, context2,
                        (field, boost) -> QueryBuilders.matchQuery(field, "test").boost(boost));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java

            // Test with RECURSIVE_TREE scope (recursive flag set)
            DirectoryLeaseContext context2 = new DirectoryLeaseContext(key, 0, DirectoryCacheScope.RECURSIVE_TREE);
            context2.setNotificationEnabled(true);
    
            byte[] buffer2 = new byte[context2.size()];
            context2.encode(buffer2, 0);
    
            int flags2 = SMBUtil.readInt4(buffer2, 68);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 01:47:47 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

            SmbResourceLocator context2 = mock(SmbResourceLocator.class);
            when(context2.getShare()).thenReturn("share");
            when(context2.getDfsReferral()).thenReturn(null);
            when(context2.getUNCPath()).thenReturn("\\");
            when(context2.getURLPath()).thenReturn("/share/");
            when(context2.getServer()).thenReturn("server");
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.6K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            Smb2EncryptionContext context2 =
                    new Smb2EncryptionContext(EncryptionNegotiateContext.CIPHER_AES128_GCM, DialectVersion.SMB311, key2, key2);
    
            // When - Wipe keys from context1
            context1.secureWipeKeys();
    
            // Then - Context2 should still be functional
            assertDoesNotThrow(() -> {
                byte[] nonce = context2.generateNonce();
                assertNotNull(nonce);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 44.1K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java

                byte[] buffer = new byte[300];
    
                contexts[0] = new TestCreateContextResponse("CONTEXT1".getBytes(StandardCharsets.UTF_8));
                contexts[1] = new TestCreateContextResponse("CONTEXT2".getBytes(StandardCharsets.UTF_8));
                contexts[2] = new TestCreateContextResponse("CONTEXT3".getBytes(StandardCharsets.UTF_8));
    
                // Decode each context
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 16.2K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

                CreateContextRequest[] contexts = new CreateContextRequest[3];
                contexts[0] = new TestCreateContextRequest("CONTEXT1".getBytes(StandardCharsets.UTF_8));
                contexts[1] = new TestCreateContextRequest("CONTEXT2".getBytes(StandardCharsets.UTF_8));
                contexts[2] = new TestCreateContextRequest("CONTEXT3".getBytes(StandardCharsets.UTF_8));
    
                // Encode all contexts
                byte[] buffer = new byte[512];
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 24.9K bytes
    - Click Count (0)
Back to Top