Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 73 for IntType (0.12 sec)

  1. src/cmd/compile/internal/typecheck/func.go

    // FixVariadicCall rewrites calls to variadic functions to use an
    // explicit ... argument if one is not already present.
    func FixVariadicCall(call *ir.CallExpr) {
    	fntype := call.Fun.Type()
    	if !fntype.IsVariadic() || call.IsDDD {
    		return
    	}
    
    	vi := fntype.NumParams() - 1
    	vt := fntype.Param(vi).Type
    
    	args := call.Args
    	extra := args[vi:]
    	slice := MakeDotArgs(call.Pos(), vt, extra)
    	for i := range extra {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 15:23:18 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/internal/reflect/validation/ValidationMessageChecker.groovy

        String dummyValidationProblem(String onType = 'InvalidTask', String onProperty = 'dummy', String desc = 'test problem', String testReason = 'this is a test.') {
            display(SimpleMessage, 'dummy') {
                type(onType).property(onProperty)
                description(desc)
                reason(testReason)
            }.render()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 11:49:03 UTC 2024
    - 42.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types/type.go

    		if f.Type.NotInHeap() {
    			t.SetNotInHeap(true)
    			break
    		}
    	}
    
    	return t
    }
    
    var (
    	IsInt     [NTYPE]bool
    	IsFloat   [NTYPE]bool
    	IsComplex [NTYPE]bool
    	IsSimple  [NTYPE]bool
    )
    
    var IsOrdered [NTYPE]bool
    
    // IsReflexive reports whether t has a reflexive equality operator.
    // That is, if x==x for all x of type t.
    func IsReflexive(t *Type) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
  4. src/go/format/format_test.go

    // The formatted result must look the same as the input for successful tests.
    var tests = []string{
    	// declaration lists
    	`import "go/format"`,
    	"var x int",
    	"var x int\n\ntype T struct{}",
    
    	// statement lists
    	"x := 0",
    	"f(a, b, c)\nvar x int = f(1, 2, 3)",
    
    	// indentation, leading and trailing space
    	"\tx := 0\n\tgo f()",
    	"\tx := 0\n\tgo f()\n\n\n",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 20 03:54:46 UTC 2021
    - 4.5K bytes
    - Viewed (0)
  5. operator/pkg/translate/translate_value.go

    	yamlTree := make(map[string]any)
    	err = yaml.Unmarshal(values, &yamlTree)
    	if err != nil {
    		return nil, fmt.Errorf("error when unmarshalling into untype tree %v", err)
    	}
    
    	outputTree := make(map[string]any)
    	err = t.TranslateTree(yamlTree, outputTree, nil)
    	if err != nil {
    		return nil, err
    	}
    	outputVal, err := yaml.Marshal(outputTree)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 08 03:52:24 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/syntax/parser.go

    		return t
    
    	case _Func:
    		// fntype
    		p.next()
    		_, t := p.funcType("function type")
    		return t
    
    	case _Lbrack:
    		// '[' oexpr ']' ntype
    		// '[' _DotDotDot ']' ntype
    		p.next()
    		if p.got(_Rbrack) {
    			return p.sliceType(pos)
    		}
    		return p.arrayType(pos, nil)
    
    	case _Chan:
    		// _Chan non_recvchantype
    		// _Chan _Comm ntype
    		p.next()
    		t := new(ChanType)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/xcoff.go

    	Nscnum  int16  // Section number of symbol
    	Ntype   uint16 // Basic and derived type specification
    	Nsclass uint8  // Storage class of symbol
    	Nnumaux int8   // Number of auxiliary entries
    }
    
    const SYMESZ = 18
    
    const (
    	// Nscnum
    	N_DEBUG = -2
    	N_ABS   = -1
    	N_UNDEF = 0
    
    	//Ntype
    	SYM_V_INTERNAL  = 0x1000
    	SYM_V_HIDDEN    = 0x2000
    	SYM_V_PROTECTED = 0x3000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 01 19:58:23 UTC 2023
    - 51.8K bytes
    - Viewed (0)
  8. cmd/metrics-v3-handler.go

    	Name   string   `json:"name"`
    	Help   string   `json:"help"`
    	Type   string   `json:"type"`
    	Labels []string `json:"labels"`
    }
    
    func (md metricDisplay) String() string {
    	return fmt.Sprintf("Name: %s\nType: %s\nHelp: %s\nLabels: {%s}\n", md.Name, md.Type, md.Help, strings.Join(md.Labels, ","))
    }
    
    func (md metricDisplay) TableRow() string {
    	labels := strings.Join(md.Labels, ",")
    	if labels == "" {
    		labels = ""
    	} else {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 16:06:35 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractorTest.java

                extention = ".sh";
                content = "#!/bin/bash\nsleep " + sleep + ";cat $1";
            } else {
                // Windows
                extention = ".bat";
                content = "ping localhost -n " + sleep + "\r\ntype %1";
            }
            File file;
            try {
                file = File.createTempFile("script", extention);
                file.deleteOnExit();
                FileUtil.writeBytes(file.getAbsolutePath(), content.getBytes());
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  10. pkg/model/proxy.go

    	Ztunnel NodeType = "ztunnel"
    )
    
    // IsApplicationNodeType verifies that the NodeType is one of the declared constants in the model
    func IsApplicationNodeType(nType NodeType) bool {
    	switch nType {
    	case SidecarProxy, Router, Waypoint, Ztunnel:
    		return true
    	default:
    		return false
    	}
    }
    
    // IPMode represents the IP mode of proxy.
    type IPMode int
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 17:18:17 UTC 2024
    - 18.7K bytes
    - Viewed (0)
Back to top