Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 534 for setchl (0.15 sec)

  1. src/cmd/cgo/internal/testsanitizers/testdata/tsan.go

    #cgo LDFLAGS: -fsanitize=thread
    
    int val;
    
    int getVal() {
    	return val;
    }
    
    void setVal(int i) {
    	val = i;
    }
    */
    import "C"
    
    import (
    	"runtime"
    )
    
    func main() {
    	runtime.LockOSThread()
    	C.setVal(1)
    	c := make(chan bool)
    	go func() {
    		runtime.LockOSThread()
    		C.setVal(2)
    		c <- true
    	}()
    	<-c
    	if v := C.getVal(); v != 2 {
    		panic(v)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 700 bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/testsanitizers/testdata/tsan2.go

    int run() {
    	val = 1;
    	GoRun();
    	return val;
    }
    
    void setVal(int) __attribute__ ((weak));
    
    void setVal(int i) {
    	val = i;
    }
    */
    import "C"
    
    import "runtime"
    
    //export GoRun
    func GoRun() {
    	runtime.LockOSThread()
    	c := make(chan bool)
    	go func() {
    		runtime.LockOSThread()
    		C.setVal(2)
    		c <- true
    	}()
    	<-c
    }
    
    func main() {
    	if v := C.run(); v != 2 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 940 bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/update_control_dependencies.mlir

        // CHECK-NEXT: tf_executor.fetch %[[control_1]], %[[control_2]], %[[control_3]] : !tf_executor.control, !tf_executor.control, !tf_executor.control
        tf_executor.fetch
      }
      func.return
    }
    
    // -----
    
    // Tests one group with multiple branches.
    // We expect the following dependency chains after the pass
    // A -> B -> fetch, C -> D -> fetch, E -> fetch.
    func.func @one_group_multiple_branches() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Nov 03 18:12:49 UTC 2023
    - 25.2K bytes
    - Viewed (0)
  4. maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultModelUrlNormalizer.java

        public void normalize(Model model, ModelBuildingRequest request) {
            if (model == null) {
                return;
            }
    
            model.setUrl(normalize(model.getUrl()));
    
            Scm scm = model.getScm();
            if (scm != null) {
                scm.setUrl(normalize(scm.getUrl()));
                scm.setConnection(normalize(scm.getConnection()));
                scm.setDeveloperConnection(normalize(scm.getDeveloperConnection()));
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/tf_executor_ops.mlir

      tf_executor.graph {
      }
      func.return
    
    // CHECK:      tf_executor.graph {
    // CHECK-NEXT:  tf_executor.fetch
    // CHECK-NEXT: }
    
    }
    
    // CHECK-LABEL: func @graph_with_fetch(%{{.*}}: tensor<*xf32>)
    func.func @graph_with_fetch(%0: tensor<*xf32>) -> tensor<*xf32> {
      %result = tf_executor.graph {
        tf_executor.fetch %0 : tensor<*xf32>
      }
      func.return %result : tensor<*xf32>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 25.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/parallel_execute_to_islands_legacy.mlir

          }) {} : () -> ()
          tf_executor.yield
        }
        tf_executor.fetch
      }
      func.return
    }
    
    // CHECK:      [[ISLAND_0_CTRL:%.+]] = tf_executor.island {
    // CHECK:        tf_executor.yield
    // CHECK:      [[ISLAND_1_CTRL:%.+]] = tf_executor.island {
    // CHECK:        tf_executor.yield
    // CHECK:      tf_executor.fetch [[ISLAND_0_CTRL]], [[ISLAND_1_CTRL]] :
    
    
    // CHECK-LABEL: func @testDataOperandsAndResults
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 19 19:47:16 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  7. platforms/core-configuration/declarative-dsl-provider/src/integTest/groovy/org/gradle/internal/declarativedsl/settings/SoftwareTypeConventionIntegrationTest.groovy

            "everything has convention and nothing set"        | setAll("convention", "convention") | ""                    | """id = convention\nbar = convention"""
            "everything has convention and is set"             | setAll("convention", "convention") | setAll("test", "baz") | """id = test\nbar = baz"""
        }
    
        def "sensible error when conventions are set more than once (#testCase)"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 12:50:35 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/split_into_island_per_op.mlir

          "tf.NoOp"() : () -> ()
          tf_executor.yield
        }
        tf_executor.fetch
      }
      tf_executor.graph {
        tf_executor.island {
          "tf.NoOp"() : () -> ()
          tf_executor.yield
        }
        tf_executor.fetch
      }
      func.return
    }
    
    // -----
    
    // Test that functions' graph op must have a single island op and a single fetch
    // op, otherwise, the pass will signal failure.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 20.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/executor_island_coarsening.mlir

        }
        tf_executor.fetch %2#0 : tensor<f32>
      }
      func.return %0 : tensor<f32>
    }
    
    // CHECK:        %[[ISLAND:.*]], %[[ISLAND_control:.*]] = tf_executor.island {
    // CHECK-NEXT:     "tf.opA"(%[[ARG_0]])
    // CHECK-NEXT:     %[[OP_B:[0-9]*]] = "tf.opB"
    // CHECK-NEXT:     tf_executor.yield %[[OP_B]] : tensor<f32>
    // CHECK:        tf_executor.fetch %[[ISLAND]] : tensor<f32>
    
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 17.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/tpu_device_propagation.mlir

        // CHECK-NOT:  device = "/job:localhost/replica:0/task:0/device:TPU:0"
        %1:2 = tf_executor.island wraps "tf.Identity"(%0#0) : (tensor<i64>) -> tensor<i64>
        tf_executor.fetch %1#1 : !tf_executor.control
      }
      tf_executor.graph {
        tf_executor.fetch
      }
      func.return
    }
    
    // CHECK-LABEL: func @testNoGraph
    func.func @testNoGraph() -> tensor<i64> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 19K bytes
    - Viewed (0)
Back to top