Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 152 for Staken (0.26 sec)

  1. src/archive/tar/strconv.go

    // using octal encoding with the appropriate NUL terminator.
    func fitsInOctal(n int, x int64) bool {
    	octBits := uint(n-1) * 3
    	return x >= 0 && (n >= 22 || x < 1<<octBits)
    }
    
    // parsePAXTime takes a string of the form %d.%d as described in the PAX
    // specification. Note that this implementation allows for negative timestamps,
    // which is allowed for by the PAX specification, but not always portable.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 01 14:28:42 UTC 2023
    - 9K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/lex/lex.go

    	// Text returns the original string representation of the token.
    	Text() string
    	// File reports the source file name of the token.
    	File() string
    	// Base reports the position base of the token.
    	Base() *src.PosBase
    	// SetBase sets the position base.
    	SetBase(*src.PosBase)
    	// Line reports the source line number of the token.
    	Line() int
    	// Col reports the source column number of the token.
    	Col() int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 18:31:05 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/util.go

    	return constant.MakeFromLiteral(lit, kind2tok[kind], 0)
    }
    
    var kind2tok = [...]token.Token{
    	syntax.IntLit:    token.INT,
    	syntax.FloatLit:  token.FLOAT,
    	syntax.ImagLit:   token.IMAG,
    	syntax.RuneLit:   token.CHAR,
    	syntax.StringLit: token.STRING,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/parse.go

    	}
    }
    
    // have reports whether the remaining tokens (including the current one) contain the specified token.
    func (p *Parser) have(token lex.ScanToken) bool {
    	for i := p.inputPos; i < len(p.input); i++ {
    		if p.input[i].ScanToken == token {
    			return true
    		}
    	}
    	return false
    }
    
    // at reports whether the next tokens are as requested.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 14:34:57 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/test/ssa_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package test
    
    import (
    	"bytes"
    	"fmt"
    	"go/ast"
    	"go/parser"
    	"go/token"
    	"internal/testenv"
    	"os"
    	"path/filepath"
    	"runtime"
    	"strings"
    	"testing"
    )
    
    // runGenTest runs a test-generator, then runs the generated test.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:29 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/staticinit/sched.go

    		case ct.IsInteger() && t.IsInteger():
    			// truncate or sign extend
    			bits := t.Size() * 8
    			cv = constant.BinaryOp(cv, token.AND, constant.MakeUint64(1<<bits-1))
    			if t.IsSigned() && constant.Compare(cv, token.GEQ, constant.MakeUint64(1<<(bits-1))) {
    				cv = constant.BinaryOp(cv, token.OR, constant.MakeInt64(-1<<(bits-1)))
    			}
    		}
    	}
    	c = ir.NewConstExpr(cv, c)
    	c.SetType(t)
    	return c, true
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 17:16:14 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  7. src/archive/tar/stat_unix.go

    	"sync"
    	"syscall"
    )
    
    func init() {
    	sysStat = statUnix
    }
    
    // userMap and groupMap caches UID and GID lookups for performance reasons.
    // The downside is that renaming uname or gname by the OS never takes effect.
    var userMap, groupMap sync.Map // map[int]string
    
    func statUnix(fi fs.FileInfo, h *Header, doNameLookups bool) error {
    	sys, ok := fi.Sys().(*syscall.Stat_t)
    	if !ok {
    		return nil
    	}
    	h.Uid = int(sys.Uid)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 16:01:50 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/sccp.go

    	case BlockIf:
    		block.removeEdge(int(constVal.AuxInt))
    		block.Kind = BlockPlain
    		block.Likely = BranchUnknown
    		block.ResetControls()
    		return true
    	case BlockJumpTable:
    		// Remove everything but the known taken branch.
    		idx := int(constVal.AuxInt)
    		if idx < 0 || idx >= len(block.Succs) {
    			// This can only happen in unreachable code,
    			// as an invariant of jump tables is that their
    			// input index is in range.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:54:50 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/testsanitizers/libfuzzer_test.go

    package sanitizers_test
    
    import (
    	"internal/testenv"
    	"strings"
    	"testing"
    )
    
    func TestLibFuzzer(t *testing.T) {
    	// Skip tests in short mode.
    	if testing.Short() {
    		t.Skip("libfuzzer tests can take upwards of minutes to run; skipping in short mode")
    	}
    	testenv.MustHaveGoBuild(t)
    	testenv.MustHaveCGO(t)
    
    	goos, err := goEnv("GOOS")
    	if err != nil {
    		t.Fatal(err)
    	}
    	goarch, err := goEnv("GOARCH")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 00:12:03 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/interface.go

    // emptyInterface represents the empty interface
    var emptyInterface = Interface{complete: true, tset: &topTypeSet}
    
    // NewInterfaceType returns a new interface for the given methods and embedded types.
    // NewInterfaceType takes ownership of the provided methods and may modify their types
    // by setting missing receivers.
    func NewInterfaceType(methods []*Func, embeddeds []Type) *Interface {
    	if len(methods) == 0 && len(embeddeds) == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 17:24:42 UTC 2023
    - 6.2K bytes
    - Viewed (0)
Back to top