Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 351 for rary (0.08 sec)

  1. src/runtime/race/testdata/rangefunc_test.go

    // ofSliceIndex returns a Seq over the elements of s. It is equivalent
    // to range s, except that it splits s into two halves and iterates
    // in two separate goroutines.  This is racy if yield is racy, and yield
    // will be racy if it contains an early exit.
    func ofSliceIndex[T any, S ~[]T](s S) Seq2[int, T] {
    	return func(yield func(int, T) bool) {
    		c := make(chan bool, 2)
    		var done atomic.Bool
    		go func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/kt/AccessHeaders.kt

          if (!response.isSuccessful) throw IOException("Unexpected code $response")
    
          println("Server: ${response.header("Server")}")
          println("Date: ${response.header("Date")}")
          println("Vary: ${response.headers("Vary")}")
        }
      }
    }
    
    fun main() {
      AccessHeaders().run()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  3. docs/az/docs/fastapi-people.md

    ## Ən çox rəy verənlər
    
    Bu istifadəçilər **ən çox rəy verənlər**dir.
    
    ### Tərcümələr üçün rəylər
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/endpoints/discovery/aggregated/handler.go

    	// A response via different Accept encodings (eg: protobuf, json) will
    	// yield the same etag. This is okay because Accept is part of the Vary header.
    	// Per RFC7231 a client must only cache a response etag pair if the header field
    	// matches as indicated by the Vary field. Thus, protobuf and json and other Accept
    	// encodings will not be cached as the same response despite having the same etag.
    	cachedResponseETag string
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 02 00:29:39 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  5. cmd/os-reliable.go

    package cmd
    
    import (
    	"fmt"
    	"os"
    	"path"
    )
    
    // Wrapper functions to os.RemoveAll, which calls reliableRemoveAll
    // this is to ensure that if there is a racy parent directory
    // create in between we can simply retry the operation.
    func removeAll(dirPath string) (err error) {
    	if dirPath == "" {
    		return errInvalidArgument
    	}
    
    	if err = checkPathLength(dirPath); err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Apr 22 17:49:30 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. src/net/mail/message_test.go

    		in: `From: John Doe <******@****.***e>
    To: Mary Smith <mary@example.net>
    Subject: Saying Hello
    Date: Fri, 21 Nov 1997 09:55:06 -0600
    Message-ID: <******@****.***e>
    
    This is a message just to say hello.
    So, "Hello".
    `,
    		header: Header{
    			"From":       []string{"John Doe <******@****.***e>"},
    			"To":         []string{"Mary Smith <mary@example.net>"},
    			"Subject":    []string{"Saying Hello"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 11:31:03 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/model/eclipse/EclipseProject.java

         * For example, if the project applies the 'java' plugin the result will contain the
         * {@code "org.eclipse.jdt.core.javanature"} entry. Note, that the exact list of automatically added
         * natures is not part of the API and can vary between Gradle releases.
         * <p>
         * The result can be customized via the 'eclipse' plugin configuration.
         *
         * @return The list of Eclipse project natures.
         * @since 2.9
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  8. src/syscall/dll_windows.go

    func (d *LazyDLL) Load() error {
    	// Non-racy version of:
    	// if d.dll == nil {
    	if atomic.LoadPointer((*unsafe.Pointer)(unsafe.Pointer(&d.dll))) == nil {
    		d.mu.Lock()
    		defer d.mu.Unlock()
    		if d.dll == nil {
    			dll, e := LoadDLL(d.Name)
    			if e != nil {
    				return e
    			}
    			// Non-racy version of:
    			// d.dll = dll
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/cgo_stale_precompiled.txt

    [!cgo] skip
    
    # This test may start with the runtime/cgo package already stale.
    # Explicitly rebuild it to ensure that it is cached.
    # (See https://go.dev/issue/50892.)
    #
    # If running in non-short mode, explicitly vary CGO_CFLAGS
    # as a control case (to ensure that our regexps do catch rebuilds).
    
    [!short] env GOCACHE=$WORK/cache
    [!short] env CGO_CFLAGS=-DTestScript_cgo_stale_precompiled=true
    go build -x runtime/cgo
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/responsewriters/writers_test.go

    				},
    				URL: &url.URL{Path: "/path"},
    			},
    			wantCode: http.StatusOK,
    			wantHeaders: http.Header{
    				"Content-Type":     []string{"application/json"},
    				"Content-Encoding": []string{"gzip"},
    				"Vary":             []string{"Accept-Encoding"},
    			},
    		}
    	}
    	featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.APIResponseCompression, true)
    	for i := 0; i < 100; i++ {
    		ctt := newTest()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 15.7K bytes
    - Viewed (0)
Back to top