Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for Blah (0.06 sec)

  1. src/internal/coverage/cfile/testdata/issue56006/repro.go

    package main
    
    //go:noinline
    func blah(x int) int {
    	if x != 0 {
    		return x + 42
    	}
    	return x - 42
    }
    
    func main() {
    	go infloop()
    	println(blah(1) + blah(0))
    }
    
    var G int
    
    func infloop() {
    	for {
    		G += blah(1)
    		G += blah(0)
    		if G > 10000 {
    			G = 0
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 19:41:02 UTC 2024
    - 260 bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/node_matchers_test.cc

          "\ninput 0 does not match expected:\nname: blah, \nsource does not match "
          "expected name: blah\n\t\nexpected name blah but found placeholder_a");
      EXPECT_EQ(
          Explain(add.node(), NodeWith(Inputs(_, Out(NodeWith(Name("blah")))))),
          "\ninput 1 does not match expected:\nname: blah, \nsource does not match "
          "expected name: blah\n\t\nexpected name blah but found placeholder_b");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 14:43:57 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. src/internal/coverage/cfile/testdata/issue56006/repro_test.go

    package main
    
    import "testing"
    
    func TestSomething(t *testing.T) {
    	go infloop()
    	println(blah(1) + blah(0))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 19:41:02 UTC 2024
    - 111 bytes
    - Viewed (0)
  4. tensorflow/c/experimental/ops/gen/common/path_config.cc

        tf_prefix_dir =
            absl::StrJoin(source_path_components.begin(), source_tfroot_pos, "/");
      } else {
        tf_prefix_dir = source_dir;
      }
    
      // TF subdir, e.g. "c/ops" given output_dir "blah/blah/tensorflow/c/ops"
      std::vector<string> output_path_components =
          tensorflow::str_util::Split(output_dir, "/");
      auto output_tfroot_pos = std::find(output_path_components.begin(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 09:51:28 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. pkg/kubelet/config/config_test.go

    	channel, ch, _ := createPodConfigTester(tCtx, PodConfigNotificationIncremental)
    
    	pod := CreateValidPod("foo2", "new")
    	pod.Annotations = make(map[string]string)
    	pod.Annotations["kubernetes.io/blah"] = "blah"
    
    	clone := pod.DeepCopy()
    
    	podUpdate := CreatePodUpdate(kubetypes.SET, TestSource, CreateValidPod("foo1", "new"), clone, CreateValidPod("foo3", "new"))
    	channel <- podUpdate
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  6. src/cmd/link/link_test.go

    	}
    
    	t.Parallel()
    
    	tmpdir := t.TempDir()
    
    	src := filepath.Join(tmpdir, "blah.go")
    	err := os.WriteFile(src, []byte(Issue34788src), 0666)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	obj := filepath.Join(tmpdir, "blah.o")
    	cmd := testenv.Command(t, testenv.GoToolPath(t), "tool", "compile", "-p=blah", "-o", obj, src)
    	cmd.Env = append(os.Environ(), "GOARCH=386", "GOOS=android")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:02 UTC 2024
    - 43.5K bytes
    - Viewed (0)
  7. src/cmd/go/internal/work/shell.go

    	// when the relative path is shorter.
    	for {
    		// Note that dir starts out long, something like
    		// /foo/bar/baz/root/a
    		// The target string to be reduced is something like
    		// (blah-blah-blah) /foo/bar/baz/root/sibling/whatever.go:blah:blah
    		// /foo/bar/baz/root/a doesn't match /foo/bar/baz/root/sibling, but the prefix
    		// /foo/bar/baz/root does.  And there may be other niblings sharing shorter
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  8. src/cmd/cover/cfg_test.go

    		t.Errorf("'bad config file' test: wanted %s got %s", want, errmsg)
    	}
    
    	// Expect err if config file contains unknown stuff.
    	t.Logf("mangling in config")
    	writeFile(t, incfg, []byte("blah=foo\n"))
    	_, _, errmsg = runPkgCover(t, instdira, tag, incfg, mode,
    		apkgfiles, errExpected)
    	want = "error reading pkgconfig file"
    	if !strings.Contains(errmsg, want) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 12:51:11 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  9. pkg/controller/controller_utils_test.go

    						},
    					},
    					RestartPolicy: v1.RestartPolicyAlways,
    					DNSPolicy:     v1.DNSDefault,
    					NodeSelector: map[string]string{
    						"baz": "blah",
    					},
    				},
    			},
    		},
    	}
    	return rc
    }
    
    // create count pods with the given phase for the given rc (same selectors and namespace), and add them to the store.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/plugins/tainttoleration/taint_toleration_test.go

    				nodeWithTaints("nodeA", []v1.Taint{{
    					Key:    "foo",
    					Value:  "bar",
    					Effect: v1.TaintEffectPreferNoSchedule,
    				}}),
    				nodeWithTaints("nodeB", []v1.Taint{{
    					Key:    "foo",
    					Value:  "blah",
    					Effect: v1.TaintEffectPreferNoSchedule,
    				}}),
    			},
    			expectedList: []framework.NodeScore{
    				{Name: "nodeA", Score: framework.MaxNodeScore},
    				{Name: "nodeB", Score: 0},
    			},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 17.5K bytes
    - Viewed (0)
Back to top