Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for transform (4.23 sec)

  1. src/compress/bzip2/bzip2.go

    			c++
    		}
    		if c >= numHuffmanTrees {
    			return StructuralError("tree index too large")
    		}
    		treeIndexes[i] = mtfTreeDecoder.Decode(c)
    	}
    
    	// The list of symbols for the move-to-front transform is taken from
    	// the previously decoded symbol bitmap.
    	symbols := make([]byte, numSymbols)
    	nextSymbol := 0
    	for i := 0; i < 256; i++ {
    		if symbolPresent[i] {
    			symbols[nextSymbol] = byte(i)
    			nextSymbol++
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:40 UTC 2024
    - 13K bytes
    - Viewed (0)
  2. src/cmd/vendor/modules.txt

    golang.org/x/text/cases
    golang.org/x/text/internal
    golang.org/x/text/internal/language
    golang.org/x/text/internal/language/compact
    golang.org/x/text/internal/tag
    golang.org/x/text/language
    golang.org/x/text/transform
    golang.org/x/text/unicode/norm
    # golang.org/x/tools v0.21.1-0.20240604144337-208808308b70
    ## explicit; go 1.19
    golang.org/x/tools/cmd/bisect
    golang.org/x/tools/cover
    golang.org/x/tools/go/analysis
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/magic.go

    //
    // Let m be such that (d0 * m) mod 2^n == 1.
    // Let q = x*m mod 2^n. Then c divides x if:
    //
    // -⎣(2^(n-1) - 1)/d0⎦ <= q <= ⎣(2^(n-1) - 1)/d0⎦ and q ends in at least k 0-bits
    //
    // To transform this to a single comparison, we use the following theorem (ZRS in Hacker's Delight).
    //
    // For a >= 0 the following conditions are equivalent:
    // 1) -a <= x <= a and x ends in at least k 0-bits
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:25 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  4. src/cmd/go/internal/modcmd/edit.go

    	// previous versions of the 'go' command from making simultaneous edits.
    	if unlock, err := modfetch.SideLock(ctx); err == nil {
    		defer unlock()
    	}
    
    	err = lockedfile.Transform(gomod, func(lockedData []byte) ([]byte, error) {
    		if !bytes.Equal(lockedData, data) {
    			return nil, errors.New("go.mod changed during editing; not overwriting")
    		}
    		return out, nil
    	})
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:52:10 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  5. src/cmd/go/internal/modfetch/fetch.go

    	// previous versions of the 'go' command from making simultaneous edits.
    	if unlock, err := SideLock(ctx); err == nil {
    		defer unlock()
    	}
    
    	err := lockedfile.Transform(GoSumFile, func(data []byte) ([]byte, error) {
    		tidyGoSum := tidyGoSum(data, keep)
    		return tidyGoSum, nil
    	})
    
    	if err != nil {
    		return fmt.Errorf("updating go.sum: %w", err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  6. src/cmd/go/internal/modload/init.go

    	// previous versions of the 'go' command from making simultaneous edits.
    	if unlock, err := modfetch.SideLock(ctx); err == nil {
    		defer unlock()
    	}
    
    	err = lockedfile.Transform(modFilePath, func(old []byte) ([]byte, error) {
    		if bytes.Equal(old, updatedGoMod) {
    			// The go.mod file is already equal to new, possibly as the result of some
    			// other process.
    			return nil, errNoChange
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 69.8K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/syntax/type.go

    func (f exprFlags) Assignable() bool      { return f&64 != 0 }
    func (f exprFlags) HasOk() bool           { return f&128 != 0 }
    func (f exprFlags) IsRuntimeHelper() bool { return f&256 != 0 } // a runtime function called from transformed syntax
    
    func (f *exprFlags) SetIsVoid()          { *f |= 1 }
    func (f *exprFlags) SetIsType()          { *f |= 2 }
    func (f *exprFlags) SetIsBuiltin()       { *f |= 4 }
    func (f *exprFlags) SetIsValue()         { *f |= 8 }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. src/cmd/pprof/pprof.go

    	if url.Scheme == "https+insecure" {
    		tlsConfig = &tls.Config{
    			InsecureSkipVerify: true,
    		}
    		url.Scheme = "https"
    		source = url.String()
    	}
    
    	client := &http.Client{
    		Transport: &http.Transport{
    			ResponseHeaderTimeout: timeout + 5*time.Second,
    			Proxy:                 http.ProxyFromEnvironment,
    			TLSClientConfig:       tlsConfig,
    		},
    	}
    	resp, err := client.Get(source)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/zerrors_linux_386.go

    	{104, "ECONNRESET", "connection reset by peer"},
    	{105, "ENOBUFS", "no buffer space available"},
    	{106, "EISCONN", "transport endpoint is already connected"},
    	{107, "ENOTCONN", "transport endpoint is not connected"},
    	{108, "ESHUTDOWN", "cannot send after transport endpoint shutdown"},
    	{109, "ETOOMANYREFS", "too many references: cannot splice"},
    	{110, "ETIMEDOUT", "connection timed out"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  10. src/cmd/vendor/github.com/google/pprof/internal/symbolizer/symbolizer.go

    	"github.com/google/pprof/profile"
    	"github.com/ianlancetaylor/demangle"
    )
    
    // Symbolizer implements the plugin.Symbolize interface.
    type Symbolizer struct {
    	Obj       plugin.ObjTool
    	UI        plugin.UI
    	Transport http.RoundTripper
    }
    
    // test taps for dependency injection
    var symbolzSymbolize = symbolz.Symbolize
    var localSymbolize = doLocalSymbolize
    var demangleFunction = Demangle
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top