Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 5,360 for watt (0.05 sec)

  1. src/net/http/responsecontroller_test.go

    				t.Errorf("ctl.Hijack = nil, want error")
    			}
    			w.Header().Set(header, value)
    			return
    		}
    		if err != nil {
    			t.Errorf("ctl.Hijack = _, _, %v, want _, _, nil", err)
    			return
    		}
    		fmt.Fprintf(c, "HTTP/1.0 200 OK\r\n%v: %v\r\nContent-Length: 0\r\n\r\n", header, value)
    	}))
    	res, err := cst.c.Get(cst.ts.URL)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if got, want := res.Header.Get(header), value; got != want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 19:20:31 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/test/pgo_devirtualize_test.go

    			callee: m[2],
    		}
    		got[d] = struct{}{}
    	}
    	if err := cmd.Wait(); err != nil {
    		t.Fatalf("error running go test: %v", err)
    	}
    	if err := scanner.Err(); err != nil {
    		t.Fatalf("error reading go test output: %v", err)
    	}
    
    	if len(got) != len(want) {
    		t.Errorf("mismatched devirtualization count; got %v want %v", got, want)
    	}
    	for _, w := range want {
    		if _, ok := got[w]; ok {
    			continue
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 15 21:30:35 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. src/runtime/abi_test.go

    type TintPointer struct {
    	p *Tint
    }
    
    func (*TintPointer) m() {}
    
    func TestFinalizerRegisterABI(t *testing.T) {
    	testenv.MustHaveExec(t)
    
    	// Actually run the test in a subprocess because we don't want
    	// finalizers from other tests interfering.
    	if os.Getenv("TEST_FINALIZER_REGABI") != "1" {
    		cmd := testenv.CleanCmdEnv(exec.Command(os.Args[0], "-test.run=^TestFinalizerRegisterABI$", "-test.v"))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/build_cc_cache_issue64423.txt

    #
    # When we parse the version for a Clang binary, we should accept
    # an arbitrary vendor prefix, which (as of 2023) may be injected
    # by defining CLANG_VENDOR when building clang itself.
    #
    # Since we don't want to actually rebuild the Clang toolchain in
    # this test, we instead simulate it by injecting a fake "clang"
    # binary that runs the real one as a subprocess.
    
    [!cgo] skip
    [short] skip 'builds and links a fake clang binary'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 07 19:13:29 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/grpc_service_unix_test.go

    			_, err = service.Encrypt(ctx, uid, data)
    
    			if err == nil && tt.wantErr != "" {
    				t.Fatalf("got nil, want %s", tt.wantErr)
    			}
    
    			if err != nil && tt.wantErr == "" {
    				t.Fatalf("got %q, want nil", err.Error())
    			}
    
    			// Collecting kms-plugin - allowing plugin to clean-up.
    			kmsPluginWG.Wait()
    		})
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 21 19:25:52 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  6. pilot/pkg/model/jwks_resolver_test.go

    		}
    	}
    
    	// Verify mock openID discovery http://localhost:9999/.well-known/openid-configuration was called three times.
    	if got, want := ms.OpenIDHitNum, uint64(3); got != want {
    		t.Errorf("Mock OpenID discovery Hit number => expected %d but got %d", want, got)
    	}
    }
    
    func TestGetPublicKey(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 09:47:21 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  7. src/time/tick_test.go

    package time_test
    
    import (
    	"fmt"
    	"runtime"
    	"sync"
    	"testing"
    	. "time"
    )
    
    func TestTicker(t *testing.T) {
    	t.Parallel()
    
    	// We want to test that a ticker takes as much time as expected.
    	// Since we don't want the test to run for too long, we don't
    	// want to use lengthy times. This makes the test inherently flaky.
    	// Start with a short time, but try again with a long one if the
    	// first test fails.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:10:37 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/util/wait/poll.go

    // wait: user specified WaitFunc function that controls at what interval the condition
    // function should be invoked periodically and whether it is bound by a timeout.
    // condition: user specified ConditionWithContextFunc function.
    //
    // Deprecated: will be removed in favor of loopConditionUntilContext.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 26 06:13:35 UTC 2023
    - 14K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/g3doc/dialects.md

    declaration nodes) in the future.
    
    If you want to connect a new low-level compiler, you would create a new dialect
    and the lowerings between the TensorFlow Graph dialect and your dialect.
    This smooths the path for hardware and compiler makers. You can even target
    dialects at different levels in the same model; the higher-level optimizers
    will respect the unfamiliar parts of the IR and wait for a lower level to handle
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 21 01:37:38 UTC 2020
    - 1.7K bytes
    - Viewed (0)
  10. src/net/http/serve_test.go

    		mux.ServeHTTP(w, req)
    
    		if got, want := w.Code, tt.code; got != want {
    			t.Errorf("#%d: Status = %d; want = %d", i, got, want)
    		}
    
    		if tt.code == 301 {
    			if got, want := w.HeaderMap.Get("Location"), tt.loc; got != want {
    				t.Errorf("#%d: Location = %q; want = %q", i, got, want)
    			}
    		} else {
    			if got, want := w.HeaderMap.Get("Result"), tt.want; got != want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
Back to top