Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 2,622 for variable1 (0.11 sec)

  1. src/internal/types/testdata/check/decls1.go

    // Copyright 2012 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.
    
    // variable declarations
    
    package decls1
    
    import (
    	"math"
    )
    
    // Global variables without initialization
    var (
    	a, b bool
    	c byte
    	d uint8
    	r rune
    	i int
    	j, k, l int
    	x, y float32
    	xx, yy float64
    	u, v complex64
    	uu, vv complex128
    	s, t string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 05 18:13:11 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. test/fixedbugs/issue27595.go

    package main
    
    var a = twoResults()       // ERROR "assignment mismatch: 1 variable but twoResults returns 2 values|multiple-value twoResults\(\) .*in single-value context"
    var b, c, d = twoResults() // ERROR "assignment mismatch: 3 variables but twoResults returns 2 values|cannot initialize"
    var e, f = oneResult()     // ERROR "assignment mismatch: 2 variables but oneResult returns 1 value|cannot initialize"
    
    func twoResults() (int, int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 23 19:41:41 UTC 2021
    - 670 bytes
    - Viewed (0)
  3. test/ken/string.go

    	print(`abc`)
    
    	/* print a variable */
    	print(b, "-")
    
    	/* catenate literals */
    	print(`abc`+`xyz`, "-")
    
    	/* catenate variables */
    	print(a+b, "-")
    
    	/* compare literals */
    	if `abc` == `xyz` || `abc` != "abc" || `abc` > `xyz` {
    		panic("compare literals")
    	}
    
    	/* compare variables */
    	if a == b || a != a || a > b {
    		panic("compare variables")
    	}
    
    	/* cat */
    	c = a + b
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 31 17:36:45 UTC 2018
    - 1.8K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/tuple.go

    package types2
    
    // A Tuple represents an ordered list of variables; a nil *Tuple is a valid (empty) tuple.
    // Tuples are used as components of signatures and to represent the type of multiple
    // assignments; they are not first class types of Go.
    type Tuple struct {
    	vars []*Var
    }
    
    // NewTuple returns a new tuple for the given variables.
    func NewTuple(x ...*Var) *Tuple {
    	if len(x) > 0 {
    		return &Tuple{vars: x}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 26 17:18:58 UTC 2021
    - 929 bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/typechecking_test.go

    			},
    		},
    		{
    			name: "variables valid",
    			policy: &v1.ValidatingAdmissionPolicy{Spec: v1.ValidatingAdmissionPolicySpec{
    				Variables: []v1.Variable{
    					{
    						Name:       "works",
    						Expression: "true",
    					},
    				},
    				Validations: []v1.Validation{
    					{
    						Expression: "variables.works",
    					},
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  6. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/signatures/KtVariableLikeSignature.kt

    
    /**
     * A signature of a variable-like symbol. This includes properties, enum entries local variables, etc.
     */
    public abstract class KaVariableLikeSignature<out S : KaVariableLikeSymbol> : KaCallableSignature<S>() {
        /**
         * A name of the variable with respect to the `@ParameterName` annotation. Can be different from the [KaVariableLikeSymbol.name].
         *
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/admissionregistration/v1alpha1/generated.proto

      // The variable can be accessed in other expressions through `variables`
      // For example, if name is "foo", the variable will be available as `variables.foo`
      optional string Name = 1;
    
      // Expression is the expression that will be evaluated as the value of the variable.
      // The CEL expression has access to the same identifiers as the CEL expressions in Validation.
      optional string Expression = 2;
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/liveness/plive.go

    	// individual blocks:
    	//
    	//	uevar: upward exposed variables (used before set in block)
    	//	varkill: killed variables (set in block)
    	uevar   bitvec.BitVec
    	varkill bitvec.BitVec
    
    	// Computed during Liveness.solve using control flow information:
    	//
    	//	livein: variables live at block entry
    	//	liveout: variables live at block exit
    	livein  bitvec.BitVec
    	liveout bitvec.BitVec
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 15:22:22 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  9. gradlew.bat

    :end
    @rem End local scope for the variables with windows NT shell
    if %ERRORLEVEL% equ 0 goto mainEnd
    
    :fail
    rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
    rem the _cmd.exe /c_ return code!
    set EXIT_CODE=%ERRORLEVEL%
    if %EXIT_CODE% equ 0 set EXIT_CODE=1
    if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE%
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 08:31:48 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. src/cmd/doc/doc_test.go

    		nil,
    	},
    	// Block of variables.
    	{
    		"block of variables",
    		[]string{p, `VarTwo`},
    		[]string{
    			`Comment before VarOne.\n.*VarOne = 1`,    // First...
    			`VarTwo = 2.*Comment on line with VarTwo`, // And second show up.
    			`Comment about block of variables`,        // Comment does too.
    		},
    		[]string{
    			`varThree= 3`, // No unexported variable.
    		},
    	},
    	// Block of variables -u.
    	{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 19:16:55 UTC 2023
    - 31.2K bytes
    - Viewed (0)
Back to top