Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 221 for Walls (0.16 sec)

  1. src/cmd/compile/internal/ssa/likelyadjust.go

    			certain[b.ID] = blEXIT
    
    			// Ret, it depends.
    		case BlockRet, BlockRetJmp:
    			local[b.ID] = blRET
    			certain[b.ID] = blRET
    
    			// Calls. TODO not all calls are equal, names give useful clues.
    			// Any name-based heuristics are only relative to other calls,
    			// and less influential than inferences from loop structure.
    		case BlockDefer:
    			local[b.ID] = blCALL
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 21:41:20 UTC 2022
    - 15.4K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/syscall_illumos.go

    // Copyright 2021 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // illumos system calls not present on Solaris.
    
    //go:build amd64 && illumos
    
    package unix
    
    import (
    	"unsafe"
    )
    
    func bytes2iovec(bs [][]byte) []Iovec {
    	iovecs := make([]Iovec, len(bs))
    	for i, b := range bs {
    		iovecs[i].SetLen(len(b))
    		if len(b) > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssagen/nowb.go

    }
    
    func (c *nowritebarrierrecChecker) check() {
    	// We walk the call graph as late as possible so we can
    	// capture all calls created by lowering, but this means we
    	// only get to see the obj.LSyms of calls. symToFunc lets us
    	// get back to the ODCLFUNCs.
    	symToFunc := make(map[*obj.LSym]*ir.Func)
    	// funcs records the back-edges of the BFS call graph walk. It
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 17:29:46 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. src/cmd/go/internal/lockedfile/internal/filelock/filelock_fcntl.go

    	// released when *any* descriptor for that inode is closed. So we need to
    	// synchronize access to each inode internally, and must serialize lock and
    	// unlock calls that refer to the same inode through different descriptors.
    	fi, err := f.Stat()
    	if err != nil {
    		return err
    	}
    	ino := fi.Sys().(*syscall.Stat_t).Ino
    
    	mu.Lock()
    	if i, dup := inodes[f]; dup && i != ino {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 17 02:24:35 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  5. misc/cgo/gmp/pi.go

    			nextTerm(k)
    			d = extractDigit()
    		}
    		eliminateDigit(d)
    		fmt.Printf("%c", d+'0')
    
    		if i++; i%50 == 0 {
    			fmt.Printf("\n")
    			if i >= 1000 {
    				break
    			}
    		}
    	}
    
    	fmt.Printf("\n%d calls; bit sizes: %d %d %d\n", runtime.NumCgoCall(), numer.Len(), accum.Len(), denom.Len())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 10 22:32:35 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  6. src/cmd/link/internal/ld/stackcheck.go

    	if sym == sc.morestack {
    		// morestack looks like it calls functions, but they
    		// either happen only when already on the system stack
    		// (where there is ~infinite space), or after
    		// switching to the system stack. Hence, its stack
    		// height on the user stack is 0.
    		return 0, nil
    	}
    	if sym == stackCheckIndirect {
    		// Assume that indirect/closure calls are always to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 24 16:49:08 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  7. src/cmd/internal/bio/must.go

    package bio
    
    import (
    	"io"
    	"log"
    )
    
    // MustClose closes Closer c and calls log.Fatal if it returns a non-nil error.
    func MustClose(c io.Closer) {
    	if err := c.Close(); err != nil {
    		log.Fatal(err)
    	}
    }
    
    // MustWriter returns a Writer that wraps the provided Writer,
    // except that it calls log.Fatal instead of returning a non-nil error.
    func MustWriter(w io.Writer) io.Writer {
    	return mustWriter{w}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 14 17:58:33 UTC 2016
    - 883 bytes
    - Viewed (0)
  8. src/cmd/go/internal/lockedfile/lockedfile_filelock.go

    func openFile(name string, flag int, perm fs.FileMode) (*os.File, error) {
    	// On BSD systems, we could add the O_SHLOCK or O_EXLOCK flag to the OpenFile
    	// call instead of locking separately, but we have to support separate locking
    	// calls for Linux and Windows anyway, so it's simpler to use that approach
    	// consistently.
    
    	f, err := os.OpenFile(name, flag&^os.O_TRUNC, perm)
    	if err != nil {
    		return nil, err
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  9. src/cmd/go/internal/test/cover.go

    	"os"
    	"path/filepath"
    	"sync"
    )
    
    var coverMerge struct {
    	f          *os.File
    	sync.Mutex // for f.Write
    }
    
    // initCoverProfile initializes the test coverage profile.
    // It must be run before any calls to mergeCoverProfile or closeCoverProfile.
    // Using this function clears the profile in case it existed from a previous run,
    // or in case it doesn't exist and the test is going to fail to create it (or not run).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 28 11:50:58 UTC 2022
    - 2K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/typeparam.go

    	}
    
    	return ityp
    }
    
    // is calls f with the specific type terms of t's constraint and reports whether
    // all calls to f returned true. If there are no specific terms, is
    // returns the result of f(nil).
    func (t *TypeParam) is(f func(*term) bool) bool {
    	return t.iface().typeSet().is(f)
    }
    
    // underIs calls f with the underlying types of the specific type terms
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top