Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 118 for provider (0.38 sec)

  1. src/cmd/compile/internal/types2/stmt.go

    		// they are handled explicitly by funcBody.
    		if !scope.isFunc {
    			check.usage(scope)
    		}
    	}
    }
    
    // stmtContext is a bitset describing which
    // control-flow statements are permissible,
    // and provides additional context information
    // for better error messages.
    type stmtContext uint
    
    const (
    	// permissible control-flow statements
    	breakOk stmtContext = 1 << iota
    	continueOk
    	fallthroughOk
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  2. src/runtime/pprof/pprof.go

    	if cpu.profiling {
    		return fmt.Errorf("cpu profiling already in use")
    	}
    	cpu.profiling = true
    	runtime.SetCPUProfileRate(hz)
    	go profileWriter(w)
    	return nil
    }
    
    // readProfile, provided by the runtime, returns the next chunk of
    // binary CPU profiling stack trace data, blocking until data is available.
    // If profiling is turned off and all the profile data accumulated while it was
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  3. src/fmt/print.go

    	badPrecString     = "%!(BADPREC)"
    	noVerbString      = "%!(NOVERB)"
    	invReflectString  = "<invalid reflect.Value>"
    )
    
    // State represents the printer state passed to custom formatters.
    // It provides access to the [io.Writer] interface plus information about
    // the flags and options for the operand's format specifier.
    type State interface {
    	// Write is the function to call to emit formatted output to be printed.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:22:43 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  4. src/net/smtp/smtp.go

    		return err
    	}
    	if err := c.hello(); err != nil {
    		return err
    	}
    	_, _, err := c.cmd(250, "VRFY %s", addr)
    	return err
    }
    
    // Auth authenticates a client using the provided authentication mechanism.
    // A failed authentication closes the connection.
    // Only servers that advertise the AUTH extension support this function.
    func (c *Client) Auth(a Auth) error {
    	if err := c.hello(); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  5. src/runtime/debug/garbage.go

    // the program crashes.
    // SetMaxStack returns the previous setting.
    // The initial setting is 1 GB on 64-bit systems, 250 MB on 32-bit systems.
    // There may be a system-imposed maximum stack limit regardless
    // of the value provided to SetMaxStack.
    //
    // SetMaxStack is useful mainly for limiting the damage done by
    // goroutines that enter an infinite recursion. It only limits future
    // stack growth.
    func SetMaxStack(bytes int) int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/check.go

    // Otherwise, it is a no-op.
    func (a *action) describef(pos poser, format string, args ...interface{}) {
    	if debug {
    		a.desc = &actionDesc{pos, format, args}
    	}
    }
    
    // An actionDesc provides information on an action.
    // For debugging only.
    type actionDesc struct {
    	pos    poser
    	format string
    	args   []interface{}
    }
    
    // A Checker maintains the state of the type checker.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  7. src/net/http/cookie.go

    		if cookie, err := ParseSetCookie(line); err == nil {
    			cookies = append(cookies, cookie)
    		}
    	}
    	return cookies
    }
    
    // SetCookie adds a Set-Cookie header to the provided [ResponseWriter]'s headers.
    // The provided cookie must have a valid Name. Invalid cookies may be
    // silently dropped.
    func SetCookie(w ResponseWriter, cookie *Cookie) {
    	if v := cookie.String(); v != "" {
    		w.Header().Add("Set-Cookie", v)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:33:05 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  8. src/internal/trace/event.go

    	Value Value
    }
    
    // Label provides details about a Label event.
    type Label struct {
    	// Label is the label applied to some resource.
    	Label string
    
    	// Resource is the resource to which this label should be applied.
    	Resource ResourceID
    }
    
    // Range provides details about a Range event.
    type Range struct {
    	// Name is a human-readable name for the range.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 12:39:00 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  9. src/cmd/go/internal/fsys/fsys.go

    	for _, entry := range entries {
    		info, err := entry.Info()
    		if err != nil {
    			continue
    		}
    		fis = append(fis, info)
    	}
    	return fis, nil
    }
    
    // ReadDir provides a slice of fs.FileInfo entries corresponding
    // to the overlaid files in the directory.
    func ReadDir(dir string) ([]fs.FileInfo, error) {
    	Trace("ReadDir", dir)
    	dir = canonicalize(dir)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:35:34 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  10. src/go/doc/example.go

    		return true
    	}
    	rune, _ := utf8.DecodeRuneInString(name[len(prefix):])
    	return !unicode.IsLower(rune)
    }
    
    // playExample synthesizes a new *ast.File based on the provided
    // file with the provided function body as the body of main.
    func playExample(file *ast.File, f *ast.FuncDecl) *ast.File {
    	body := f.Body
    
    	if !strings.HasSuffix(file.Name.Name, "_test") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 21.4K bytes
    - Viewed (0)
Back to top