Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 588 for Prestes (0.27 sec)

  1. android/guava/src/com/google/common/io/FileBackedOutputStream.java

       */
      public FileBackedOutputStream(int fileThreshold) {
        this(fileThreshold, false);
      }
    
      /**
       * Creates a new instance that uses the given file threshold, and optionally resets the data when
       * the {@link ByteSource} returned by {@link #asByteSource} is finalized.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  2. internal/store/batch.go

    func (b *Batch[K, T]) IsFull() bool {
    	b.Lock()
    	defer b.Unlock()
    
    	return b.isFull()
    }
    
    func (b *Batch[K, T]) isFull() bool {
    	return len(b.items) >= int(b.limit)
    }
    
    // NewBatch creates a new batch
    func NewBatch[K key, T any](limit uint32) *Batch[K, T] {
    	return &Batch[K, T]{
    		keys:  make([]K, 0, limit),
    		items: make(map[K]T, limit),
    		limit: limit,
    	}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Oct 07 15:07:38 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/next_pluggable_device/c_api.h

    // if the tensor does not have a `PjRtCApiBuffer`.
    TF_CAPI_EXPORT extern PJRT_Buffer* TF_GetPjRtCBuffer(TF_Tensor* c_tensor,
                                                         TF_Status* status);
    
    // Creates a `PjRtCApiBuffer` with the `PJRT_Buffer*` passed in and set to the
    // tensor.
    TF_CAPI_EXPORT extern void TF_CreatePjRtBuffer(TF_Tensor* c_tensor,
                                                   PJRT_Buffer* c_buffer,
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Dec 20 20:01:06 GMT 2023
    - 7.2K bytes
    - Viewed (0)
  4. maven-core/src/test/resources/apiv4-repo/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-javadoc.jar

    nullValue() - Static method in class org.hamcrest.core.IsNull Creates a matcher that matches if examined object is null. nullValue(Class<T>) - Static method in class org.hamcrest.core.IsNull Creates a matcher that matches if examined object is null. nullValue() - Static method in class org.hamcrest.CoreMatchers Creates a matcher that matches if examined object is null. nullValue(Class<T>) - Static method in class org.hamcrest.CoreMatchers Creates a matcher that matches if examined object is null. O or(Matcher<?...
    Archive
    - Registered: Sun Apr 14 03:35:08 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 236.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Queues.java

      // ArrayBlockingQueue
    
      /**
       * Creates an empty {@code ArrayBlockingQueue} with the given (fixed) capacity and nonfair access
       * policy.
       */
      @J2ktIncompatible
      @GwtIncompatible // ArrayBlockingQueue
      public static <E> ArrayBlockingQueue<E> newArrayBlockingQueue(int capacity) {
        return new ArrayBlockingQueue<>(capacity);
      }
    
      // ArrayDeque
    
      /**
       * Creates an empty {@code ArrayDeque}.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 16K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/exception/ClRuntimeException.java

        private final String message;
    
        private final String simpleMessage;
    
        /**
         * Creates {@link ClRuntimeException}.
         *
         * @param messageCode message code
         */
        public ClRuntimeException(final String messageCode) {
            this(messageCode, new Object[0], null);
        }
    
        /**
         * Creates {@link ClRuntimeException}.
         *
         * @param messageCode message code
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  7. maven-core/src/test/resources/apiv4-repo/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-sources.jar

    source. package org.hamcrest; public class CoreMatchers { /** * Creates a matcher that matches if the examined object matches <b>ALL</b> of the specified matchers. * <p/> * For example: * <pre>assertThat("myValue", allOf(startsWith("my"), containsString("Val")))</pre> */ public static <T> org.hamcrest.Matcher<T> allOf(java.lang.Iterable<org.hamcrest.Matcher<? super T>> matchers) { return org.hamcrest.core.AllOf.<T>allOf(matchers); } /** * Creates a matcher that matches if the examined object matches <b>ALL</b>...
    Archive
    - Registered: Sun Apr 14 03:35:08 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 31.9K bytes
    - Viewed (0)
  8. operator/cmd/mesh/manifest_shared_test.go

    		helmreconciler.TestMode = true
    		// Add install and controller to the list of commands to run tests against.
    		testedManifestCmds = append(testedManifestCmds, cmdApply, cmdController)
    	}
    }
    
    // recreateTestEnv (re)creates a kubebuilder fake API server environment. This is required for testing of the
    // controller runtime, which is used in the operator.
    func recreateTestEnv() error {
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Tue Feb 20 22:39:28 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/UncheckedExecutionException.java

        super(message);
      }
    
      /**
       * Creates a new instance with the given detail message and cause. Prefer to provide a
       * non-nullable {@code cause}, as many users expect to find one.
       */
      public UncheckedExecutionException(@CheckForNull String message, @CheckForNull Throwable cause) {
        super(message, cause);
      }
    
      /**
    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)
  10. cmd/benchmark-utils_test.go

    package cmd
    
    import (
    	"bytes"
    	"context"
    	"math"
    	"math/rand"
    	"strconv"
    	"testing"
    
    	"github.com/dustin/go-humanize"
    )
    
    // Benchmark utility functions for ObjectLayer.PutObject().
    // Creates Object layer setup ( MakeBucket ) and then runs the PutObject benchmark.
    func runPutObjectBenchmark(b *testing.B, obj ObjectLayer, objSize int) {
    	var err error
    	// obtains random bucket name.
    	bucket := getRandomBucketName()
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Dec 23 15:46:00 GMT 2022
    - 8.2K bytes
    - Viewed (0)
Back to top