Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 120 for delegate (0.04 sec)

  1. src/main/java/jcifs/config/DelegatingConfiguration.java

         * @param delegate
         *            delegate to pass all non-overridden method calls to
         *
         */
        public DelegatingConfiguration(final Configuration delegate) {
            this.delegate = delegate;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Configuration#getRandom()
         */
        @Override
        public SecureRandom getRandom() {
            return this.delegate.getRandom();
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/UploadProgress.java

        private final ProgressListener progressListener;
        private final RequestBody delegate;
    
        public ProgressRequestBody(RequestBody delegate, ProgressListener progressListener) {
          this.delegate = delegate;
          this.progressListener = progressListener;
        }
    
        @Override
        public MediaType contentType() {
          return delegate.contentType();
        }
    
        @Override
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 4.2K bytes
    - Viewed (1)
  3. src/main/java/jcifs/internal/smb2/rdma/RdmaTransport.java

         * @param context the CIFS context for configuration
         */
        public RdmaTransport(SmbTransportInternal delegate, CIFSContext context) {
            this.delegate = delegate;
            this.rdmaProvider = RdmaProviderFactory.getProvider(context.getConfig());
            this.bufferManager = new RdmaBufferManager(rdmaProvider);
            this.statistics = new RdmaStatistics();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTreeConnection.java

                    // release
                    old.release(true);
                }
                if (this.delegate != null && this.delegateAcquired) {
                    log.debug("Releasing delegate");
                    this.delegateAcquired = false;
                    this.delegate.release();
                }
            }
        }
    
        /**
         * @return tree connection with increased usage count
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (1)
  5. samples/guide/src/main/java/okhttp3/recipes/kt/UploadProgress.kt

        }
      }
    
      private class ProgressRequestBody(
        private val delegate: RequestBody,
        private val progressListener: ProgressListener,
      ) : RequestBody() {
        override fun contentType() = delegate.contentType()
    
        @Throws(IOException::class)
        override fun contentLength(): Long = delegate.contentLength()
    
        @Throws(IOException::class)
        override fun writeTo(sink: BufferedSink) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  6. docs/recipes.md

              private final RequestBody delegate;
    
              public ProgressRequestBody(RequestBody delegate, ProgressListener progressListener) {
                this.delegate = delegate;
                this.progressListener = progressListener;
              }
    
              @Override public MediaType contentType() {
                return delegate.contentType();
              }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 47.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/StringsTest.java

      }
    
      public void testPadEnd_null() {
        assertThrows(NullPointerException.class, () -> Strings.padEnd(null, 5, '0'));
      }
    
      @SuppressWarnings("InlineMeInliner") // test of method that doesn't just delegate
      public void testRepeat() {
        String input = "20";
        assertEquals("", Strings.repeat(input, 0));
        assertEquals("20", Strings.repeat(input, 1));
        assertEquals("2020", Strings.repeat(input, 2));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 27 17:53:41 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java

                assertTrue(transport.isDisconnected(), "Transport should be disconnected initially");
    
                System.out.println("RDMA transport created successfully with mock delegate");
            }
        }
    
        @Test
        public void testRdmaStatisticsTracking() throws Exception {
            RdmaStatistics stats = new RdmaStatistics();
    
            // Simulate various RDMA operations
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

        /**
         * Impersonation level - server can impersonate the client's security context on the local system
         */
        public static final int SMB2_IMPERSONATION_LEVEL_IMPERSONATION = 0x2;
    
        /**
         * Delegate impersonation level - server can impersonate the client's security context on remote systems
         */
        public static final int SMB2_IMPERSONATION_LEVEL_DELEGATE = 0x3;
    
        /**
         * Enable other opens for read access
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt

      val originalRequest: Request,
      val forWebSocket: Boolean,
    ) : Call,
      Cloneable,
      Lockable {
      private val connectionPool: RealConnectionPool = client.connectionPool.delegate
    
      internal val eventListener: EventListener = client.eventListenerFactory.create(this)
    
      private val timeout =
        object : AsyncTimeout() {
          override fun timedOut() {
            ******@****.***()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 17.8K bytes
    - Viewed (0)
Back to top