Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 36 for Hancic (0.22 sec)

  1. src/cmd/cgo/gcc.go

    						}
    					}
    					break
    				}
    			}
    		}
    
    		buildStrings()
    		return d, ints, floats, strs
    	}
    	fatalf("cannot parse gcc output %s as ELF, Mach-O, PE, XCOFF object", gccTmp())
    	panic("not reached")
    }
    
    // gccDefines runs gcc -E -dM -xc - over the C program stdin
    // and returns the corresponding standard output, which is the
    // #defines that gcc encountered while processing the input
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  2. api/go1.txt

    pkg log, func Fatal(...interface{})
    pkg log, func Fatalf(string, ...interface{})
    pkg log, func Fatalln(...interface{})
    pkg log, func Flags() int
    pkg log, func New(io.Writer, string, int) *Logger
    pkg log, func Panic(...interface{})
    pkg log, func Panicf(string, ...interface{})
    pkg log, func Panicln(...interface{})
    pkg log, func Prefix() string
    pkg log, func Print(...interface{})
    pkg log, func Printf(string, ...interface{})
    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 (1)
  3. src/builtin/builtin.go

    func close(c chan<- Type)
    
    // The panic built-in function stops normal execution of the current
    // goroutine. When a function F calls panic, normal execution of F stops
    // immediately. Any functions whose execution was deferred by F are run in
    // the usual way, and then F returns to its caller. To the caller G, the
    // invocation of F then behaves like a call to panic, terminating G's
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  4. doc/go_spec.html

    At that point, the program is terminated and the error
    condition is reported, including the value of the argument to <code>panic</code>.
    This termination sequence is called <i>panicking</i>.
    </p>
    
    <pre>
    panic(42)
    panic("unreachable")
    panic(Error("cannot parse"))
    </pre>
    
    <p>
    The <code>recover</code> function allows a program to manage behavior
    of a panicking goroutine.
    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)
  5. src/bytes/reader.go

    func (r *Reader) WriteTo(w io.Writer) (n int64, err error) {
    	r.prevRune = -1
    	if r.i >= int64(len(r.s)) {
    		return 0, nil
    	}
    	b := r.s[r.i:]
    	m, err := w.Write(b)
    	if m > len(b) {
    		panic("bytes.Reader.WriteTo: invalid Write count")
    	}
    	r.i += int64(m)
    	n = int64(m)
    	if m != len(b) && err == nil {
    		err = io.ErrShortWrite
    	}
    	return
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 17:10:31 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  6. src/bytes/bytes.go

    	if count == 0 {
    		return []byte{}
    	}
    
    	// Since we cannot return an error on overflow,
    	// we should panic if the repeat will generate an overflow.
    	// See golang.org/issue/16237.
    	if count < 0 {
    		panic("bytes: negative Repeat count")
    	}
    	if len(b) >= maxInt/count {
    		panic("bytes: Repeat output length overflow")
    	}
    	n := len(b) * count
    
    	if len(b) == 0 {
    		return []byte{}
    	}
    
    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)
  7. src/cmd/asm/internal/asm/parse.go

    		pkgPrefix:   pkgPrefix,
    	}
    }
    
    // panicOnError is enabled when testing to abort execution on the first error
    // and turn it into a recoverable panic.
    var panicOnError bool
    
    func (p *Parser) errorf(format string, args ...interface{}) {
    	if panicOnError {
    		panic(fmt.Errorf(format, args...))
    	}
    	if p.lineNum == p.errorLine {
    		// Only one error per line.
    		return
    	}
    	p.errorLine = p.lineNum
    	if p.lex != nil {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/lex/input.go

    			name:   name,
    			args:   nil,
    			tokens: Tokenize(value),
    		}
    	}
    	return macros
    }
    
    var panicOnError bool // For testing.
    
    func (in *Input) Error(args ...interface{}) {
    	if panicOnError {
    		panic(fmt.Errorf("%s:%d: %s", in.File(), in.Line(), fmt.Sprintln(args...)))
    	}
    	fmt.Fprintf(os.Stderr, "%s:%d: %s", in.File(), in.Line(), fmt.Sprintln(args...))
    	os.Exit(1)
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  9. api/go1.1.txt

    pkg text/template/parse, type TextNode struct, embedded Pos
    pkg text/template/parse, type Tree struct, ParseName string
    pkg text/template/parse, type VariableNode struct, embedded Pos
    pkg time, const ANSIC = "Mon Jan _2 15:04:05 2006"
    pkg time, const April = 4
    pkg time, const August = 8
    pkg time, const December = 12
    pkg time, const February = 2
    pkg time, const Friday = 5
    pkg time, const Hour = 3600000000000
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (0)
  10. src/bufio/scan_test.go

    func TestDontLoopForever(t *testing.T) {
    	s := NewScanner(strings.NewReader("abc"))
    	s.Split(loopAtEOFSplit)
    	// Expect a panic
    	defer func() {
    		err := recover()
    		if err == nil {
    			t.Fatal("should have panicked")
    		}
    		if msg, ok := err.(string); !ok || !strings.Contains(msg, "empty tokens") {
    			panic(err)
    		}
    	}()
    	for count := 0; s.Scan(); count++ {
    		if count > 1000 {
    			t.Fatal("looping")
    		}
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Sep 22 16:22:42 GMT 2023
    - 14.3K bytes
    - Viewed (0)
Back to top