Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 155 for iota (0.11 sec)

  1. src/net/dnsclient_unix.go

    	hostLookupFiles:    "files",
    	hostLookupDNS:      "dns",
    }
    
    func (o hostLookupOrder) String() string {
    	if s, ok := lookupOrderName[o]; ok {
    		return s
    	}
    	return "hostLookupOrder=" + itoa.Itoa(int(o)) + "??"
    }
    
    func (r *Resolver) goLookupHostOrder(ctx context.Context, name string, order hostLookupOrder, conf *dnsConfig) (addrs []string, err error) {
    	if order == hostLookupFilesDNS || order == hostLookupFiles {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  2. src/go/internal/gcimporter/iimport.go

    	iexportVersionCurrent = 2
    )
    
    type ident struct {
    	pkg  *types.Package
    	name string
    }
    
    const predeclReserved = 32
    
    type itag uint64
    
    const (
    	// Types
    	definedType itag = iota
    	pointerType
    	sliceType
    	arrayType
    	chanType
    	mapType
    	signatureType
    	structType
    	interfaceType
    	typeParamType
    	instanceType
    	unionType
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  3. src/runtime/debuglog.go

    	// Attempt to return this logger to the cache.
    	if putCachedDlogger(l) {
    		return
    	}
    
    	// Return the logger to the global pool.
    	l.owned.Store(0)
    }
    
    const (
    	debugLogUnknown = 1 + iota
    	debugLogBoolTrue
    	debugLogBoolFalse
    	debugLogInt
    	debugLogUint
    	debugLogHex
    	debugLogPtr
    	debugLogString
    	debugLogConstString
    	debugLogStringOverflow
    
    	debugLogPC
    	debugLogTraceback
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:10:48 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  4. src/time/zoneinfo.go

    	off += secs
    
    	if neg {
    		off = -off
    	}
    	return off, s, true
    }
    
    // ruleKind is the kinds of rules that can be seen in a tzset string.
    type ruleKind int
    
    const (
    	ruleJulian ruleKind = iota
    	ruleDOY
    	ruleMonthWeekDay
    )
    
    // rule is a rule read from a tzset string.
    type rule struct {
    	kind ruleKind
    	day  int
    	week int
    	mon  int
    	time int // transition time
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:30 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  5. src/text/template/funcs.go

    	errBadComparison     = errors.New("incompatible types for comparison")
    	errNoComparison      = errors.New("missing argument for comparison")
    )
    
    type kind int
    
    const (
    	invalidKind kind = iota
    	boolKind
    	complexKind
    	intKind
    	floatKind
    	stringKind
    	uintKind
    )
    
    func basicKind(v reflect.Value) (kind, error) {
    	switch v.Kind() {
    	case reflect.Bool:
    		return boolKind, nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/lookup.go

    	methods := under(T).(*Interface).typeSet().methods // T must be an interface
    	if len(methods) == 0 {
    		return nil, false
    	}
    
    	const (
    		ok = iota
    		notFound
    		wrongName
    		unexported
    		wrongSig
    		ambigSel
    		ptrRecv
    		field
    	)
    
    	state := ok
    	var m *Func // method on T we're trying to implement
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/mod/sumdb/client.go

    		if err := c.ops.WriteConfig(c.name+"/latest", msg, latestMsg); err != ErrWriteConflict {
    			// Success or a non-write-conflict error.
    			return err
    		}
    	}
    }
    
    const (
    	msgPast = 1 + iota
    	msgNow
    	msgFuture
    )
    
    // mergeLatestMem is like mergeLatest but is only concerned with
    // updating the in-memory copy of the latest tree head (c.latest)
    // not the configuration file.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 17:50:49 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  8. src/go/types/lookup.go

    	methods := under(T).(*Interface).typeSet().methods // T must be an interface
    	if len(methods) == 0 {
    		return nil, false
    	}
    
    	const (
    		ok = iota
    		notFound
    		wrongName
    		unexported
    		wrongSig
    		ambigSel
    		ptrRecv
    		field
    	)
    
    	state := ok
    	var m *Func // method on T we're trying to implement
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  9. src/go/printer/printer_test.go

    const (
    	dataDir  = "testdata"
    	tabwidth = 8
    )
    
    var update = flag.Bool("update", false, "update golden files")
    
    var fset = token.NewFileSet()
    
    type checkMode uint
    
    const (
    	export checkMode = 1 << iota
    	rawFormat
    	normNumber
    	idempotent
    	allowTypeParams
    )
    
    // format parses src, prints the corresponding AST, verifies the resulting
    // src is syntactically correct, and returns the resulting src or an error
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ir/func.go

    	// Scope identifies the innermost scope to the right of Pos.
    	Scope ScopeID
    }
    
    // A ScopeID represents a lexical scope within a function.
    type ScopeID int32
    
    const (
    	funcDupok      = 1 << iota // duplicate definitions ok
    	funcWrapper                // hide frame from users (elide in tracebacks, don't count as a frame for recover())
    	funcABIWrapper             // is an ABI wrapper (also set flagWrapper)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 21.1K bytes
    - Viewed (0)
Back to top