Search Options

Results per page
Sort
Preferred Languages
Advance

Results 371 - 380 of 447 for Once (0.02 sec)

  1. src/archive/tar/writer_test.go

    			t.Fatalf("Failed to read header: %s", err)
    		}
    		if header.Typeflag != TypeReg {
    			t.Fatalf("Typeflag should've been %d, found %d", TypeReg, header.Typeflag)
    		}
    	}
    }
    
    // failOnceWriter fails exactly once and then always reports success.
    type failOnceWriter bool
    
    func (w *failOnceWriter) Write(b []byte) (int, error) {
    	if !*w {
    		return 0, io.ErrShortWrite
    	}
    	*w = true
    	return len(b), nil
    }
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Feb 03 16:38:43 UTC 2025
    - 39.8K bytes
    - Viewed (0)
  2. docs/en/docs/index.md

    * The alternative documentation will also reflect the new query parameter and body:
    
    ![ReDoc](https://fastapi.tiangolo.com/img/index/index-06-redoc-02.png)
    
    ### Recap { #recap }
    
    In summary, you declare **once** the types of parameters, body, etc. as function parameters.
    
    You do that with standard modern Python types.
    
    You don't have to learn a new syntax, the methods or classes of a specific library, etc.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 21.3K bytes
    - Viewed (0)
  3. src/cmd/api/main_test.go

    		switch {
    		case len(features) == 0 || (len(required) > 0 && required[0] < features[0]):
    			feature := take(&required)
    			if exceptionSet[feature] {
    				// An "unfortunate" case: the feature was once
    				// included in the API (e.g. go1.txt), but was
    				// subsequently removed. These are already
    				// acknowledged by being in the file
    				// "api/except.txt". No need to print them out
    				// here.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Feb 20 03:25:33 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  4. docs/changelogs/changelog_3x.md

     *  Fix: Don't leak a connection when a call is canceled immediately preceding the `onFailure()`
        callback.
    
     *  Fix: Apply call timeouts when connecting duplex calls, web sockets, and server-sent events.
        Once the streams are established no further timeout is enforced.
    
     *  Fix: Retain the `Route` when a connection is reused on a redirect or other follow-up. This was
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        assertEquals(6, queue.size());
        assertEquals(11, queue.capacity());
        assertEquals(42, queue.maximumSize);
        checkNatural(queue);
      }
    
      // Now test everything at once
    
      public void testCreation_allOptions() {
        MinMaxPriorityQueue<Integer> queue =
            MinMaxPriorityQueue.orderedBy(SOME_COMPARATOR)
                .expectedSize(8)
                .maximumSize(42)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt

            set(Settings.INITIAL_WINDOW_SIZE, OKHTTP_CLIENT_WINDOW_SIZE)
          }
        }
    
      /**
       * Settings we receive from the peer. Changes to the field are guarded by this. The instance is
       * never mutated once it has been assigned.
       */
      var peerSettings = DEFAULT_SETTINGS
    
      /** The bytes consumed and acknowledged by the application. */
      val readBytes: WindowCounter = WindowCounter(streamId = 0)
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableMultimap.java

         * builder after this call. This does not change semantics, but may improve performance if
         * {@code expectedValuesPerKey} is a good estimate.
         *
         * <p>This may be called more than once; each newly added key will use the most recent call to
         * {@link #expectedValuesPerKey} as its hint.
         *
         * @throws IllegalArgumentException if {@code expectedValuesPerKey} is negative
         * @since 33.3.0
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 28.6K bytes
    - Viewed (0)
  8. cmd/bucket-handlers.go

    	cred, errCode := doesPolicySignatureMatch(formValues)
    	if errCode != ErrNone {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(errCode), r.URL)
    		return
    	}
    
    	if len(fanOutEntries) > 0 {
    		// Once signature is validated, check if the user has
    		// explicit permissions for the user.
    		if !globalIAMSys.IsAllowed(policy.Args{
    			AccountName:     cred.AccessKey,
    			Groups:          cred.Groups,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 63.9K bytes
    - Viewed (0)
  9. src/archive/zip/reader.go

    	// The baseOffset field is the start of the zip file proper.
    	baseOffset int64
    
    	// fileList is a list of files sorted by ename,
    	// for use by the Open method.
    	fileListOnce sync.Once
    	fileList     []fileListEntry
    }
    
    // A ReadCloser is a [Reader] that must be closed when no longer needed.
    type ReadCloser struct {
    	f *os.File
    	Reader
    }
    
    // A File is a single file in a ZIP archive.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Mar 11 22:19:38 UTC 2025
    - 28.4K bytes
    - Viewed (0)
  10. src/cmd/cgo/doc.go

    memory pinned using [runtime.Pinner]. This type may be used to manage
    the duration of the memory's pinned status, potentially beyond the
    duration of a C function call. Memory may be pinned more than once and
    must be unpinned exactly the same number of times it has been pinned.
    
    Go code may pass a Go pointer to C provided the memory to which it
    points does not contain any Go pointers to memory that is unpinned. When
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Dec 11 23:57:34 UTC 2024
    - 44K bytes
    - Viewed (0)
Back to top