Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 59 for testkey (0.87 sec)

  1. src/test/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequestTest.java

        private LeaseV1CreateContextRequest leaseContext;
        private Smb2LeaseKey testKey;
        private int testState;
    
        @BeforeEach
        void setUp() {
            byte[] keyBytes = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10 };
            testKey = new Smb2LeaseKey(keyBytes);
            testState = Smb2LeaseState.SMB2_LEASE_READ_WRITE;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/lang/FieldUtilTest.java

        /** */
        public static final int INT_DATA = 987654321;
    
        /** */
        public static final String STRING_DATA = "Hello World!";
    
        /**
         * @throws Exception
         */
        @Test
        public void testGet() throws Exception {
            final Field field = getClass().getField("objectField");
            final Integer testData = Integer.valueOf(123);
            FieldUtil.set(field, this, testData);
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/CryptoTest.java

            assertNotEquals(new String(plaintext), new String(encrypted));
        }
    
        @Test
        @DisplayName("Should perform DES encryption/decryption")
        void testDES() throws Exception {
            // Given
            byte[] key = "testkey1".getBytes(); // 8 bytes for DES
            byte[] plaintext = "12345678".getBytes(); // 8 bytes (DES block size)
    
            // When
            Cipher desCipher = Crypto.getDES(key);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/dfs/DfsReferralDataInternal.java

        void setLink(String link);
    
        /**
         * Get the cache key for this referral
         *
         * @return cache key
         */
        String getKey();
    
        /**
         * Set the cache key for this referral
         *
         * @param key
         *            cache key
         */
        void setKey(String key);
    
        /**
         * Set the cache map for this referral
         *
         * @param map the cache map to associate with this referral
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/util/DocMap.java

                Collections.sort(list, (o1, o2) -> {
                    final String k1 = o1.getKey();
                    if (LANG_KEY.equals(k1)) {
                        return -1;
                    }
                    final String k2 = o2.getKey();
                    if (LANG_KEY.equals(k2)) {
                        return -1;
                    }
                    return k1.compareTo(k2);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/opensearch/config/bsentity/dbmeta/CrawlingInfoParamDbm.java

                    (et, vl) -> ((CrawlingInfoParam) et).setCreatedTime(DfTypeUtil.toLong(vl)), "createdTime");
            setupEpg(_epgMap, et -> ((CrawlingInfoParam) et).getKey(), (et, vl) -> ((CrawlingInfoParam) et).setKey(DfTypeUtil.toString(vl)),
                    "key");
            setupEpg(_epgMap, et -> ((CrawlingInfoParam) et).getValue(), (et, vl) -> ((CrawlingInfoParam) et).setValue(DfTypeUtil.toString(vl)),
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 27 07:01:25 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsCrawlingInfoParam.java

        public void setCreatedTime(Long value) {
            registerModifiedProperty("createdTime");
            this.createdTime = value;
        }
    
        public String getKey() {
            checkSpecifiedProperty("key");
            return convertEmptyToNull(key);
        }
    
        public void setKey(String value) {
            registerModifiedProperty("key");
            this.key = value;
        }
    
        public String getValue() {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/collection/SLinkedListTest.java

            } catch (final ClIndexOutOfBoundsException ex) {
                System.out.println(ex);
            }
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGet() throws Exception {
            list.addLast("1");
            list.addLast("2");
            list.addLast("3");
            assertThat(list.get(0), is("1"));
            assertThat(list.get(1), is("2"));
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/crypto/CachedCipherTest.java

        }
    
        @Test
        public void testDifferentKeys() {
            final CachedCipher cipher1 = new CachedCipher();
            cipher1.setKey("key1");
    
            final CachedCipher cipher2 = new CachedCipher();
            cipher2.setKey("key2");
    
            final String original = "Hello World";
            final String encrypted1 = cipher1.encryptText(original);
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/spnego/SpnegoConstantsTest.java

                Field f = SpnegoConstants.class.getField(e.getKey());
                int m = f.getModifiers();
    
                assertTrue(Modifier.isPublic(m), e.getKey() + " must be public");
                assertTrue(Modifier.isStatic(m), e.getKey() + " must be static");
                assertTrue(Modifier.isFinal(m), e.getKey() + " must be final");
                assertEquals(String.class, f.getType(), e.getKey() + " must be String");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.7K bytes
    - Viewed (0)
Back to top