Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 320 for Shan (0.03 sec)

  1. src/cmd/cover/doc.go

    (package-scope instrumentation is enabled via "-pkgcfg" option).
    
    When generated instrumented code, the cover tool computes approximate
    basic block information by studying the source. It is thus more
    portable than binary-rewriting coverage tools, but also a little less
    capable. For instance, it does not probe inside && and || expressions,
    and can be mildly confused by single statements with multiple function
    literals.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 03 12:57:25 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modload/load.go

    				// versions older than what is listed in the go.mod file.
    				compatVersion = goVersion
    			}
    		}
    		if gover.Compare(compatVersion, goVersion) > 0 {
    			// Each version of the Go toolchain knows how to interpret go.mod and
    			// go.sum files produced by all previous versions, so a compatibility
    			// version higher than the go.mod version adds nothing.
    			compatVersion = goVersion
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 84K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/typelists.go

    // Implementation
    
    func bindTParams(list []*TypeParam) *TypeParamList {
    	if len(list) == 0 {
    		return nil
    	}
    	for i, typ := range list {
    		if typ.index >= 0 {
    			panic("type parameter bound more than once")
    		}
    		typ.index = i
    	}
    	return &TypeParamList{tparams: list}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 28 22:21:55 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  4. src/cmd/go/internal/lockedfile/lockedfile_test.go

    }
    
    const (
    	quiescent            = 10 * time.Millisecond
    	probablyStillBlocked = 10 * time.Second
    )
    
    func mustBlock(t *testing.T, desc string, f func()) (wait func(*testing.T)) {
    	t.Helper()
    
    	done := make(chan struct{})
    	go func() {
    		f()
    		close(done)
    	}()
    
    	timer := time.NewTimer(quiescent)
    	defer timer.Stop()
    	select {
    	case <-done:
    		t.Fatalf("%s unexpectedly did not block", desc)
    	case <-timer.C:
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:29 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  5. src/cmd/dist/buildruntime.go

    // system. That is, if on a Mac you do:
    //
    //	GOOS=linux GOARCH=ppc64 go build cmd/compile
    //
    // the resulting compiler will default to generating linux/ppc64 object files.
    // This is more useful than having it default to generating objects for the
    // original target (in this example, a Mac).
    func mkbuildcfg(file string) {
    	var buf strings.Builder
    	writeHeader(&buf)
    	fmt.Fprintf(&buf, "package buildcfg\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 01:33:19 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. src/archive/tar/format.go

    	//
    	// While this format is compatible with most tar readers,
    	// the format has several limitations making it unsuitable for some usages.
    	// Most notably, it cannot support sparse files, files larger than 8GiB,
    	// filenames larger than 256 characters, and non-ASCII filenames.
    	//
    	// Reference:
    	//	http://pubs.opengroup.org/onlinepubs/9699919799/utilities/pax.html#tag_20_92_13_06
    	FormatUSTAR
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 18:36:46 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/unify.go

    		if y, ok := y.(*Map); ok {
    			return u.nify(x.key, y.key, emode, p) && u.nify(x.elem, y.elem, emode, p)
    		}
    
    	case *Chan:
    		// Two channel types unify if their value types unify
    		// and if they have the same direction.
    		// The channel direction is ignored for inexact unification.
    		if y, ok := y.(*Chan); ok {
    			return (mode&exact == 0 || x.dir == y.dir) && u.nify(x.elem, y.elem, emode, p)
    		}
    
    	case *Named:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/mod_get_issue56494.txt

    #
    # a --- b
    
    # So upgrading to a3 adds a dependency on b2,
    # b2 adds a dependency on a2 (for "a/sub"),
    # and a2 (but not a3) would add a dependency on c2.
    # Since a2 is lower than a3 it cannot possibly be selected when
    # upgrading to a3: normally a2 is pruned out of a3's module graph,
    # so 'go get' should prune it out too, and c should remain at c1
    # without error.
    
    go get a@v0.3.0
    
    go list -m c
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 17 13:05:03 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  9. src/bufio/bufio.go

    	return err
    }
    
    // Peek returns the next n bytes without advancing the reader. The bytes stop
    // being valid at the next read call. If Peek returns fewer than n bytes, it
    // also returns an error explaining why the read is short. The error is
    // [ErrBufferFull] if n is larger than b's buffer size.
    //
    // Calling Peek prevents a [Reader.UnreadByte] or [Reader.UnreadRune] call from succeeding
    // until the next read operation.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 14:39:08 UTC 2023
    - 21.8K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/list_goroot_symlink.txt

    [GOOS:ios] skip 'Lstat on ios does not conform to POSIX pathname resolution; see #59586'
    
    # Ensure that the relative path to $WORK/lib/goroot/src from $PWD is a different
    # number of ".." hops than the relative path to it from $WORK/share/goroot/src.
    
    cd $WORK
    
    # Construct a fake GOROOT in $WORK/lib/goroot whose src directory is a symlink
    # to a subdirectory of $WORK/share. This mimics the directory structure reported
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 14 17:01:07 UTC 2023
    - 2.8K bytes
    - Viewed (0)
Back to top