Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Hancic (0.16 sec)

  1. src/bufio/bufio_test.go

    func TestNegativeRead(t *testing.T) {
    	// should panic with a description pointing at the reader, not at itself.
    	// (should NOT panic with slice index error, for example.)
    	b := NewReader(new(negativeReader))
    	defer func() {
    		switch err := recover().(type) {
    		case nil:
    			t.Fatal("read did not panic")
    		case error:
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  2. src/archive/zip/reader_test.go

    	b, err := hex.DecodeString(s)
    	if err != nil {
    		panic(err)
    	}
    	return b
    }
    
    func returnBigZipBytes() (r io.ReaderAt, size int64) {
    	b := biggestZipBytes()
    	for i := 0; i < 2; i++ {
    		r, err := NewReader(bytes.NewReader(b), int64(len(b)))
    		if err != nil {
    			panic(err)
    		}
    		f, err := r.File[0].Open()
    		if err != nil {
    			panic(err)
    		}
    		b, err = io.ReadAll(f)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  3. 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)
Back to top