Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for Parts (0.25 sec)

  1. src/cmd/compile/internal/ssagen/abi.go

    		if line == "" || strings.HasPrefix(line, "#") {
    			continue
    		}
    
    		parts := strings.Fields(line)
    		switch parts[0] {
    		case "def", "ref":
    			// Parse line.
    			if len(parts) != 3 {
    				log.Fatalf(`%s:%d: invalid symabi: syntax is "%s sym abi"`, file, lineNum, parts[0])
    			}
    			sym, abistr := parts[1], parts[2]
    			abi, valid := obj.ParseABI(abistr)
    			if !valid {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/staticinit/sched.go

    	Expr    ir.Node // bytes of run-time computed expressions
    }
    
    type Plan struct {
    	E []Entry
    }
    
    // An Schedule is used to decompose assignment statements into
    // static and dynamic initialization parts. Static initializations are
    // handled by populating variables' linker symbol data, while dynamic
    // initializations are accumulated to be executed in order.
    type Schedule struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 17:16:14 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/api_test.go

    		"string":  NewTerm(false, Typ[String]),
    		"~string": NewTerm(true, Typ[String]),
    		"myInt":   NewTerm(false, myInt),
    	}
    	makeUnion := func(s string) *Union {
    		parts := strings.Split(s, "|")
    		var terms []*Term
    		for _, p := range parts {
    			term := tmap[p]
    			if term == nil {
    				t.Fatalf("missing term %q", p)
    			}
    			terms = append(terms, term)
    		}
    		return NewUnion(terms)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  4. src/cmd/cgo/doc.go

    as C.stdout, or functions such as C.putchar.
    
    If the import of "C" is immediately preceded by a comment, that
    comment, called the preamble, is used as a header when compiling
    the C parts of the package. For example:
    
    	// #include <stdio.h>
    	// #include <errno.h>
    	import "C"
    
    The preamble may contain any C code, including function and variable
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 17:12:16 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssagen/ssa.go

    		//
    		// If both sides of the assignment are not dereferences, then partial
    		// overlap can't happen. Partial overlap can only occur only when the
    		// arrays referenced are strictly smaller parts of the same base array.
    		// If one side of the assignment is a full array, then partial overlap
    		// can't happen. (The arrays are either disjoint or identical.)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/debug.go

    		state.partsByVarOffset = &partsByVarOffset{}
    	}
    	for varID, n := range state.vars {
    		parts := state.varParts[n]
    		state.varSlots[varID] = parts
    		for _, slotID := range parts {
    			state.slotVars[slotID] = VarID(varID)
    		}
    		*state.partsByVarOffset.(*partsByVarOffset) = partsByVarOffset{parts, state.slots}
    		sort.Sort(state.partsByVarOffset)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
  7. src/cmd/go/internal/cfg/cfg.go

    // Copyright 2017 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.
    
    // Package cfg holds configuration shared by multiple parts
    // of the go command.
    package cfg
    
    import (
    	"bytes"
    	"context"
    	"fmt"
    	"go/build"
    	"internal/buildcfg"
    	"internal/cfg"
    	"io"
    	"os"
    	"path/filepath"
    	"runtime"
    	"strings"
    	"sync"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  8. src/cmd/dist/test.go

    	slurp, err := cmd.Output()
    	if err != nil {
    		fatalf("Error running %s: %v\n%s", cmd, err, cmd.Stderr)
    	}
    	parts := strings.Split(string(slurp), "\n")
    	if nlines := len(parts) - 1; nlines < 1 {
    		fatalf("Error running %s: output contains <1 lines\n%s", cmd, cmd.Stderr)
    	}
    	t.cgoEnabled, _ = strconv.ParseBool(parts[0])
    
    	if flag.NArg() > 0 && t.runRxStr != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/config.go

    	Logger
    
    	// StringData returns a symbol pointing to the given string's contents.
    	StringData(string) *obj.LSym
    
    	// Given the name for a compound type, returns the name we should use
    	// for the parts of that compound type.
    	SplitSlot(parent *LocalSlot, suffix string, offset int64, t *types.Type) LocalSlot
    
    	// Syslook returns a symbol of the runtime function/variable with the
    	// given name.
    	Syslook(string) *obj.LSym
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:11:47 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/test/test.go

    MySigned_t takes_typedef(MySigned_t x) { return x * x; }
    
    // issue 22906
    
    // It's going to be hard to include a whole real JVM to test this.
    // So we'll simulate a really easy JVM using just the parts we need.
    // This is the relevant part of jni.h.
    
    struct _jobject;
    
    typedef struct _jobject *jobject;
    typedef jobject jclass;
    typedef jobject jthrowable;
    typedef jobject jstring;
    typedef jobject jarray;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 48.5K bytes
    - Viewed (0)
Back to top