Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for fullname (0.17 sec)

  1. src/archive/zip/reader_test.go

    	if err == nil {
    		t.Errorf("archive/zip.NewReader: expected error when negative size is passed")
    	}
    }
    
    func messWith(fileName string, corrupter func(b []byte)) (r io.ReaderAt, size int64) {
    	data, err := os.ReadFile(filepath.Join("testdata", fileName))
    	if err != nil {
    		panic("Error reading " + fileName + ": " + err.Error())
    	}
    	corrupter(data)
    	return bytes.NewReader(data), int64(len(data))
    }
    
    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)
  2. src/cmd/cgo/gcc.go

    			if fields := strings.Fields(l); len(fields) == 3 {
    				directive := fields[1]
    				funcName := fields[2]
    				if directive == "nocallback" {
    					fatalf("#cgo nocallback disabled until Go 1.23")
    					f.NoCallbacks[funcName] = true
    				} else if directive == "noescape" {
    					fatalf("#cgo noescape disabled until Go 1.23")
    					f.NoEscapes[funcName] = true
    				}
    			}
    		}
    	}
    	f.Preamble = strings.Join(linesOut, "\n")
    }
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  3. src/bytes/bytes_test.go

    }
    
    // Execute f on each test case.  funcName should be the name of f; it's used
    // in failure reports.
    func runIndexTests(t *testing.T, f func(s, sep []byte) int, funcName string, testCases []BinOpTest) {
    	for _, test := range testCases {
    		a := []byte(test.a)
    		b := []byte(test.b)
    		actual := f(a, b)
    		if actual != test.i {
    			t.Errorf("%s(%q,%q) = %v; want %v", funcName, a, b, actual, test.i)
    		}
    	}
    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)
Back to top