Search Options

Results per page
Sort
Preferred Languages
Advance

Results 611 - 620 of 1,703 for Fake (0.02 sec)

  1. cmd/local-locker_gen.go

    func (z *localLockMap) DecodeMsg(dc *msgp.Reader) (err error) {
    	var zb0004 uint32
    	zb0004, err = dc.ReadMapHeader()
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	if (*z) == nil {
    		(*z) = make(localLockMap, zb0004)
    	} else if len((*z)) > 0 {
    		for key := range *z {
    			delete((*z), key)
    		}
    	}
    	var field []byte
    	_ = field
    	for zb0004 > 0 {
    		zb0004--
    		var zb0001 string
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  2. Makefile.core.mk

    # (2) in the VERSION file, in which we will append "-dev" to it
    ifeq ($(VERSION),)
    VERSION_FROM_FILE := $(shell cat VERSION)
    ifeq ($(VERSION_FROM_FILE),)
    $(error VERSION not detected. Make sure it's stored in the VERSION file or defined in VERSION variable)
    endif
    VERSION := $(VERSION_FROM_FILE)-dev
    endif
    
    export VERSION
    
    # Base version of Istio image to use
    BASE_VERSION ?= master-2024-09-19T19-01-03
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 03 23:53:59 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/net/MediaType.java

      /*
       * This matches the same characters as linear-white-space from RFC 822, but we make no effort to
       * enforce any particular rules with regards to line folding as stated in the class docs.
       */
      private static final CharMatcher LINEAR_WHITE_SPACE = CharMatcher.anyOf(" \t\r\n");
    
      // TODO(gak): make these public?
      private static final String APPLICATION_TYPE = "application";
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Sep 26 19:15:09 UTC 2024
    - 47.5K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

        latch = new CountDownLatch(1);
        future = createListenableFuture(Boolean.TRUE, null, latch);
      }
    
      @Override
      protected void tearDown() throws Exception {
    
        // Make sure we have no waiting threads.
        latch.countDown();
      }
    
      /** Constructs a listenable future with a value available after the latch has counted down. */
      protected abstract <V> ListenableFuture<V> createListenableFuture(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 18:30:30 UTC 2023
    - 6K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/path-operation-configuration.md

    ### Tags with Enums
    
    If you have a big application, you might end up accumulating **several tags**, and you would want to make sure you always use the **same tag** for related *path operations*.
    
    In these cases, it could make sense to store the tags in an `Enum`.
    
    **FastAPI** supports that the same way as with plain strings:
    
    ```Python hl_lines="1  8-10  13  18"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  6. cmd/dummy-data-generator_test.go

    // errors cause a `false` result. A string describing the error is
    // also returned.
    func cmpReaders(r1, r2 io.Reader) (bool, string) {
    	bufLen := 32 * 1024
    	b1, b2 := make([]byte, bufLen), make([]byte, bufLen)
    	for i := 0; true; i++ {
    		n1, e1 := io.ReadFull(r1, b1)
    		n2, e2 := io.ReadFull(r2, b2)
    		if n1 != n2 {
    			return false, fmt.Sprintf("Read %d != %d bytes from the readers", n1, n2)
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 02 15:13:05 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. android-test-app/src/androidTest/kotlin/okhttp/android/testapp/PublicSuffixDatabaseTest.kt

    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import org.junit.Test
    
    /**
     * Run with "./gradlew :android-test-app:connectedCheck -PandroidBuild=true" and make sure ANDROID_SDK_ROOT is set.
     */
    class PublicSuffixDatabaseTest {
      @Test
      fun testTopLevelDomain() {
        assertThat("https://www.google.com/robots.txt".toHttpUrl().topPrivateDomain()).isEqualTo("google.com")
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

     * Arrays.sort(pq.toArray())}. Also, method {@code drainTo} can be used to remove some or
     * all elements in priority order and place them in another collection.
     *
     * <p>Operations on this class make no guarantees about the ordering of elements with equal
     * priority. If you need to enforce an ordering, you can define custom classes or comparators that
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 07 21:36:32 UTC 2024
    - 19K bytes
    - Viewed (0)
  9. CHANGELOG.md

     *  Breaking: Reorder the parameters in the Cache constructor that was introduced in 5.0.0-alpha.3.
    
     *  New: `Request.Builder.cacheUrlOverride()` customizes the cache key used for a request. This can
        be used to make canonical URLs for the cache that omit insignificant query parameters or other
        irrelevant data.
    
        This feature may be used with `POST` requests to cache their responses. In such cases the
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 18 01:31:39 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  10. internal/once/singleton.go

    type Singleton[T any] struct {
    	v   *T
    	set chan struct{}
    }
    
    // NewSingleton creates a new unset singleton.
    func NewSingleton[T any]() *Singleton[T] {
    	return &Singleton[T]{set: make(chan struct{}), v: nil}
    }
    
    // Get will return the singleton value.
    func (s *Singleton[T]) Get() *T {
    	<-s.set
    	return s.v
    }
    
    // GetNonBlocking will return the singleton value or nil if not set yet.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 952 bytes
    - Viewed (0)
Back to top