Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 1,576 for key8 (0.11 seconds)

  1. src/main/java/jcifs/util/Crypto.java

            key8[4] = (byte) (key[3] << 4 | (key[4] & 0xFF) >>> 4);
            key8[5] = (byte) (key[4] << 3 | (key[5] & 0xFF) >>> 5);
            key8[6] = (byte) (key[5] << 2 | (key[6] & 0xFF) >>> 6);
            key8[7] = (byte) (key[6] << 1);
            for (int i = 0; i < key8.length; i++) {
                key8[i] ^= Integer.bitCount(key8[i] ^ 1) & 1;
            }
            return key8;
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb1/util/DES.java

            key8[2] = (byte) (((key7[1] & 0x03) << 5 | (key7[2] & 0xff) >> 3 & 0xff) & 0xff);
            key8[3] = (byte) (((key7[2] & 0x07) << 4 | (key7[3] & 0xff) >> 4 & 0xff) & 0xff);
            key8[4] = (byte) (((key7[3] & 0x0F) << 3 | (key7[4] & 0xff) >> 5 & 0xff) & 0xff);
            key8[5] = (byte) (((key7[4] & 0x1F) << 2 | (key7[5] & 0xff) >> 6 & 0xff) & 0xff);
            key8[6] = (byte) (((key7[5] & 0x3F) << 1 | (key7[6] & 0xff) >> 7 & 0xff) & 0xff);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 22.7K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/util/DocumentUtilTest.java

            boolean expected8 = true;
            doc.put("key8", expected8);
            assertEquals(expected8, DocumentUtil.getValue(doc, "key8", Boolean.class).booleanValue());
        }
    
        @Test
        public void test_getValue_with_null_map() {
            assertNull(DocumentUtil.getValue(null, "key", String.class));
            assertNull(DocumentUtil.getValue(null, "key", Integer.class));
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 01:46:45 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/entity/DataStoreParamsTest.java

        public void test_putAndGet() {
            dataStoreParams.put("key1", "value1");
            assertEquals("value1", dataStoreParams.get("key1"));
    
            dataStoreParams.put("key2", 123);
            assertEquals(123, dataStoreParams.get("key2"));
    
            dataStoreParams.put("key3", null);
            assertNull(dataStoreParams.get("key3"));
        }
    
        // Test get for non-existent key
        @Test
        public void test_getNonExistentKey() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  5. KEYS.md

    # Signing key for Gradle artifacts
    
    Below is the public PGP key used to sign all Gradle artifacts.
    
    The key ID is `E2F38302C8075E3D` and its fingerprint is `1BD97A6A154E7810EE0BC832E2F38302C8075E3D`.
    You can also find the key in the [Gradle website](https://gradle.org/keys/) and on [public key servers](https://keys.openpgp.org/search?q=maven-publishing%40gradle.com).
    
    ## Verification instructions
    
    ### Importing the key
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Dec 04 14:29:13 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/util/ParameterUtilTest.java

            // Test with whitespace around keys and values
            value = "  key1  =  value1  \n  key2=value2\n";
            paramMap = ParameterUtil.parse(value);
            assertEquals(2, paramMap.size());
            assertEquals("value1", paramMap.get("key1"));
            assertEquals("value2", paramMap.get("key2"));
    
            // Test with empty lines and mixed whitespace
            value = "key1=value1\n\n\t\nkey2=value2\n \n";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 22.8K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/util/DocMapTest.java

            String[] keys = entrySet.stream().map(Map.Entry::getKey).toArray(String[]::new);
    
            assertTrue("Should contain all keys", Arrays.asList(keys).contains("lang"));
            assertTrue("Should contain all keys", Arrays.asList(keys).contains("a_key"));
            assertTrue("Should contain all keys", Arrays.asList(keys).contains("b_key"));
            assertTrue("Should contain all keys", Arrays.asList(keys).contains("c_key"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb2/lease/Smb2LeaseKeyTest.java

            Smb2LeaseKey key1 = new Smb2LeaseKey(testBytes1);
            Smb2LeaseKey key2 = new Smb2LeaseKey(testBytes2);
            Smb2LeaseKey key3 = new Smb2LeaseKey(testBytes3);
    
            assertEquals(key1, key2);
            assertNotEquals(key1, key3);
            assertNotEquals(key1, null);
            assertNotEquals(key1, "not a lease key");
            assertEquals(key1, key1); // reflexive
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 00:16:17 GMT 2025
    - 6K bytes
    - Click Count (0)
  9. tests/lru_test.go

    	lru := lru.NewLRU[string, int](2, nil, time.Hour)
    	lru.Add("key1", 1)
    	lru.Add("key2", 2)
    	lru.Add("key3", 3)
    
    	if _, ok := lru.Get("key1"); ok {
    		t.Errorf("Expected key1 to be removed, but it still exists")
    	}
    }
    
    func TestLRU_Add_UnlimitedSize_NoEviction(t *testing.T) {
    	lru := lru.NewLRU[string, int](0, nil, time.Hour)
    	lru.Add("key1", 1)
    	lru.Add("key2", 2)
    	lru.Add("key3", 3)
    
    	if _, ok := lru.Get("key1"); !ok {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Sep 08 09:19:22 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  10. internal/kms/secret-key.go

    	}
    	return NewBuiltin(keyID, key)
    }
    
    // NewBuiltin returns a single-key KMS that derives new DEKs from the
    // given key.
    func NewBuiltin(keyID string, key []byte) (*KMS, error) {
    	if len(key) != 32 {
    		return nil, errors.New("kms: invalid key length " + strconv.Itoa(len(key)))
    	}
    	return &KMS{
    		Type:       Builtin,
    		DefaultKey: keyID,
    		conn: secretKey{
    			keyID: keyID,
    			key:   key,
    		},
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Apr 21 16:23:51 GMT 2025
    - 8.4K bytes
    - Click Count (0)
Back to Top