Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,376 for whatev (0.22 sec)

  1. src/cmd/vendor/golang.org/x/telemetry/internal/telemetry/types.go

    }
    
    type CounterConfig struct {
    	Name  string
    	Rate  float64 // If X <= Rate, report this counter
    	Depth int     `json:",omitempty"` // for stack counters
    }
    
    // A Report is what's uploaded (or saved locally)
    type Report struct {
    	Week     string  // first day this report covers (YYYY-MM-DD)
    	LastWeek string  // Week field from latest previous report uploaded
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:10:54 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. src/cmd/trace/tasks.go

    			last := t.startTime()
    			for _, ev := range rawEvents {
    				what := describeEvent(ev)
    				if what == "" {
    					continue
    				}
    				sinceStart := ev.Time().Sub(t.startTime())
    				events = append(events, event{
    					WhenString: fmt.Sprintf("%2.9f", sinceStart.Seconds()),
    					Elapsed:    ev.Time().Sub(last),
    					What:       what,
    					Goroutine:  primaryGoroutine(ev),
    				})
    				last = ev.Time()
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  3. src/internal/trace/testdata/tests/go122-go-create-without-running-g.test

    EventBatch gen=1 m=18446744073709551615 time=0 size=5
    Frequency freq=15625000
    EventBatch gen=1 m=18446744073709551615 time=0 size=1
    Stacks
    EventBatch gen=1 m=18446744073709551615 time=0 size=12
    Strings
    String id=1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 446 bytes
    - Viewed (0)
  4. test/typeswitch2.go

    // license that can be found in the LICENSE file.
    
    // Verify that various erroneous type switches are caught by the compiler.
    // Does not compile.
    
    package main
    
    import "io"
    
    func whatis(x interface{}) string {
    	switch x.(type) {
    	case int:
    		return "int"
    	case int: // ERROR "duplicate"
    		return "int8"
    	case io.Reader:
    		return "Reader1"
    	case io.Reader: // ERROR "duplicate"
    		return "Reader2"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 11 23:33:11 UTC 2019
    - 655 bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/telemetry/types_alias.go

    // Common types and directories used by multiple packages.
    
    // An UploadConfig controls what data is uploaded.
    type UploadConfig = telemetry.UploadConfig
    
    type ProgramConfig = telemetry.ProgramConfig
    
    type CounterConfig = telemetry.CounterConfig
    
    // A Report is what's uploaded (or saved locally)
    type Report = telemetry.Report
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:57:25 UTC 2024
    - 605 bytes
    - Viewed (0)
  6. subprojects/core-api/src/main/java/org/gradle/api/provider/Property.java

     * @since 4.3
     */
    @SupportsKotlinAssignmentOverloading
    public interface Property<T> extends Provider<T>, HasConfigurableValue, SupportsConvention {
        /**
         * Sets the value of the property to the given value, replacing whatever value the property already had.
         *
         * <p>
         * This method can also be used to discard the value of the property, by passing it {@code null}. When the
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 16:06:55 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  7. src/internal/poll/fd.go

    // consume removes data from a slice of byte slices, for writev.
    func consume(v *[][]byte, n int64) {
    	for len(*v) > 0 {
    		ln0 := int64(len((*v)[0]))
    		if ln0 > n {
    			(*v)[0] = (*v)[0][n:]
    			return
    		}
    		n -= ln0
    		(*v)[0] = nil
    		*v = (*v)[1:]
    	}
    }
    
    // TestHookDidWritev is a hook for testing writev.
    var TestHookDidWritev = func(wrote int) {}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 23:16:28 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  8. src/net/http/roundtrip_js.go

    // code path.
    var jsFetchDisabled = js.Global().Get("process").Type() == js.TypeObject &&
    	strings.HasPrefix(js.Global().Get("process").Get("argv0").String(), "node")
    
    // RoundTrip implements the [RoundTripper] interface using the WHATWG Fetch API.
    func (t *Transport) RoundTrip(req *Request) (*Response, error) {
    	// The Transport has a documented contract that states that if the DialContext or
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  9. subprojects/core-api/src/main/java/org/gradle/api/file/ConfigurableFilePermissions.java

         * <p>
         * For further details on permissions see {@link ConfigurableUserClassFilePermissions}.
         * <p>
         * Note that the provided configuration action only applies incremental modifications on top of whatever permission
         * the user has at the moment and that the default values permissions start out are different for files and directories
         * (see {@link UserClassFilePermissions}).
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 12:31:43 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  10. src/time/sys_windows.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package time
    
    import (
    	"errors"
    	"syscall"
    )
    
    // for testing: whatever interrupts a sleep
    func interrupt() {
    }
    
    func open(name string) (uintptr, error) {
    	fd, err := syscall.Open(name, syscall.O_RDONLY, 0)
    	if err != nil {
    		// This condition solves issue https://go.dev/issue/50248
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 08 17:19:07 UTC 2022
    - 1.1K bytes
    - Viewed (0)
Back to top