Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 54 for bla1 (0.08 sec)

  1. test/fixedbugs/bug357.go

    // issue 1993.
    // error used to have last line number in file
    
    package main
    
    func bla1() bool {
    	return false
    }
    
    func bla5() bool {
    	_ = 1
    	false  // ERROR "false evaluated but not used|value computed is not used|is not used"
    	_ = 2
    	return false
    }
    
    func main() {
    	x := bla1()
    	_ = x
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 14 21:28:48 UTC 2020
    - 461 bytes
    - Viewed (0)
  2. pilot/pkg/model/test/mockopenidserver.go

    	JwtPubKeyExtraElements = `{ "keys": [ { "kid": "fakeKey1_1", "alg": "RS256", "kty": "RSA", "n": "abc", "e": "def", "bla": "blah" },
    			{ "kid": "fakeKey1_2", "alg": "RS256", "kty": "RSA", "n": "123", "e": "456", "bla": "blah" } ] }`
    )
    
    // Wrap the original handler with a delay
    func withDelay(handler http.Handler, delay time.Duration) http.Handler {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 09:47:21 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  3. pkg/util/flag/flags_test.go

    			argc:      "blah --ipport=::1",
    			expectVal: "::1",
    		},
    		{
    			desc:      "valid ipv6 2",
    			argc:      "blah --ipport=::",
    			expectVal: "::",
    		},
    		{
    			desc:      "valid ipv6 with port",
    			argc:      "blah --ipport=[::1]:8080",
    			expectVal: "[::1]:8080",
    		},
    		{
    			desc:      "invalid ipv6 with port without bracket",
    			argc:      "blah --ipport=fd00:f00d:600d:f00d:8080",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 14 10:45:23 UTC 2021
    - 8.8K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/serviceentry_simulation_test.go

    ---
    apiVersion: networking.istio.io/v1alpha3
    kind: VirtualService
    metadata:
      name: vs1
    spec:
      hosts:
      - blah.somedomain
      tls:
      - match:
        - port: 9999
          sniHosts:
          - blah.somedomain
        route:
        - destination:
            host: blah.somedomain
            port:
              number: 9999`
    
    func TestServiceEntry(t *testing.T) {
    	cases := []simulationTest{
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 21:06:06 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/watch/watch_test.go

    		f.Error(testType("error: blah"))
    		f.Stop()
    	}
    
    	go sender()
    	consumer(f)
    }
    
    func TestRaceFreeFake(t *testing.T) {
    	f := NewRaceFreeFake()
    
    	table := []struct {
    		t EventType
    		s testType
    	}{
    		{Added, testType("foo")},
    		{Modified, testType("qux")},
    		{Modified, testType("bar")},
    		{Deleted, testType("bar")},
    		{Error, testType("error: blah")},
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 15 11:34:31 UTC 2018
    - 3.7K bytes
    - Viewed (0)
  6. 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)
  7. maven-core/src/test/resources/projects/modelsourcebasedir/pom.xml

      <artifactId>local-parent</artifactId>
      <packaging>pom</packaging>
      <version>1.0</version>
    
      <dependencies>
        <dependency>
          <groupId>blah</groupId>
          <artifactId>blah</artifactId>
          <version>0.0.1-SNASPSHOT</version>
          <scope>system</scope>
          <systemPath>${basedir}/blah.jar</systemPath>
        </dependency>
      </dependencies>
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Aug 17 08:59:48 UTC 2021
    - 645 bytes
    - Viewed (0)
  8. 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)
  9. src/cmd/go/testdata/script/cover_test_localpkg_filepath.txt

    [short] skip
    
    # collect coverage profile in text format
    go test -coverprofile=blah.prof prog.go prog_test.go
    
    # should not contain cmd-line pseudo-import-path
    grep prog.go blah.prof
    grep $PWD blah.prof
    ! grep command-line-arguments blah.prof
    
    -- prog.go --
    package main
    
    func Mumble(x int) int {
    	if x < 0 {
    		return -x
    	}
    	return 42
    }
    
    func Grumble(y int) int {
    	return -y
    }
    
    func main() {
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 01 14:11:54 UTC 2022
    - 571 bytes
    - Viewed (0)
  10. test/fixedbugs/issue5581.go

    func (x *Foo) Method() (int, error) {
    	for y := range x.m {
    		_ = y.A
    	}
    	return 0, nil
    }
    
    type Foo struct {
    	m map[*Bar]int
    }
    
    type Bar struct {
    	A *Foo
    	B chan Blah // ERROR "undefined.*Blah"
    }
    
    func main() {
    	fmt.Println("Hello, playground")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 575 bytes
    - Viewed (0)
Back to top