Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 155 for iota (0.06 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/printf.go

    	Run:        run,
    	ResultType: reflect.TypeOf((*Result)(nil)),
    	FactTypes:  []analysis.Fact{new(isWrapper)},
    }
    
    // Kind is a kind of fmt function behavior.
    type Kind int
    
    const (
    	KindNone   Kind = iota // not a fmt wrapper function
    	KindPrint              // function behaves like fmt.Print
    	KindPrintf             // function behaves like fmt.Printf
    	KindErrorf             // function behaves like fmt.Errorf
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/block.go

    const (
    	// These values are arranged in what seems to be order of increasing alignment importance.
    	// Currently only a few are relevant.  Implicitly, they are all in a loop.
    	HotNotFlowIn Hotness = 1 << iota // This block is only reached by branches
    	HotInitial                       // In the block order, the first one for a given loop.  Not necessarily topological header.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 12.2K 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/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)
Back to top