Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 48 of 48 for instead (0.86 sec)

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

       * the {@code Future} is already done. Second, if buggy code calls {@code getDone} on a {@code
       * Future} that is still pending, the program will throw instead of block. This can be important
       * for APIs like {@link #whenAllComplete whenAllComplete(...)}{@code .}{@link
       * FutureCombiner#call(Callable, Executor) call(...)}, where it is easy to use a new input from
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        logHandler = new TestLogHandler();
        LocalCache.logger.addHandler(logHandler);
      }
    
      @Override
      public void tearDown() throws Exception {
        super.tearDown();
        // TODO(cpovirk): run tests in other thread instead of messing with main thread interrupt status
        currentThread().interrupted();
        LocalCache.logger.removeHandler(logHandler);
      }
    
      private Throwable popLoggedThrowable() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        logHandler = new TestLogHandler();
        LocalCache.logger.addHandler(logHandler);
      }
    
      @Override
      public void tearDown() throws Exception {
        super.tearDown();
        // TODO(cpovirk): run tests in other thread instead of messing with main thread interrupt status
        currentThread().interrupted();
        LocalCache.logger.removeHandler(logHandler);
      }
    
      private Throwable popLoggedThrowable() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

      }
    
      /**
       * When writing a set of headers fails due to an `IOException`, make sure the writer is left
       * in a consistent state so the next writer also gets an `IOException` also instead of
       * something worse (like an [IllegalStateException].
       *
       *
       * See https://github.com/square/okhttp/issues/1651
       */
      @Test fun socketExceptionWhileWritingHeaders() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 75.4K bytes
    - Viewed (0)
  5. src/bufio/bufio_test.go

    	}
    	{
    		tw := &teststringwriter{}
    		b := NewWriterSize(tw, BufSize)
    		b.Write([]byte("abc")) // same as above, but use Write instead of WriteString
    		tw.check(t, "", "")
    		b.WriteString("123456789012345")
    		tw.check(t, "abc12345", "6789012345") // same as above
    	}
    }
    
    type teststringwriter struct {
    	write       string
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        int hash = entry.getHash();
        segmentFor(hash).reclaimKey(entry, hash);
      }
    
      /**
       * This method is a convenience for testing. Code should call {@link Segment#getLiveValue}
       * instead.
       */
      @VisibleForTesting
      boolean isLiveForTesting(InternalEntry<K, V, ?> entry) {
        return segmentFor(entry.getHash()).getLiveValueForTesting(entry) != null;
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  7. .bazelrc

    build:monolithic --define tsl_protobuf_header_only=false
    build:monolithic --experimental_link_static_libraries_once=false  # b/229868128
    
    # Please note that MKL on MacOS is still not supported.
    # If you would like to use a local MKL instead of downloading, please set the
    # environment variable "TF_MKL_ROOT" every time before build.
    build:mkl --define=build_with_mkl=true --define=enable_mkl=true
    build:mkl --define=tensorflow_mkldnn_contraction_kernel=0
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu May 02 19:34:20 GMT 2024
    - 52.8K bytes
    - Viewed (2)
  8. tensorflow/c/c_api_test.cc

      }
    
      TF_Status* s_;
    
     private:
      TF_Graph* graph_;
      int counter_;
    };
    
    // Helper macros for the TF_OperationGetAttr* tests.
    // TODO(ashankar): Use gmock matchers instead?
    // (https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#writing-new-parameterized-matchers-quickly)
    // That will require setting up the tensorflow build with gmock.
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
Back to top