Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 351 for calling (0.17 sec)

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

          throw new IllegalArgumentException(lenientFormat(errorMessageTemplate, p1, p2, p3, p4));
        }
      }
    
      /**
       * Ensures the truth of an expression involving the state of the calling instance, but not
       * involving any parameters to the calling method.
       *
       * @param expression a boolean expression
       * @throws IllegalStateException if {@code expression} is false
       * @see Verify#verify Verify.verify()
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Feb 14 15:46:55 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Preconditions.java

          throw new IllegalArgumentException(lenientFormat(errorMessageTemplate, p1, p2, p3, p4));
        }
      }
    
      /**
       * Ensures the truth of an expression involving the state of the calling instance, but not
       * involving any parameters to the calling method.
       *
       * @param expression a boolean expression
       * @throws IllegalStateException if {@code expression} is false
       * @see Verify#verify Verify.verify()
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/GraphConstants.java

              + "so it cannot be reused to connect the following nodes: %s.";
      static final String MULTIPLE_EDGES_CONNECTING =
          "Cannot call edgeConnecting() when parallel edges exist between %s and %s. Consider calling "
              + "edgesConnecting() instead.";
      static final String PARALLEL_EDGES_NOT_ALLOWED =
          "Nodes %s and %s are already connected by a different edge. To construct a graph "
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/UncheckedExecutionException.java

       *     cause. At the moment, you can <i>usually</i> still preserve behavior by passing an explicit
       *     {@code null} cause. Note, however, that passing an explicit {@code null} cause prevents
       *     anyone from calling {@link #initCause} later, so it is not quite equivalent to using a
       *     constructor that omits the cause.
       */
      @Deprecated
      protected UncheckedExecutionException() {}
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 17:52:19 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  5. cmd/signature-v4-utils_test.go

    	inputHeader.Set("X-Amz-Meta-Name", expectedMetaName)
    	// calling the function being tested.
    	errCode := checkMetaHeaders(signedHeadersMap, r)
    	if errCode != ErrNone {
    		t.Fatalf("Expected the APIErrorCode to be %d, but got %d", ErrNone, errCode)
    	}
    
    	// Add new metadata in inputHeader
    	inputHeader.Set("X-Amz-Meta-Clone", "fail")
    	// calling the function being tested.
    	errCode = checkMetaHeaders(signedHeadersMap, r)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 14.3K bytes
    - Viewed (0)
  6. okhttp-logging-interceptor/README.md

    HttpLoggingInterceptor logging = new HttpLoggingInterceptor();
    logging.setLevel(Level.BASIC);
    OkHttpClient client = new OkHttpClient.Builder()
      .addInterceptor(logging)
      .build();
    ```
    
    You can change the log level at any time by calling `setLevel()`.
    
    To log to a custom location, pass a `Logger` instance to the constructor.
    ```java
    HttpLoggingInterceptor logging = new HttpLoggingInterceptor(new Logger() {
      @Override public void log(String message) {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Dec 17 15:34:10 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  7. internal/cachevalue/cache.go

    	// The returned value can no longer be modified once returned.
    	// Should be set before calling Get().
    	updateFn func() (T, error)
    
    	// ttl for a cached value.
    	ttl time.Duration
    
    	opts Opts
    
    	// Once can be used to initialize values for lazy initialization.
    	// Should be set before calling Get().
    	Once sync.Once
    
    	// Managed values.
    	valErr atomic.Pointer[struct {
    		v T
    		e error
    	}]
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Mar 01 16:00:42 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  8. cmd/object_api_suite_test.go

    	data []byte
    }
    
    func (r *testOneByteReadNoEOF) Read(p []byte) (n int, err error) {
    	if r.eof {
    		return 0, io.EOF
    	}
    	n = copy(p, r.data)
    	r.eof = true
    	return n, nil
    }
    
    // Wrapper for calling testMakeBucket for both Erasure and FS.
    func TestMakeBucket(t *testing.T) {
    	ExecObjectLayerTest(t, testMakeBucket)
    }
    
    // Tests validate bucket creation.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 32.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/Futures.java

         * LF<? extends @Nullable V>. That might be better: There's currently no difference between the
         * outputs users get when calling this with <Foo> and calling it with <@Nullable Foo>. The only
         * difference is that calling it with <Foo> won't work when an input Future has a @Nullable
         * type. So why even make that error possible by giving callers the choice?
         *
    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)
  10. android/guava/src/com/google/common/util/concurrent/ExecutionError.java

       *     can <i>usually</i> still preserve behavior by passing an explicit {@code null} cause. Note,
       *     however, that passing an explicit {@code null} cause prevents anyone from calling {@link
       *     #initCause} later, so it is not quite equivalent to using a constructor that omits the
       *     cause.
       */
      @Deprecated
      protected ExecutionError() {}
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 17:52:19 GMT 2024
    - 3.8K bytes
    - Viewed (0)
Back to top