Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 50 for DEFAULT (0.19 sec)

  1. src/bytes/bytes_test.go

    			continue
    		}
    	}
    }
    
    func repeat(b []byte, count int) (err error) {
    	defer func() {
    		if r := recover(); r != nil {
    			switch v := r.(type) {
    			case error:
    				err = v
    			default:
    				err = fmt.Errorf("%s", v)
    			}
    		}
    	}()
    
    	Repeat(b, count)
    
    	return
    }
    
    // See Issue golang.org/issue/16237
    func TestRepeatCatchesOverflow(t *testing.T) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  2. api/go1.20.txt

    pkg syscall (freebsd-riscv64), const IPV6_CHECKSUM ideal-int #53466
    pkg syscall (freebsd-riscv64), const IPV6_DEFAULT_MULTICAST_HOPS = 1 #53466
    pkg syscall (freebsd-riscv64), const IPV6_DEFAULT_MULTICAST_HOPS ideal-int #53466
    pkg syscall (freebsd-riscv64), const IPV6_DEFAULT_MULTICAST_LOOP = 1 #53466
    pkg syscall (freebsd-riscv64), const IPV6_DEFAULT_MULTICAST_LOOP ideal-int #53466
    pkg syscall (freebsd-riscv64), const IPV6_DEFHLIM = 64 #53466
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 21:23:32 GMT 2023
    - 602.6K bytes
    - Viewed (0)
  3. doc/go_spec.html

    a single one that can proceed is chosen via a uniform pseudo-random selection.
    Otherwise, if there is a default case, that case is chosen.
    If there is no default case, the "select" statement blocks until
    at least one of the communications can proceed.
    </li>
    
    <li>
    Unless the selected case is the default case, the respective communication
    operation is executed.
    </li>
    
    <li>
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  4. doc/next/6-stdlib/99-minor/path/filepath/63703.md

    For Go 1.23, it defaults to `winsymlink=1`.
    Previous versions default to `winsymlink=0`.
    
    On Windows, [EvalSymlinks] no longer tries to normalize
    volumes to drive letters, which was not always even possible.
    This behavior is controlled by the `winreadlinkvolume` setting.
    For Go 1.23, it defaults to `winreadlinkvolume=1`.
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Apr 12 20:57:18 GMT 2024
    - 545 bytes
    - Viewed (0)
  5. src/cmd/api/main_test.go

    		exeSuffix = ".exe"
    	}
    	path := filepath.Join(testenv.GOROOT(nil), "bin", "go"+exeSuffix)
    	if _, err := os.Stat(path); err == nil {
    		return path
    	}
    	return "go"
    }
    
    // contexts are the default contexts which are scanned.
    var contexts = []*build.Context{
    	{GOOS: "linux", GOARCH: "386", CgoEnabled: true},
    	{GOOS: "linux", GOARCH: "386"},
    	{GOOS: "linux", GOARCH: "amd64", CgoEnabled: true},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  6. src/archive/tar/reader.go

    // and the GODEBUG environment variable contains `tarinsecurepath=0`,
    // Next returns the header with an [ErrInsecurePath] error.
    // A future version of Go may introduce this behavior by default.
    // Programs that want to accept non-local names can ignore
    // the [ErrInsecurePath] error and use the returned header.
    func (tr *Reader) Next() (*Header, error) {
    	if tr.err != nil {
    		return nil, tr.err
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/arch/arm64.go

    			}
    		case "SXTX":
    			if a.Type == obj.TYPE_MEM {
    				a.Index = arm64.REG_SXTX + Rnum
    			} else {
    				a.Reg = arm64.REG_SXTX + Rnum
    			}
    		case "LSL":
    			a.Index = arm64.REG_LSL + Rnum
    		default:
    			return errors.New("unsupported general register extension type: " + ext)
    
    		}
    	} else if reg <= arm64.REG_V31 && reg >= arm64.REG_V0 {
    		switch ext {
    		case "B8":
    			if isIndex {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Sep 29 09:04:58 GMT 2022
    - 10.4K bytes
    - Viewed (0)
  8. src/bytes/bytes.go

    		for i := 0; i < len(s); {
    			r1, n := utf8.DecodeRune(s[i:])
    			if r1 == utf8.RuneError {
    				return i
    			}
    			i += n
    		}
    		return -1
    	case !utf8.ValidRune(r):
    		return -1
    	default:
    		var b [utf8.UTFMax]byte
    		n := utf8.EncodeRune(b[:], r)
    		return Index(s, b[:n])
    	}
    }
    
    // IndexAny interprets s as a sequence of UTF-8-encoded Unicode code points.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  9. doc/next/6-stdlib/99-minor/os/63703.md

    to drive letters, which was not always even possible.
    This behavior is controlled by the `winreadlinkvolume` setting.
    For Go 1.23, it defaults to `winreadlinkvolume=1`.
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Apr 12 20:57:18 GMT 2024
    - 280 bytes
    - Viewed (0)
  10. src/cmd/asm/doc.go

    	-e
    		No limit on number of errors reported.
    	-gensymabis
    		Write symbol ABI information to output file. Don't assemble.
    	-o file
    		Write output to file. The default is foo.o for /a/b/c/foo.s.
    	-p pkgpath
    		Set expected package import to pkgpath.
    	-shared
    		Generate code that can be linked into a shared library.
    	-spectre list
    		Enable spectre mitigations in list (all, ret).
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 22 20:46:45 GMT 2023
    - 1.8K bytes
    - Viewed (0)
Back to top