Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 5,637 for need (0.04 sec)

  1. src/runtime/ehooks_test.go

    				t.Fatalf("failed%s mode %s: wanted %q\noutput:\n%s", bt,
    					s.mode, s.expected, outs)
    			}
    			for _, need := range s.musthave {
    				if !strings.Contains(outs, need) {
    					t.Fatalf("failed mode %s: output does not contain %q\noutput:\n%s",
    						s.mode, need, outs)
    				}
    			}
    			if s.expected == "" && s.musthave == nil && outs != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 16:41:13 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. test/escape_struct_param1.go

    	Ssink = pu.SPPi()
    }
    
    func tiSPP() {
    	s := "cat" // ERROR "moved to heap: s$"
    	ps := &s
    	pps := &ps
    	pu := &U{ps, pps} // ERROR "&U{...} does not escape$"
    	Ssink = *pu.SPP()
    }
    
    // BAD: need fine-grained (field-sensitive) analysis to avoid spurious escape of ps
    func tSP() {
    	s := "cat" // ERROR "moved to heap: s$"
    	ps := &s   // ERROR "moved to heap: ps$"
    	pps := &ps
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 12 08:31:49 UTC 2020
    - 8.9K bytes
    - Viewed (0)
  3. test/escape_struct_param2.go

    	Ssink = pu.SPPi()
    }
    
    func tiSPP() {
    	s := "cat" // ERROR "moved to heap: s$"
    	ps := &s
    	pps := &ps
    	pu := &U{ps, pps} // ERROR "&U{...} does not escape$"
    	Ssink = *pu.SPP()
    }
    
    // BAD: need fine-grained analysis to avoid spurious escape of ps
    func tSP() {
    	s := "cat" // ERROR "moved to heap: s$"
    	ps := &s   // ERROR "moved to heap: ps$"
    	pps := &ps
    	pu := &U{ps, pps} // ERROR "&U{...} does not escape$"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 12 08:31:49 UTC 2020
    - 8.9K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/path-params-numeric-validations.md

    ## Order the parameters as you need
    
    !!! tip
        This is probably not as important or necessary if you use `Annotated`.
    
    Let's say that you want to declare the query parameter `q` as a required `str`.
    
    And you don't need to declare anything else for that parameter, so you don't really need to use `Query`.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Jun 01 21:05:52 UTC 2024
    - 9K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.h

    //
    // In general, the `TF_InitPlugin` symbol doesn't need to be exposed in a header
    // file, since the plugin registration will look for the symbol in the DSO file
    // that provides the filesystem functionality. However, the POSIX filesystem
    // needs to be statically registered in some tests and utilities for building
    // the API files at the time of creating the pip package. Hence, we need to
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 20 16:42:12 UTC 2020
    - 1.5K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/test_match_benchmark_labels.txt

    # Benchmark labels, file outside gopath
    # TODO(matloob): This test was called TestBenchmarkLabelsOutsideGOPATH
    # why "OutsideGOPATH"? Does the go command need to be run outside GOPATH?
    # Do the files need to exist outside GOPATH?
    cp $GOPATH/src/standalone_benchmark_test.go $WORK/tmp/standalone_benchmark_test.go
    go test -run '^$' -bench . $WORK/tmp/standalone_benchmark_test.go
    stdout '^goos: '$GOOS
    stdout '^goarch: '$GOARCH
    ! stdout '^pkg:'
    ! stderr '^pkg:'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 19 20:48:08 UTC 2020
    - 577 bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/internal/resolve/caching/ImplicitInputsProvidingService.java

     * and their result.
     *
     * In the external resource example, a record may consist of the external resource URI and
     * the external resource text. Then when we need to check if the resource is up-to-date,
     * we can ask the service by calling {@code isUpToDate(IN, OUT)} with
     * the URI as an input.
     *
     * It's up to the service implementation to determine:
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  8. src/encoding/xml/example_test.go

    		Height    float32  `xml:"height,omitempty"`
    		Married   bool
    		Address
    		Comment string `xml:",comment"`
    	}
    
    	v := &Person{Id: 13, FirstName: "John", LastName: "Doe", Age: 42}
    	v.Comment = " Need more details. "
    	v.Address = Address{"Hanga Roa", "Easter Island"}
    
    	output, err := xml.MarshalIndent(v, "  ", "    ")
    	if err != nil {
    		fmt.Printf("error: %v\n", err)
    	}
    
    	os.Stdout.Write(output)
    	// Output:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 23:34:33 UTC 2016
    - 3.7K bytes
    - Viewed (0)
  9. src/vendor/golang.org/x/crypto/hkdf/hkdf.go

    	info    []byte
    	counter byte
    
    	prev []byte
    	buf  []byte
    }
    
    func (f *hkdf) Read(p []byte) (int, error) {
    	// Check whether enough data can be generated
    	need := len(p)
    	remains := len(f.buf) + int(255-f.counter+1)*f.size
    	if remains < need {
    		return 0, errors.New("hkdf: entropy limit reached")
    	}
    	// Read any leftover from the buffer
    	n := copy(p, f.buf)
    	p = p[n:]
    
    	// Fill the rest of the buffer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  10. cmd/service.go

    // freezeServices will freeze all incoming S3 API calls.
    // For each call, unfreezeServices must be called once.
    func freezeServices() {
    	// Use atomics for globalServiceFreeze, so we can read without locking.
    	// We need a lock since we are need the 2 atomic values to remain in sync.
    	globalServiceFreezeMu.Lock()
    	// If multiple calls, first one creates channel.
    	globalServiceFreezeCnt++
    	if globalServiceFreezeCnt == 1 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Feb 28 07:02:14 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top