Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 252 for assignments (0.27 sec)

  1. test/fixedbugs/bug284.go

    	c2 = C2(c0) // ERROR "cannot|invalid"
    	c2 = C2(c1) // ERROR "cannot|invalid"
    	c2 = c2
    
    	// internal compiler error (6g and gccgo)
    	type T interface{}
    	var _ T = 17 // assignment compatible
    	_ = T(17)    // internal compiler error even though assignment compatible
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 04:49:59 UTC 2012
    - 3.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/constant_op_device_assignment.mlir

    // RUN: tf-opt %s -constant-op-device-assignment | FileCheck %s
    
    // CHECK: func @replace_const_op_test
    func.func @replace_const_op_test() {
      // CHECK-NEXT: %[[RESULT_0:.*]] = "tf.Const"() <{value = dense<2.000000e+00> : tensor<f32>}> {device = "/job:worker/replica:0/task:0/device:CPU:1"}
      // CHECK-NEXT: %[[RESULT_1:.*]] = "tf.Const"() <{value = dense<2.000000e+00> : tensor<f32>}> {device = "/job:worker/replica:0/task:0/device:CPU:0"}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  3. test/ken/intervar.go

    // run
    
    // Copyright 2009 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.
    
    // Test interface assignment.
    
    package main
    
    type	Iputs	interface {
    	puts	(s string) string;
    }
    
    // ---------
    
    type	Print	struct {
    	whoami	int;
    	put	Iputs;
    }
    
    func (p *Print) dop() string {
    	r := " print " + string(p.whoami + '0')
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 05:24:24 UTC 2012
    - 1010 bytes
    - Viewed (0)
  4. platforms/core-configuration/declarative-dsl-provider/src/main/kotlin/org/gradle/internal/declarativedsl/conventions/conventions.kt

    import org.gradle.plugin.software.internal.Convention
    import org.gradle.plugin.software.internal.ConventionReceiver
    
    
    /**
     * A convention that applies a property assignment operation (e.g. foo = "bar").
     */
    class AssignmentRecordConvention(private val assignmentRecord: AssignmentRecord) :
        Convention<AssignmentRecordConventionReceiver> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:47 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/httpresponse/httpresponse.go

    		if ncalls > 1 {
    			return true
    		}
    
    		asg, ok := stmts[0].(*ast.AssignStmt)
    		if !ok {
    			return true // the first statement is not assignment.
    		}
    
    		resp := rootIdent(asg.Lhs[0])
    		if resp == nil {
    			return true // could not find the http.Response in the assignment.
    		}
    
    		def, ok := stmts[1].(*ast.DeferStmt)
    		if !ok {
    			return true // the following statement is not a defer.
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. src/runtime/memmove_loong64.s

    TEXT runtime·memmove<ABIInternal>(SB), NOSPLIT|NOFRAME, $0-24
    	BNE	R6, check
    	RET
    
    check:
    	SGTU	R4, R5, R7
    	BNE	R7, backward
    
    	ADDV	R4, R6, R9 // end pointer
    
    	// if the two pointers are not of same alignments, do byte copying
    	SUBVU	R5, R4, R7
    	AND	$7, R7
    	BNE	R7, out
    
    	// if less than 8 bytes, do byte copying
    	SGTU	$8, R6, R7
    	BNE	R7, out
    
    	// do one byte at a time until 8-aligned
    	AND	$7, R4, R8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 15:04:25 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. src/runtime/memmove_mips64x.s

    	MOVV	to+0(FP), R1
    	MOVV	from+8(FP), R2
    	MOVV	n+16(FP), R3
    	BNE	R3, check
    	RET
    
    check:
    	SGTU	R1, R2, R4
    	BNE	R4, backward
    
    	ADDV	R1, R3, R6 // end pointer
    
    	// if the two pointers are not of same alignments, do byte copying
    	SUBVU	R2, R1, R4
    	AND	$7, R4
    	BNE	R4, out
    
    	// if less than 8 bytes, do byte copying
    	SGTU	$8, R3, R4
    	BNE	R4, out
    
    	// do one byte at a time until 8-aligned
    	AND	$7, R1, R5
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 06 10:24:44 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/device_assignment_by_func_attr.mlir

    // RUN: tf-opt -tf-device-assignment-by-func-attr %s | FileCheck %s
    
    // CHECK-LABEL: func @device_test
    func.func @device_test(%arg0: tensor<3x1xf32>) -> (tensor<3x3xf32>) attributes {tf.device = "xpu"} {
    
      // CHECK: device = "xpu"
      %0 = "tf.Const"() {value = dense<[[1.0, 2.0, 3.0]]> : tensor<1x3xf32>} : () -> tensor<1x3xf32>
      // CHECK: device = "xpu"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 10 00:30:05 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  9. platforms/core-configuration/kotlin-dsl-plugins/build.gradle.kts

        compileOnly(libs.inject)
    
        implementation(libs.kotlinStdlib)
        implementation(libs.futureKotlin("gradle-plugin"))
        implementation(libs.futureKotlin("sam-with-receiver"))
        implementation(libs.futureKotlin("assignment"))
    
        testImplementation(projects.logging)
        testImplementation(testFixtures(project(":kotlin-dsl")))
        testImplementation(libs.slf4jApi)
        testImplementation(libs.mockitoKotlin)
    }
    
    packageCycles {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 25 22:44:42 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. src/go/ast/commentmap.go

    //
    // NewCommentMap tries to associate a comment group to the "largest"
    // node possible: For instance, if the comment is a line comment
    // trailing an assignment, the comment is associated with the entire
    // assignment rather than just the last operand in the assignment.
    func NewCommentMap(fset *token.FileSet, node Node, comments []*CommentGroup) CommentMap {
    	if len(comments) == 0 {
    		return nil // no comments to map
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top