Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,308 for key1 (0.02 sec)

  1. guava/src/com/google/common/util/concurrent/Striped.java

     * i.e. {@code if (key1.equals(key2))} then {@code striped.get(key1) == striped.get(key2)} (assuming
     * {@link Object#hashCode()} is correctly implemented for the keys). Note that if {@code key1} is
     * <strong>not</strong> equal to {@code key2}, it is <strong>not</strong> guaranteed that {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java

            DirectoryLeaseContext context = new DirectoryLeaseContext(key1, 0, DirectoryCacheScope.IMMEDIATE_CHILDREN);
    
            context.setLeaseKey(key2);
            assertEquals(key2, context.getLeaseKey());
    
            context.setLeaseState(DirectoryLeaseState.DIRECTORY_FULL);
            assertEquals(DirectoryLeaseState.DIRECTORY_FULL, context.getLeaseState());
    
            context.setCacheScope(DirectoryCacheScope.RECURSIVE_TREE);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

         */
        protected DcerpcHandle() {
            // Default constructor
        }
    
        /* Bindings are in the form:
         * proto:\\server[key1=val1,key2=val2]
         * or
         * proto:server[key1=val1,key2=val2]
         * or
         * proto:[key1=val1,key2=val2]
         *
         * If a key is absent it is assumed to be 'endpoint'. Thus the
         * following are equivalent:
         * proto:\\ts0.win.net[endpoint=\pipe\srvsvc]
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java

            Smb2LeaseKey key1 = directoryLeaseManager.requestDirectoryLease(dir1, DirectoryLeaseState.DIRECTORY_READ_HANDLE,
                    DirectoryCacheScope.IMMEDIATE_CHILDREN);
    
            Smb2LeaseKey key2 =
                    directoryLeaseManager.requestDirectoryLease(dir2, DirectoryLeaseState.DIRECTORY_FULL, DirectoryCacheScope.RECURSIVE_TREE);
    
            assertNotNull(key1);
            assertNotNull(key2);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  5. docs/smb3-features/01-smb3-lease-design.md

    public class LeaseTest {
        
        @Test
        public void testLeaseKeyGeneration() {
            Smb2LeaseKey key1 = new Smb2LeaseKey();
            Smb2LeaseKey key2 = new Smb2LeaseKey();
            
            assertNotNull(key1.getKey());
            assertEquals(16, key1.getKey().length);
            assertFalse(Arrays.equals(key1.getKey(), key2.getKey()));
        }
        
        @Test
        public void testLeaseStateFlags() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java

            // Test initial null map
            crawlingInfoHelper.putToInfoMap("key1", "value1");
            assertNotNull(crawlingInfoHelper.infoMap);
    
            // Test adding multiple entries
            crawlingInfoHelper.putToInfoMap("key2", "value2");
            crawlingInfoHelper.putToInfoMap("key3", "value3");
    
            assertEquals("value1", crawlingInfoHelper.infoMap.get("key1"));
            assertEquals("value2", crawlingInfoHelper.infoMap.get("key2"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

            dataMap.put("key1", "value1");
            dataMap.put("key2", "");
            dataMap.put("key3", null);
    
            // Test with existing value
            String result1 = (String) method.invoke(crawler, dataMap, "key1", "default");
            assertEquals("value1", result1);
    
            // Test with empty value
            String result2 = (String) method.invoke(crawler, dataMap, "key2", "default");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/timer/MonitorTargetTest.java

            StringBuilder buf = new StringBuilder();
    
            monitorTarget.append(buf, "key1", () -> "value1");
            buf.append(",");
            monitorTarget.append(buf, "key2", () -> 123);
            buf.append(",");
            monitorTarget.append(buf, "key3", () -> null);
    
            assertEquals("\"key1\":\"value1\",\"key2\":123,\"key3\":null", buf.toString());
        }
    
        // Test append with empty string
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/DcerpcHandle.java

     */
    public abstract class DcerpcHandle implements DcerpcConstants, AutoCloseable {
    
        /*
         * Bindings are in the form:
         * proto:\\server[key1=val1,key2=val2]
         * or
         * proto:server[key1=val1,key2=val2]
         * or
         * proto:[key1=val1,key2=val2]
         *
         * If a key is absent it is assumed to be 'endpoint'. Thus the
         * following are equivalent:
         * proto:\\ts0.win.net[endpoint=\pipe\srvsvc]
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/stream/StreamUtilTest.java

            assertEquals(0, (int) StreamUtil.stream(map).get(s -> s.toArray().length));
        }
    
        public void test_ofMap() {
            Map<String, String> map = new HashMap<String, String>();
            map.put("key1", "value1");
            map.put("key2", "value2");
            StreamUtil.stream(map).of(s -> s.forEach(m -> assertEquals(map.get(m.getKey()), m.getValue())));
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.7K bytes
    - Viewed (0)
Back to top