Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 631 for _Assign (0.1 sec)

  1. src/cmd/fix/typecheck.go

    // typeof maps AST nodes to type information in gofmt string form.
    // assign maps type strings to lists of expressions that were assigned
    // to values of another type that were assigned to that type.
    func typecheck(cfg *TypeConfig, f *ast.File) (typeof map[any]string, assign map[string][]any) {
    	typeof = make(map[any]string)
    	assign = make(map[string][]any)
    	cfg1 := &TypeConfig{}
    	*cfg1 = *cfg // make copy so we can add locally
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 16 22:02:42 UTC 2022
    - 20.1K bytes
    - Viewed (0)
  2. test/fixedbugs/issue20813.go

    // errorcheck
    
    // 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 p
    
    func f() {
    	1 = 2 // ERROR "cannot assign to 1|invalid left hand side"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 14 17:37:52 UTC 2020
    - 259 bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/ifaceassert/ifaceassert.go

    			if n.Type == nil {
    				return
    			}
    			assert = n
    			targets = append(targets, n.Type)
    		case *ast.TypeSwitchStmt:
    			// retrieve type assertion from type switch's 'assign' field
    			switch t := n.Assign.(type) {
    			case *ast.ExprStmt:
    				assert = t.X.(*ast.TypeAssertExpr)
    			case *ast.AssignStmt:
    				assert = t.Rhs[0].(*ast.TypeAssertExpr)
    			}
    			// gather target types from case clauses
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/mod/modfile/read.go

    		switch x.(type) {
    		case *FileSyntax:
    			continue
    		}
    
    		// Do not assign suffix comments to something that starts
    		// on an earlier line, so that in
    		//
    		//	x ( y
    		//		z ) // comment
    		//
    		// we assign the comment to z and not to x ( ... ).
    		if start.Line != end.Line {
    			continue
    		}
    		xcom := x.Comment()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/pkginit/initAsanGlobals.go

    		c = tconv(c, types.Types[types.TUINTPTR])
    		setField("beg", c, i)
    		// Assign globals[i].size.
    		g := n.(*ir.Name)
    		size := g.Type().Size()
    		c = typecheck.DefaultLit(ir.NewInt(base.Pos, size), types.Types[types.TUINTPTR])
    		setField("size", c, i)
    		// Assign globals[i].sizeWithRedzone.
    		rzSize := GetRedzoneSizeForGlobal(size)
    		sizeWithRz := rzSize + size
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 17 19:36:24 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/multi-output-feeds.pbtxt

      attr {
        key: "shape"
        value {
          shape {
          }
        }
      }
      attr {
        key: "shared_name"
        value {
          s: ""
        }
      }
    }
    node {
      name: "var/Assign"
      op: "Assign"
      input: "var"
      input: "var/initial_value"
      attr {
        key: "T"
        value {
          type: DT_FLOAT
        }
      }
      attr {
        key: "_class"
        value {
          list {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 10 19:53:21 UTC 2020
    - 6.2K bytes
    - Viewed (0)
  7. test/func4.go

    // Verify that it is illegal to take the address of a function.
    // Does not compile.
    
    package main
    
    var notmain func()
    
    func main() {
    	var x = &main		// ERROR "address of|invalid"
    	main = notmain	// ERROR "assign to|invalid"
    	_ = x
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Feb 19 03:28:53 UTC 2012
    - 409 bytes
    - Viewed (0)
  8. cluster/addons/fluentd-gcp/README.md

    ```
    $ kubectl delete -n kube-system scalingpolicies.scalingpolicy.kope.io/fluentd-gcp-scaling-policy
    ```
    
    [cpu]: https://kubernetes.io/docs/tasks/configure-pod-container/assign-cpu-resource/
    [memory]: https://kubernetes.io/docs/tasks/configure-pod-container/assign-memory-resource/
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 13 20:03:37 UTC 2020
    - 2.7K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/samples/java/modules-with-transform/groovy/buildSrc/build.gradle

    plugins {
        id 'java-gradle-plugin' // so we can assign and ID to our plugin
    }
    
    dependencies {
        implementation 'org.ow2.asm:asm:8.0.1'
    }
    
    repositories {
        mavenCentral()
    }
    
    gradlePlugin {
        plugins {
            // here we register our plugin with an ID
            register("extra-java-module-info") {
                id = "extra-java-module-info"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 462 bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/samples/java/modules-with-transform/kotlin/buildSrc/build.gradle.kts

    plugins {
        `java-gradle-plugin` // so we can assign and ID to our plugin
    }
    
    dependencies {
        implementation("org.ow2.asm:asm:8.0.1")
    }
    
    repositories {
        mavenCentral()
    }
    
    gradlePlugin {
        plugins {
            // here we register our plugin with an ID
            register("extra-java-module-info") {
                id = "extra-java-module-info"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 460 bytes
    - Viewed (0)
Back to top