Search Options

Results per page
Sort
Preferred Languages
Advance

Results 391 - 400 of 590 for BOTH (0.01 sec)

  1. android/guava/src/com/google/common/cache/Cache.java

       * {@link LoadingCache#get(Object) get(K)} method instead of this one.
       *
       * <p>Among the improvements that this method and {@code LoadingCache.get(K)} both provide are:
       *
       * <ul>
       *   <li>{@linkplain LoadingCache#get(Object) awaiting the result of a pending load} rather than
       *       starting a redundant one
       *   <li>eliminating the error-prone caching boilerplate
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Cut.java

        private static final BelowAll INSTANCE = new BelowAll();
    
        private BelowAll() {
          /*
           * No code ever sees this bogus value for `endpoint`: This class overrides both methods that
           * use the `endpoint` field, compareTo() and endpoint(). Additionally, the main implementation
           * of Cut.compareTo checks for belowAll before reading accessing `endpoint` on another Cut
           * instance.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java

            // Call getSecurity multiple times - should return consistent results
            ACE[] result1 = msrpcShareGetInfo.getSecurity();
            ACE[] result2 = msrpcShareGetInfo.getSecurity();
    
            // Both should be null (no DACL)
            assertNull(result1);
            assertNull(result2);
        }
    
        @Test
        void testGetSecurityWithSpecialCharactersInSecurityDescriptor() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Sets.java

            return false; // this.size() < that.size()
          }
    
          // the base implementation from AbstractSet uses size() and containsAll()
          // both require iterating over the entire SetView
          // we avoid iterating twice by doing the equivalent of both in one iteration
          int thisSize = 0;
          for (E e : this) {
            try {
              if (!that.contains(e)) {
                return false;
              }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 81.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

                String content = new String(in.readAllBytes(), "UTF-8");
                assertEquals(initial + append, content, "Content should include both initial and appended");
            }
    
            assertEquals(initial.length() + append.length(), file.length(), "File size should be sum of both contents");
        }
    
        @Test
        void testEmptyDirectory() throws Exception {
            // Test operations on empty directories
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  6. cmd/sftp-server-driver.go

    	switch {
    	case len(w.buffer) > 0:
    		err = errors.New("some file segments were not flushed from the queue")
    		_ = w.w.CloseWithError(err)
    	case w.err != nil:
    		// No need to close here since both pipes were
    		// closing inside TransferError()
    		err = w.err
    	default:
    		err = w.w.Close()
    	}
    	for i := range w.buffer {
    		delete(w.buffer, i)
    	}
    	w.wg.Wait()
    	return err
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Feb 10 16:35:49 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt

      /**
       * Returns the raw response received from the cache. Will be null if this response didn't use
       * the cache. For conditional get requests the cache response and network response may both be
       * non-null. The body of the returned response should not be read.
       */
      @get:JvmName("cacheResponse") val cacheResponse: Response?,
      /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 14:39:28 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

            SmbTransportPoolImpl poolSpy = spy(pool);
            when(ctx.getTransportPool()).thenReturn(poolSpy);
    
            // Both transports fail
            SmbTransportImpl trans1 = mock(SmbTransportImpl.class);
            SmbTransportImpl trans2 = mock(SmbTransportImpl.class);
    
            IOException firstException = new IOException("First failure");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  9. cmd/object-handlers-common.go

    	if ifNoneMatchETagHeader != "" {
    		if isETagEqual(objInfo.ETag, ifNoneMatchETagHeader) {
    			// Do not care If-Modified-Since, Because:
    			// 1. If If-Modified-Since condition evaluates to true.
    			//  If both of the If-None-Match and If-Modified-Since headers are present in the request as follows:
    			// 	If-None-Match condition evaluates to false , and;
    			//  If-Modified-Since condition evaluates to true ;
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jul 23 12:36:06 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java

            return complete(null, null, interrupt ? INTERRUPTED : CANCELLED);
          }
    
          /**
           * Implementation of completing a task. Either {@code v} or {@code t} will be set but not
           * both. The {@code finalState} is the state to change to from {@link #RUNNING}. If the state
           * is not in the RUNNING state we return {@code false} after waiting for the state to be set
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jan 30 16:59:10 UTC 2025
    - 13.7K bytes
    - Viewed (0)
Back to top