Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 7,747 for jailed (0.11 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/xla_call_module_serialization.cc

      llvm::raw_string_ostream os(bytecode);
      if (mlir::failed(stablehlo::serializePortableArtifact(
              stablehlo_module, stablehlo::getCurrentVersion(), os))) {
        return stablehlo_module.emitError()
               << "failed to serialize the pruned stablehlo module";
      }
      return bytecode;
    }
    
    // Serializes the stablehlo functions called by XlaCallModuleOp to bytecode
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  2. pkg/test/failer_test.go

    		if err := Wrap(func(t Failer) {
    			t.Fatalf("failed")
    		}); err == nil {
    			t.Fatalf("expected error, got none")
    		}
    	})
    	t.Run("success", func(t *testing.T) {
    		if err := Wrap(func(t Failer) {}); err != nil {
    			t.Fatalf("expected no error, got: %v", err)
    		}
    	})
    	t.Run("cleanup", func(t *testing.T) {
    		done := false
    		if err := Wrap(func(t Failer) {
    			t.Cleanup(func() {
    				done = true
    			})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 07 18:42:17 UTC 2021
    - 1.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/webhook_v1beta1_test.go

    			p := tempfile.Name()
    			defer os.Remove(p)
    
    			tmpl, err := template.New("test").Parse(tt.configTmpl)
    			if err != nil {
    				return fmt.Errorf("failed to parse test template: %v", err)
    			}
    			if err := tmpl.Execute(tempfile, data); err != nil {
    				return fmt.Errorf("failed to execute test template: %v", err)
    			}
    			// Create a new authorizer
    			clientConfig, err := webhookutil.LoadKubeconfig(p, nil)
    			if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 22:41:27 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  4. src/go/doc/testdata/testing.1.golden

    	func (c *B) Errorf(format string, args ...any)
    
    	// Fail marks the function as having failed but continues ...
    	func (c *B) Fail()
    
    	// FailNow marks the function as having failed and stops its ...
    	func (c *B) FailNow()
    
    	// Failed reports whether the function has failed. 
    	func (c *B) Failed() bool
    
    	// Fatal is equivalent to Log() followed by FailNow(). 
    	func (c *B) Fatal(args ...any)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 8.4K bytes
    - Viewed (0)
  5. src/runtime/os_aix.go

    	tp := &timespec{}
    	if clock_gettime(_CLOCK_REALTIME, tp) != 0 {
    		throw("syscall clock_gettime failed")
    	}
    	return tp.tv_sec*1000000000 + tp.tv_nsec
    }
    
    func walltime() (sec int64, nsec int32) {
    	ts := &timespec{}
    	if clock_gettime(_CLOCK_REALTIME, ts) != 0 {
    		throw("syscall clock_gettime failed")
    	}
    	return ts.tv_sec, int32(ts.tv_nsec)
    }
    
    //go:nosplit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  6. src/runtime/error.go

    	boundsSliceAlen // s[?:x], 0 <= x <= len(s) failed
    	boundsSliceAcap // s[?:x], 0 <= x <= cap(s) failed
    	boundsSliceB    // s[x:y], 0 <= x <= y failed (but boundsSliceA didn't happen)
    
    	boundsSlice3Alen // s[?:?:x], 0 <= x <= len(s) failed
    	boundsSlice3Acap // s[?:?:x], 0 <= x <= cap(s) failed
    	boundsSlice3B    // s[?:x:y], 0 <= x <= y failed (but boundsSlice3A didn't happen)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:10:41 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  7. pilot/pkg/leaderelection/k8sleaderelection/healthzadaptor_test.go

    			if adaptor.le == nil {
    				t.Errorf("[%s] adaptor failed to set the LeaderElector", test.description)
    			}
    		}
    		err := adaptor.Check(req)
    		if test.expected == nil {
    			if err == nil {
    				continue
    			}
    			t.Errorf("[%s] called check, expected no error but received \"%v\"", test.description, err)
    		} else {
    			if err == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Sep 12 18:41:53 UTC 2022
    - 5.3K bytes
    - Viewed (0)
  8. src/go/doc/testdata/testing.2.golden

    	func (c *B) Errorf(format string, args ...any)
    
    	// Fail marks the function as having failed but continues ...
    	func (c *B) Fail()
    
    	// FailNow marks the function as having failed and stops its ...
    	func (c *B) FailNow()
    
    	// Failed reports whether the function has failed. 
    	func (c *B) Failed() bool
    
    	// Fatal is equivalent to Log() followed by FailNow(). 
    	func (c *B) Fatal(args ...any)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 4.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/storage/cacher/cache_watcher_test.go

    	if !w.add(&watchCacheEvent{Object: makePod(5), ResourceVersion: 5}, time.NewTimer(1*time.Second)) {
    		t.Fatal("failed adding an even to the watcher")
    	}
    	if !w.nonblockingAdd(&watchCacheEvent{Type: watch.Bookmark, ResourceVersion: 10, Object: &v1.Pod{ObjectMeta: metav1.ObjectMeta{ResourceVersion: "10"}}}) {
    		t.Fatal("failed adding an even to the watcher")
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 09:20:10 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  10. tensorflow/c/c_test.c

      if (TF_GetCode(status) != TF_OK) {
        fprintf(stderr, "TF_NewWritableFile failed: %s\n", TF_Message(status));
        return 1;
      }
      fprintf(stderr, "wrote %s\n", full_path);
      free(full_path);
      TF_CloseWritableFile(h, status);
      if (TF_GetCode(status) != TF_OK) {
        fprintf(stderr, "TF_CloseWritableFile failed: %s\n", TF_Message(status));
      }
      TF_StringStreamDone(s);
    
      TF_KernelBuilder* b =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:50:35 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top