Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 1,089 for given (0.36 sec)

  1. android/guava/src/com/google/common/util/concurrent/ListenableFutureTask.java

       * Callable}.
       *
       * @param callable the callable task
       * @since 10.0
       */
      public static <V extends @Nullable Object> ListenableFutureTask<V> create(Callable<V> callable) {
        return new ListenableFutureTask<>(callable);
      }
    
      /**
       * Creates a {@code ListenableFutureTask} that will upon running, execute the given {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java

      /** Returns an iterable whose iterator returns the given elements in order. */
      public static <E extends @Nullable Object> MinimalIterable<E> of(E... elements) {
        // Make sure to get an unmodifiable iterator
        return new MinimalIterable<>(asList(elements).iterator());
      }
    
      /**
       * Returns an iterable whose iterator returns the given elements in order. The elements are copied
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/BinaryTransformer.java

    public class BinaryTransformer extends AbstractTransformer {
    
        /**
         * Constructs a new BinaryTransformer.
         */
        public BinaryTransformer() {
            // NOP
        }
    
        /**
         * Transforms the given ResponseData into a ResultData containing binary content.
         * @param responseData The response data to be transformed.
         * @return The transformed ResultData.
         */
        @Override
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/TrustedListenableFutureTask.java

        return new TrustedListenableFutureTask<>(callable);
      }
    
      /**
       * Creates a {@code ListenableFutureTask} that will upon running, execute the given {@code
       * Runnable}, and arrange that {@code get} will return the given result on successful completion.
       *
       * @param runnable the runnable task
       * @param result the result to return on successful completion. If you don't need a particular
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/https/HandlerTest.java

        class ProtocolComparisonTests {
    
            @Test
            @DisplayName("Should use different ports for HTTP and HTTPS")
            void testDifferentPorts() {
                // Given
                Handler httpsHandler = new Handler(null);
    
                // When
                int httpsPort = httpsHandler.getDefaultPort();
                int httpPort = jcifs.http.Handler.DEFAULT_HTTP_PORT;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  6. utils/utils.go

    func JoinNestedRelationNames(relationNames []string) string {
    	return strings.Join(relationNames, nestedRelationSplit)
    }
    
    // RTrimSlice Right trims the given slice by given length
    func RTrimSlice[T any](v []T, trimLen int) []T {
    	if trimLen >= len(v) { // trimLen greater than slice len means fully sliced
    		return v[:0]
    	}
    	if trimLen < 0 { // negative trimLen is ignored
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Aug 22 11:03:42 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/eventbus/EventBus.java

      }
    
      /** Returns the default executor this event bus uses for dispatching events to subscribers. */
      final Executor executor() {
        return executor;
      }
    
      /** Handles the given exception thrown by a subscriber with the given context. */
      void handleSubscriberException(Throwable e, SubscriberExceptionContext context) {
        checkNotNull(e);
        checkNotNull(context);
        try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/TestThread.java

        assertEquals(true, invokeMethod("hasQueuedThread", this));
        assertNull(responseQueue.poll());
      }
    
      /**
       * Causes this thread to call the named method, and asserts that this thread thereby waits on the
       * given condition-like object. The lock-like object must have a method equivalent to {@link
       * java.util.concurrent.locks.ReentrantLock#hasWaiters(java.util.concurrent.locks.Condition)},
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponse.java

        /**
         * Constructs an SMB2 IOCTL response with the given configuration.
         *
         * @param config the configuration for this response
         */
        public Smb2IoctlResponse(final Configuration config) {
            super(config);
            this.outputBuffer = null;
        }
    
        /**
         * Constructs an SMB2 IOCTL response with the given configuration and output buffer.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/CharSource.java

      /** Constructor for use by subclasses. */
      protected CharSource() {}
    
      /**
       * Returns a {@link ByteSource} view of this char source that encodes chars read from this source
       * as bytes using the given {@link Charset}.
       *
       * <p>If {@link ByteSource#asCharSource} is called on the returned source with the same charset,
       * the default implementation of this method will ensure that the original {@code CharSource} is
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.7K bytes
    - Viewed (0)
Back to top