Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 307 for shade (0.03 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

     *
     * The task runner is also responsible for releasing held threads when the library is unloaded.
     * This is for the benefit of container environments that implement code unloading.
     *
     * Most applications should share a process-wide [TaskRunner] and use queues for per-client work.
     */
    class TaskRunner(
      val backend: Backend,
      internal val logger: Logger = TaskRunner.logger,
    ) : Lockable {
      private var nextQueueName = 10000
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

                // Cached subject is copied and visible via getSubject()
                Subject copySubj = copy.getSubject();
                assertNotNull(copySubj);
                assertSame(cachedOrig, copySubj, "Clone should share the cached Subject reference");
    
                // Refreshing the original must not clear the clone's cached subject
                orig.refresh();
                // Clone should retain its cached Subject
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  3. docs/smb3-features/01-smb3-lease-design.md

        @Test
        public void testLeaseManager() {
            CIFSContext context = new BaseContext(new PropertyConfiguration());
            LeaseManager manager = new LeaseManager(context);
            
            String path = "/share/file.txt";
            int requestedState = Smb2LeaseState.SMB2_LEASE_FULL;
            
            Smb2LeaseKey key = manager.requestLease(path, requestedState);
            assertNotNull(key);
            
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  4. docs/smb3-features/05-rdma-smb-direct-design.md

    public void testRdmaLargeFileTransfer() throws Exception {
        CIFSContext context = getTestContext();
        context.getConfig().setProperty("jcifs.smb.client.useRDMA", "true");
        
        SmbFile file = new SmbFile("smb://server/share/largefile.dat", context);
        
        // Measure RDMA transfer performance
        byte[] data = new byte[10485760];  // 10MB
        Arrays.fill(data, (byte)0x42);
        
        long start = System.currentTimeMillis();
        
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

        /**
         * SMB command to close a find operation.
         */
        public static final byte SMB_COM_FIND_CLOSE2 = (byte) 0x34;
    
        /**
         * SMB command to disconnect from a tree share.
         */
        public static final byte SMB_COM_TREE_DISCONNECT = (byte) 0x71;
    
        /**
         * SMB command to negotiate protocol dialect.
         */
        public static final byte SMB_COM_NEGOTIATE = (byte) 0x72;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/dcerpc/msrpc/netdfs.java

                        }
                        s[_i].decode(_src);
                    }
                }
            }
        }
    
        /**
         * DFS storage information structure containing server and share details
         */
        public static class DfsStorageInfo extends NdrObject {
    
            /**
             * Default constructor for DfsStorageInfo
             */
            public DfsStorageInfo() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java

        }
    
        @Test
        void testToStringWithDifferentPaths() {
            // Test with various path formats
            String[] testPaths = { "simple.txt", "path/to/file.doc", "//server/share/file.txt", "folder\\windows\\style.txt", "" // empty path
            };
    
            for (String path : testPaths) {
                trans2QueryPathInfo = new Trans2QueryPathInformation(config, path, TEST_INFO_LEVEL);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java

                EndpointPair.unordered(1, 1),
                EndpointPair.unordered(1, 3))
            .inOrder();
      }
    
      /**
       * Populates the graph with nodes and edges in a star shape with node `1` in the middle.
       *
       * <p>Note that the edges are added in a shuffled order to properly test the effect of the
       * insertion order.
       */
      private void populateTShapedGraph() {
        putEdge(2, 1);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbTransportInternalTest.java

        void getDfsReferrals_happy() throws Exception {
            when(transport.getDfsReferrals(any(), any(), any(), any(), anyInt())).thenReturn(referral);
    
            String name = "\\\\server\\\\share\\\\path"; // UNC-like DFS path
            String host = "server.example";
            String domain = "EXAMPLE";
            int rn = 0;
    
            jcifs.DfsReferralData result = transport.getDfsReferrals(ctx, name, host, domain, rn);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/events.md

    There's a high chance that the logic for your *startup* and *shutdown* is connected, you might want to start something and then finish it, acquire a resource and then release it, etc.
    
    Doing that in separated functions that don't share logic or variables together is more difficult as you would need to store values in global variables or similar tricks.
    
    Because of that, it's now recommended to instead use the `lifespan` as explained above.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.9K bytes
    - Viewed (0)
Back to top