Search Options

Results per page
Sort
Preferred Languages
Advance

Results 411 - 420 of 720 for Helper (0.08 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect.testing;
    
    import static com.google.common.collect.testing.Helpers.entryComparator;
    import static java.lang.Math.max;
    import static java.util.Arrays.asList;
    import static java.util.Collections.singletonMap;
    import static java.util.Collections.sort;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

            slf4jLogger.error(MessageUtils.builder().a("  ").strong(resumeBuildHint).toString());
        }
    
        /**
         * A helper method to determine the value to resume the build with {@code -rf} taking into account the edge case
         *   where multiple modules in the reactor have the same artifactId.
         * <p>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
  3. internal/grid/connection.go

    	queue := make([][]byte, 0, maxMergeMessages)
    	merged := make([]byte, 0, writeBufferSize)
    	var queueSize int
    	var buf bytes.Buffer
    	var wsw wsWriter
    	var lastSetDeadline time.Time
    
    	// Helper to write everything in buf.
    	// Return false if an error occurred and the connection is unusable.
    	// Buffer will be reset empty when returning successfully.
    	writeBuffer := func() (ok bool) {
    		now := time.Now()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/Helpers.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect.testing;
    
    import static com.google.common.collect.testing.Helpers.entryComparator;
    import static java.lang.Math.max;
    import static java.util.Arrays.asList;
    import static java.util.Collections.singletonMap;
    import static java.util.Collections.sort;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  5. tensorflow/c/c_api_function_test.cc

        return UseT(ToOutput(inputs));
      }
    
      TF_Operation* UseT(const std::vector<TF_Output>& inputs) {
        TF_Operation* op;
        UseHelper(inputs, &op);
        return op;
      }
    
      // All the *Helper methods are used as a workaround for the restrictions that
      // one cannot call ASSERT_* methods in non-void-returning functions (when
      // exceptions are disabled during compilation)
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
  6. cmd/server_test.go

    func (c *check) Assert(gotValue interface{}, expectedValue interface{}) {
    	c.Helper()
    	if !reflect.DeepEqual(gotValue, expectedValue) {
    		c.Fatalf("Test %s expected %v, got %v", c.testType, expectedValue, gotValue)
    	}
    }
    
    func verifyError(c *check, response *http.Response, code, description string, statusCode int) {
    	c.Helper()
    	data, err := io.ReadAll(response.Body)
    	c.Assert(err, nil)
    	errorResponse := APIErrorResponse{}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 116.3K bytes
    - Viewed (0)
  7. CHANGELOG/CHANGELOG-1.29.md

    - Added `kubectl node drain` helper callbacks `OnPodDeletionOrEvictionStarted`
      and `OnPodDeletionOrEvictionFailed`; people extending `kubectl` can use these
      new callbacks for more granularity. Deprecated the `OnPodDeletedOrEvicted`
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Wed Oct 23 04:37:31 UTC 2024
    - 375.1K bytes
    - Viewed (1)
  8. cmd/xl-storage_test.go

    		if err := xl.WriteMetadata(ctx, "", volume, object, fi); err != nil {
    			t.Fatalf("Unable to create object, %s", err)
    		}
    	}
    	var deleted [len(versions)]bool
    	checkVerExist := func(t testing.TB) {
    		t.Helper()
    		for i := range versions {
    			shouldExist := !deleted[i]
    			fi, err := xl.ReadVersion(ctx, "", volume, object, versions[i], ReadOptions{})
    			if shouldExist {
    				if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/Futures.java

          Iterable<? extends ListenableFuture<? extends V>> futures) {
        return new FutureCombiner<>(true, ImmutableList.copyOf(futures));
      }
    
      /**
       * A helper to create a new {@code ListenableFuture} whose result is generated from a combination
       * of input futures.
       *
       * <p>See {@link #whenAllComplete} and {@link #whenAllSucceed} for how to instantiate this class.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        try {
          cache.getUnchecked("bar");
          fail();
        } catch (UncheckedExecutionException expected) {
        }
        assertEquals(2, callCount.get());
      }
    
      /**
       * Test-helper method that performs {@code nThreads} concurrent calls to {@code cache.get(key)} or
       * {@code cache.getUnchecked(key)}, and returns a List containing each of the results. The result
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 86.3K bytes
    - Viewed (0)
Back to top