Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 42 for iota (0.04 sec)

  1. src/cmd/go/internal/modload/load.go

    	// imports to be in "all" (such as when the test is itself within the main
    	// module, or when ld.allClosesOverTests is true).
    	pkgInAll loadPkgFlags = 1 << iota
    
    	// pkgIsRoot indicates that the package matches one of the root package
    	// patterns requested by the caller.
    	//
    	// If LoadTests is set, then when pkgIsRoot and pkgImportsLoaded are both set,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 84K bytes
    - Viewed (0)
  2. src/testing/testing.go

    		c.Cleanup(func() {
    			os.Unsetenv(key)
    		})
    	}
    }
    
    // panicHandling controls the panic handling used by runCleanup.
    type panicHandling int
    
    const (
    	normalPanic panicHandling = iota
    	recoverAndReturnPanic
    )
    
    // runCleanup is called at the end of the test.
    // If ph is recoverAndReturnPanic, it will catch panics, and return the
    // recovered value if any.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  3. src/cmd/cgo/gcc.go

    	}
    	if stderr == "" {
    		fatalf("%s produced no output\non input:\n%s", gccBaseCmd[0], b.Bytes())
    	}
    
    	completed := false
    	sniff := make([]int, len(names))
    	const (
    		notType = 1 << iota
    		notIntConst
    		notNumConst
    		notStrLiteral
    		notDeclared
    	)
    	sawUnmatchedErrors := false
    	for _, line := range strings.Split(stderr, "\n") {
    		// Ignore warnings and random comments, with one
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  4. src/cmd/link/internal/ld/lib.go

    		if err != io.EOF {
    			log.Fatalf("reading input: %v", err)
    		}
    		return -1
    	}
    	return int(c)
    }
    
    type markKind uint8 // for postorder traversal
    const (
    	_ markKind = iota
    	visiting
    	visited
    )
    
    func postorder(libs []*sym.Library) []*sym.Library {
    	order := make([]*sym.Library, 0, len(libs)) // hold the result
    	mark := make(map[*sym.Library]markKind, len(libs))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/api_test.go

    		{`package f6b; var _            =  1e-2000i`, `1e-2000i`, `complex128`, `(0 + 0i)`},
    		{`package f7b; var _            = -1e-2000i`, `-1e-2000i`, `complex128`, `(0 + 0i)`},
    
    		{`package g0; const (a = len([iota]int{}); b; c); const _ = c`, `c`, `int`, `2`}, // go.dev/issue/22341
    		{`package g1; var(j int32; s int; n = 1.0<<s == j)`, `1.0`, `int32`, `1`},        // go.dev/issue/48422
    	}
    
    	for _, test := range tests {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  6. src/cmd/link/internal/ppc64/asm.go

    var hasPCrel = buildcfg.GOPPC64 >= 10 && buildcfg.GOOS == "linux"
    
    const (
    	// For genstub, the type of stub required by the caller.
    	STUB_TOC = iota
    	STUB_PCREL
    )
    
    var stubStrs = []string{
    	STUB_TOC:   "_callstub_toc",
    	STUB_PCREL: "_callstub_pcrel",
    }
    
    const (
    	OP_TOCRESTORE    = 0xe8410018 // ld r2,24(r1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 20:54:08 UTC 2024
    - 63.7K bytes
    - Viewed (0)
  7. src/runtime/traceback.go

    	//
    	// Note that there are a small number of fatal situations that will throw
    	// regardless of unwindPrintErrors or unwindSilentErrors.
    	unwindPrintErrors unwindFlags = 1 << iota
    
    	// unwindSilentErrors silently ignores errors during unwinding.
    	unwindSilentErrors
    
    	// unwindTrap indicates that the initial PC and SP are from a trap, not a
    	// return PC from a call.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  8. src/syscall/syscall_windows.go

    	n, err := formatMessage(flags, 0, uint32(e), langid(LANG_ENGLISH, SUBLANG_ENGLISH_US), b, nil)
    	if err != nil {
    		n, err = formatMessage(flags, 0, uint32(e), 0, b, nil)
    		if err != nil {
    			return "winapi error #" + itoa.Itoa(int(e))
    		}
    	}
    	// trim terminating \r and \n
    	for ; n > 0 && (b[n-1] == '\n' || b[n-1] == '\r'); n-- {
    	}
    	return UTF16ToString(b[:n])
    }
    
    const (
    	_ERROR_NOT_ENOUGH_MEMORY    = Errno(8)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 52.7K bytes
    - Viewed (0)
  9. src/crypto/tls/handshake_client_test.go

    // s_client` process.
    type opensslInputEvent int
    
    const (
    	// opensslRenegotiate causes OpenSSL to request a renegotiation of the
    	// connection.
    	opensslRenegotiate opensslInputEvent = iota
    
    	// opensslSendBanner causes OpenSSL to send the contents of
    	// opensslSentinel on the connection.
    	opensslSendSentinel
    
    	// opensslKeyUpdate causes OpenSSL to send a key update message to the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  10. src/regexp/syntax/parse.go

    )
    
    func (e ErrorCode) String() string {
    	return string(e)
    }
    
    // Flags control the behavior of the parser and record information about regexp context.
    type Flags uint16
    
    const (
    	FoldCase      Flags = 1 << iota // case-insensitive match
    	Literal                         // treat pattern as literal string
    	ClassNL                         // allow character classes like [^a-z] and [[:space:]] to match newline
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 13:59:01 UTC 2024
    - 52.1K bytes
    - Viewed (0)
Back to top