Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 299 for drained (0.13 sec)

  1. guava/src/com/google/common/base/Defaults.java

     * This class provides default values for all Java types, as defined by the JLS.
     *
     * @author Ben Yu
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public final class Defaults {
      private Defaults() {}
    
      private static final Double DOUBLE_DEFAULT = 0d;
      private static final Float FLOAT_DEFAULT = 0f;
    
      /**
       * Returns the default value of {@code type} as defined by JLS --- {@code 0} for numbers, {@code
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

                assertNull(testMessage.getErrorData());
            }
        }
    
        @Nested
        @DisplayName("Chained Encode Tests")
        class ChainedEncodeTests {
    
            @Test
            @DisplayName("Should encode chained messages")
            void testEncodeChained() {
                TestServerMessageBlock2 second = new TestServerMessageBlock2(mockConfig);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ForwardingBlockingDeque.java

        return delegate().poll(timeout, unit);
      }
    
      @Override
      public int drainTo(Collection<? super E> c) {
        return delegate().drainTo(c);
      }
    
      @Override
      public int drainTo(Collection<? super E> c, int maxElements) {
        return delegate().drainTo(c, maxElements);
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/MoreExecutors.java

       * Executor#execute execute}, as in {@link CallerRunsPolicy}.
       *
       * <p>This executor is appropriate for tasks that are lightweight and not deeply chained.
       * Inappropriate {@code directExecutor} usage can cause problems, and these problems can be
       * difficult to reproduce because they depend on timing. For example:
       *
       * <ul>
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 08 18:55:33 UTC 2025
    - 45.2K bytes
    - Viewed (0)
  5. .ci/README.md

    -----------------
    
    CI is run by Jenkins at [elasticsearch-ci](https://elasticsearch-ci.elastic.co/).
    Jobs live in the [jobs.t](jobs.t) directory, these are defined in YML using a syntax 
    simmilar to [JJB](https://elasticsearch-ci.elastic.co/view/Elasticsearch%20master/).
    Macros are not allowed, and each job must be defined in its own file.
    Merging of the default configuration is customized so unlike in standard JJB,
    it recurses into YML objects. 
    Registered: Sun Dec 21 06:47:06 UTC 2025
    - Last Modified: Wed Nov 13 15:12:00 UTC 2019
    - 679 bytes
    - Viewed (0)
  6. src/test/java/jcifs/SmbSessionTest.java

                    assertEquals(0, closeMethod.getParameterCount());
                    assertEquals(void.class, closeMethod.getReturnType());
                }, "close() method should be properly defined");
            }
    
            @Test
            @DisplayName("Should allow close method to be called multiple times")
            void shouldAllowMultipleCloseCallsOnMock() throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ComparisonChain.java

    import com.google.common.primitives.Booleans;
    import com.google.errorprone.annotations.InlineMe;
    import java.util.Comparator;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A utility for performing a chained comparison statement. <b>Note:</b> Java 8+ users should
     * generally prefer the methods in {@link Comparator}; see <a href="#java8">below</a>.
     *
     * <p>Example usage of {@code ComparisonChain}:
     *
     * {@snippet :
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/util/transport/Request.java

         * Checks if this is a cancel request.
         *
         * @return whether this is a cancel request
         */
        boolean isCancel();
    
        /**
         * Gets the next request in the chain.
         *
         * @return chained request
         */
        Request getNext();
    
        /**
         * Gets the response for this request.
         *
         * @return the response for this request
         */
        Response getResponse();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/util/transport/RequestTest.java

            verify(mockRequest, times(1)).isCancel();
        }
    
        @Test
        void testGetNext() {
            // Test case for getNext method
            Request nextRequest = mock(Request.class); // Mock a chained request
            when(mockRequest.getNext()).thenReturn(nextRequest);
    
            Request actualNextRequest = mockRequest.getNext();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java

                    Smb2CreateRequest create = (Smb2CreateRequest) arg;
                    // Initialize response chain (also for chained query)
                    Smb2CreateResponse cr = create.initResponse(cifsContext);
    
                    // Access chained Smb2QueryDirectoryRequest via reflection
                    Smb2QueryDirectoryRequest q = (Smb2QueryDirectoryRequest) getNextOf(create);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.7K bytes
    - Viewed (0)
Back to top