Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for Breiding (0.68 sec)

  1. src/cmd/go/script_test.go

    	if err != nil {
    		t.Fatalf("reading go.mod after -testsum: %v", err)
    	}
    	if !bytes.Equal(newGomodData, archive.Files[gomodIdx].Data) {
    		archive.Files[gomodIdx].Data = newGomodData
    		rewrite = true
    	}
    
    	newGosumData, err := os.ReadFile(s.Path("go.sum"))
    	if err != nil && !os.IsNotExist(err) {
    		t.Fatalf("reading go.sum after -testsum: %v", err)
    	}
    	switch {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/test/pgo_inl_test.go

    				// cmd/compile gave us a reason why
    				notInlinedReason[fullName] = reason
    			}
    			delete(expectedNotInlinedList, fullName)
    			continue
    		}
    	}
    	if err := scanner.Err(); err != nil {
    		t.Fatalf("error reading output: %v", err)
    	}
    	for fullName, reason := range notInlinedReason {
    		t.Errorf("%s was not inlined: %s", fullName, reason)
    	}
    
    	// If the list expectedNotInlinedList is not empty, it indicates
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modfetch/fetch.go

    	}
    
    	partialPath, err := CachePath(ctx, mod, "partial")
    	if err != nil {
    		return "", err
    	}
    
    	// Extract the module zip directory at its final location.
    	//
    	// To prevent other processes from reading the directory if we crash,
    	// create a .partial file before extracting the directory, and delete
    	// the .partial file afterward (all while holding the lock).
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  4. src/cmd/go/internal/envcmd/env.go

    		if mustExist {
    			base.Fatalf("go: cannot find go env config: %v", err)
    		}
    		return nil
    	}
    	data, err := os.ReadFile(file)
    	if err != nil && (!os.IsNotExist(err) || mustExist) {
    		base.Fatalf("go: reading go env config: %v", err)
    	}
    	lines := strings.SplitAfter(string(data), "\n")
    	if lines[len(lines)-1] == "" {
    		lines = lines[:len(lines)-1]
    	} else {
    		lines[len(lines)-1] += "\n"
    	}
    	return lines
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  5. src/archive/tar/writer.go

    		return 0, tw.err
    	}
    	n, err := tw.curr.Write(b)
    	if err != nil && err != ErrWriteTooLong {
    		tw.err = err
    	}
    	return n, err
    }
    
    // readFrom populates the content of the current file by reading from r.
    // The bytes read must match the number of remaining bytes in the current file.
    //
    // If the current file is sparse and r is an io.ReadSeeker,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  6. src/bytes/buffer_test.go

    		}
    	}()
    
    	buf := NewBuffer(make([]byte, 1))
    	const maxInt = int(^uint(0) >> 1)
    	buf.Grow(maxInt)
    }
    
    // Was a bug: used to give EOF reading empty slice at EOF.
    func TestReadEmptyAtEOF(t *testing.T) {
    	b := new(Buffer)
    	slice := make([]byte, 0)
    	n, err := b.Read(slice)
    	if err != nil {
    		t.Errorf("read error: %v", err)
    	}
    	if n != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:31:36 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modload/init.go

    func ReadWorkFile(path string) (*modfile.WorkFile, error) {
    	path = base.ShortPath(path) // use short path in any errors
    	workData, err := fsys.ReadFile(path)
    	if err != nil {
    		return nil, fmt.Errorf("reading go.work: %w", err)
    	}
    
    	f, err := modfile.ParseWork(path, workData, nil)
    	if err != nil {
    		return nil, fmt.Errorf("errors parsing go.work:\n%w", err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 69.8K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/named.go

    //    loaded or fully type-checked. For Named types constructed from export
    //    data, this may involve invoking a loader function to extract information
    //    from export data. For instantiated named types this involves reading
    //    information from their origin.
    //  - We say that a Named type is "expanded" if it is an instantiated type and
    //    type parameters in its underlying type and methods have been substituted
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  9. src/cmd/go/internal/test/test.go

    		if cache.DebugTest {
    			if err != nil {
    				fmt.Fprintf(os.Stderr, "testcache: %s: reading testlog: %v\n", a.Package.ImportPath, err)
    			} else {
    				fmt.Fprintf(os.Stderr, "testcache: %s: reading testlog: malformed\n", a.Package.ImportPath)
    			}
    		}
    		return
    	}
    	testInputsID, err := computeTestInputsID(a, testlog)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  10. src/cmd/cgo/doc.go

    The line number specifies the name involved. In the example, 1 is foo.
    
    Next, cgo must learn the details of each type, variable, function, or
    constant. It can do this by reading object files. If cgo has decided
    that t1 is a type, v2 and v3 are variables or functions, and i4, i5
    are integer constants, u6 is an unsigned integer constant, and f7 and f8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 17:12:16 UTC 2024
    - 42.2K bytes
    - Viewed (0)
Back to top