Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 80 for Case (0.16 sec)

  1. misc/cgo/gmp/gmp.go

    	C.mpz_set_si(&z.i[0], C.long(x))
    	return z
    }
    
    // SetString interprets s as a number in the given base
    // and sets z to that value.  The base must be in the range [2,36].
    // SetString returns an error if s cannot be parsed or the base is invalid.
    func (z *Int) SetString(s string, base int) error {
    	z.doinit()
    	if base < 2 || base > 36 {
    		return os.ErrInvalid
    	}
    	p := C.CString(s)
    	defer C.free(unsafe.Pointer(p))
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 9.5K bytes
    - Viewed (0)
  2. src/archive/zip/writer.go

    	// valid UTF-8 string, then we set the UTF-8 bit.
    	//
    	// For the case, where the user explicitly wants to specify the encoding
    	// as UTF-8, they will need to set the flag bit themselves.
    	utf8Valid1, utf8Require1 := detectUTF8(fh.Name)
    	utf8Valid2, utf8Require2 := detectUTF8(fh.Comment)
    	switch {
    	case fh.NonUTF8:
    		fh.Flags &^= 0x800
    	case (utf8Require1 || utf8Require2) && (utf8Valid1 && utf8Valid2):
    		fh.Flags |= 0x800
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  3. src/bufio/bufio.go

    func (b *Reader) Reset(r io.Reader) {
    	// If a Reader r is passed to NewReader, NewReader will return r.
    	// Different layers of code may do that, and then later pass r
    	// to Reset. Avoid infinite recursion in that case.
    	if b == r {
    		return
    	}
    	if b.buf == nil {
    		b.buf = make([]byte, defaultBufSize)
    	}
    	b.reset(b.buf, r)
    }
    
    func (b *Reader) reset(buf []byte, r io.Reader) {
    	*b = Reader{
    		buf:          buf,
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Oct 12 14:39:08 GMT 2023
    - 21.8K bytes
    - Viewed (0)
  4. api/go1.txt

    pkg syscall (linux-amd64), type PtraceRegs struct, Fs uint64
    pkg syscall (linux-amd64), type PtraceRegs struct, Fs_base uint64
    pkg syscall (linux-amd64), type PtraceRegs struct, Gs uint64
    pkg syscall (linux-amd64), type PtraceRegs struct, Gs_base uint64
    pkg syscall (linux-amd64), type PtraceRegs struct, Orig_rax uint64
    pkg syscall (linux-amd64), type PtraceRegs struct, R10 uint64
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (2)
  5. api/go1.16.txt

    pkg debug/elf, const DT_GNU_PRELINKED DynTag
    pkg debug/elf, const DT_MIPS_AUX_DYNAMIC = 1879048241
    pkg debug/elf, const DT_MIPS_AUX_DYNAMIC DynTag
    pkg debug/elf, const DT_MIPS_BASE_ADDRESS = 1879048198
    pkg debug/elf, const DT_MIPS_BASE_ADDRESS DynTag
    pkg debug/elf, const DT_MIPS_COMPACT_SIZE = 1879048239
    pkg debug/elf, const DT_MIPS_COMPACT_SIZE DynTag
    pkg debug/elf, const DT_MIPS_CONFLICT = 1879048200
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Dec 02 16:30:41 GMT 2022
    - 479.2K bytes
    - Viewed (0)
  6. api/go1.14.txt

    pkg syscall (freebsd-arm64), type InterfaceMulticastAddrMessage struct, Header IfmaMsghdr
    pkg syscall (freebsd-arm64), type Iovec struct
    pkg syscall (freebsd-arm64), type Iovec struct, Base *uint8
    pkg syscall (freebsd-arm64), type Iovec struct, Len uint64
    pkg syscall (freebsd-arm64), type IPMreqn struct
    pkg syscall (freebsd-arm64), type IPMreqn struct, Address [4]uint8
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 508.9K bytes
    - Viewed (0)
  7. doc/godebug.md

    The defaults that will be compiled into a main package
    are reported by the command:
    
    {{raw `
    	go list -f '{{.DefaultGODEBUG}}' my/main/package
    `}}
    
    Only differences from the base Go toolchain defaults are reported.
    
    When testing a package, `//go:debug` lines in the `*_test.go`
    files are treated as directives for the test's main package.
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Apr 16 17:29:58 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/lex/lex_test.go

    func firstError(input *Input) (err error) {
    	panicOnError = true
    	defer func() {
    		panicOnError = false
    		switch e := recover(); e := e.(type) {
    		case nil:
    		case error:
    			err = e
    		default:
    			panic(e)
    		}
    	}()
    
    	for {
    		tok := input.Next()
    		if tok == scanner.EOF {
    			return
    		}
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  9. api/go1.20.txt

    pkg syscall (freebsd-riscv64), type InterfaceMulticastAddrMessage struct, Header IfmaMsghdr #53466
    pkg syscall (freebsd-riscv64), type Iovec struct #53466
    pkg syscall (freebsd-riscv64), type Iovec struct, Base *uint8 #53466
    pkg syscall (freebsd-riscv64), type Iovec struct, Len uint64 #53466
    pkg syscall (freebsd-riscv64), type Kevent_t struct #53466
    pkg syscall (freebsd-riscv64), type Kevent_t struct, Data int64 #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)
  10. src/cmd/asm/internal/flags/flags.go

    }
    
    func Parse() {
    	objabi.Flagparse(Usage)
    	if flag.NArg() == 0 {
    		flag.Usage()
    	}
    
    	// Flag refinement.
    	if *OutputFile == "" {
    		if flag.NArg() != 1 {
    			flag.Usage()
    		}
    		input := filepath.Base(flag.Arg(0))
    		input = strings.TrimSuffix(input, ".s")
    		*OutputFile = fmt.Sprintf("%s.o", input)
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 22 19:18:23 GMT 2023
    - 2.8K bytes
    - Viewed (0)
Back to top