Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 228 for iota (0.06 sec)

  1. src/syscall/js/js.go

    	gcPtr *ref      // used to trigger the finalizer when the Value is not referenced any more
    }
    
    const (
    	// the type flags need to be in sync with wasm_exec.js
    	typeFlagNone = iota
    	typeFlagObject
    	typeFlagString
    	typeFlagSymbol
    	typeFlagFunction
    )
    
    func makeValue(r ref) Value {
    	var gcPtr *ref
    	typeFlag := (r >> 32) & 7
    	if (r>>32)&nanHead == nanHead && typeFlag != typeFlagNone {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 14:35:26 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  2. src/cmd/doc/pkg.go

    		// case of constants and iota.
    		if vspec.Type != nil {
    			typ = vspec.Type
    		}
    
    		for _, ident := range vspec.Names {
    			if showSrc || isExported(ident.Name) {
    				if vspec.Type == nil && vspec.Values == nil && typ != nil {
    					// This a standalone identifier, as in the case of iota usage.
    					// Thus, assume the type comes from the previous type.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 08 20:15:52 UTC 2024
    - 32K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/text/language/language.go

    }
    
    // CanonType can be used to enable or disable various types of canonicalization.
    type CanonType int
    
    const (
    	// Replace deprecated base languages with their preferred replacements.
    	DeprecatedBase CanonType = 1 << iota
    	// Replace deprecated scripts with their preferred replacements.
    	DeprecatedScript
    	// Replace deprecated regions with their preferred replacements.
    	DeprecatedRegion
    	// Remove redundant scripts.
    	SuppressScript
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  4. src/internal/zstd/block.go

    		return nil
    	}
    
    	return r.execSeqs(data, off, litbuf, seqCount)
    }
    
    // seqCode is the kind of sequence codes we have to handle.
    type seqCode int
    
    const (
    	seqLiteral seqCode = iota
    	seqOffset
    	seqMatch
    )
    
    // seqCodeInfoData is the information needed to set up seqTables and
    // seqTableBits for a particular kind of sequence code.
    type seqCodeInfoData struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 28 17:57:43 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  5. src/regexp/syntax/regexp.go

    		case OpPlus:
    			b.WriteRune('+')
    		case OpQuest:
    			b.WriteRune('?')
    		case OpRepeat:
    			b.WriteRune('{')
    			b.WriteString(strconv.Itoa(re.Min))
    			if re.Max != re.Min {
    				b.WriteRune(',')
    				if re.Max >= 0 {
    					b.WriteString(strconv.Itoa(re.Max))
    				}
    			}
    			b.WriteRune('}')
    		}
    		if re.Flags&NonGreedy != 0 {
    			b.WriteRune('?')
    		}
    	case OpConcat:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:51 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  6. src/runtime/metrics.go

    	metrics[name] = d
    	metricsUnlock()
    }
    
    // statDep is a dependency on a group of statistics
    // that a metric might have.
    type statDep uint
    
    const (
    	heapStatsDep statDep = iota // corresponds to heapStatsAggregate
    	sysStatsDep                 // corresponds to sysStatsAggregate
    	cpuStatsDep                 // corresponds to cpuStatsAggregate
    	gcStatsDep                  // corresponds to gcStatsAggregate
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 21:03:13 UTC 2024
    - 26K bytes
    - Viewed (0)
  7. src/runtime/runtime1.go

    // The cached value is a uint32 in which the low bits
    // are the "crash" and "all" settings and the remaining
    // bits are the traceback value (0 off, 1 on, 2 include system).
    const (
    	tracebackCrash = 1 << iota
    	tracebackAll
    	tracebackShift = iota
    )
    
    var traceback_cache uint32 = 2 << tracebackShift
    var traceback_env uint32
    
    // gotraceback returns the current traceback settings.
    //
    // If level is 0, suppress all tracebacks.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  8. src/archive/tar/format.go

    //
    // The Writer currently provides no support for sparse files.
    type Format int
    
    // Constants to identify various tar formats.
    const (
    	// Deliberately hide the meaning of constants from public API.
    	_ Format = (1 << iota) / 4 // Sequence of 0, 0, 1, 2, 4, 8, etc...
    
    	// FormatUnknown indicates that the format is unknown.
    	FormatUnknown
    
    	// The format of the original Unix V7 tar tool prior to standardization.
    	formatV7
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 18:36:46 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  9. src/log/log.go

    			year, month, day := t.Date()
    			itoa(buf, year, 4)
    			*buf = append(*buf, '/')
    			itoa(buf, int(month), 2)
    			*buf = append(*buf, '/')
    			itoa(buf, day, 2)
    			*buf = append(*buf, ' ')
    		}
    		if flag&(Ltime|Lmicroseconds) != 0 {
    			hour, min, sec := t.Clock()
    			itoa(buf, hour, 2)
    			*buf = append(*buf, ':')
    			itoa(buf, min, 2)
    			*buf = append(*buf, ':')
    			itoa(buf, sec, 2)
    			if flag&Lmicroseconds != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 23 22:56:07 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  10. src/go/types/operand.go

    	"fmt"
    	"go/ast"
    	"go/constant"
    	"go/token"
    	. "internal/types/errors"
    )
    
    // An operandMode specifies the (addressing) mode of an operand.
    type operandMode byte
    
    const (
    	invalid   operandMode = iota // operand is invalid
    	novalue                      // operand represents no value (result of a function call w/o result)
    	builtin                      // operand is a built-in function
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 21:17:10 UTC 2024
    - 11.1K bytes
    - Viewed (0)
Back to top