Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for var_ (0.08 sec)

  1. src/debug/elf/file_test.go

    			{"puts", 16, 0, 0, 0, 0, "", ""},
    		},
    	},
    }
    
    func TestOpen(t *testing.T) {
    	for i := range fileTests {
    		tt := &fileTests[i]
    
    		var f *File
    		var err error
    		if path.Ext(tt.file) == ".gz" {
    			var r io.ReaderAt
    			if r, err = decompress(tt.file); err == nil {
    				f, err = NewFile(r)
    			}
    		} else {
    			f, err = Open(tt.file)
    		}
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 16:22:42 UTC 2023
    - 60.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/g3doc/_includes/tf_passes.md

    loop body inine):
    
    ```mlir
      %var0 = ...
      %var1 = ...
      tf.while (..., %var0, %var1) {
        tf_device.replicate ([%var0, %var1] as %rvar) {
          %compile:2 = "tf._TPUCompileMlir"()
          tf.TPUExecuteAndUpdateVariablesOp(%rvar, compile#1)
        }
      }
    ```
    
    This pass will transform it into
    
    ```mlir
      %var0 = ...
      %var1 = ...
      %state_var0 = ...
      %state_var1 = ...
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 02 02:26:39 UTC 2023
    - 96.4K bytes
    - Viewed (0)
  3. src/runtime/mgcmark.go

    		size := uintptr(locals.n) * goarch.PtrSize
    		scanblock(frame.varp-size, size, locals.bytedata, gcw, state)
    	}
    
    	// Scan arguments.
    	if args.n > 0 {
    		scanblock(frame.argp, uintptr(args.n)*goarch.PtrSize, args.bytedata, gcw, state)
    	}
    
    	// Add all stack objects to the stack object list.
    	if frame.varp != 0 {
    		// varp is 0 for defers, where there are no locals.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_test.cc

          CreateVariable(ctx_0, 1.2, remote_device, /*variable_name=*/"var2");
    
      // 2. Wait for `var2` to be created and initialized on the worker.
      TF_Status* status = TF_NewStatus();
      TFE_ContextAsyncWait(ctx_0, status);
      EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TF_DeleteStatus(status);
    
      // 3. Read `var_2` using `ctx_1`. This read should succeed since `ctx_1` was
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 03 20:50:20 UTC 2023
    - 94.6K bytes
    - Viewed (0)
  5. src/runtime/traceback.go

    	sp := getcallersp()
    	pc := getcallerpc()
    	gp := getg()
    	var n int
    	systemstack(func() {
    		var u unwinder
    		u.initAt(pc, sp, 0, gp, unwindSilentErrors)
    		n = tracebackPCs(&u, skip, pcbuf)
    	})
    	return n
    }
    
    func gcallers(gp *g, skip int, pcbuf []uintptr) int {
    	var u unwinder
    	u.init(gp, unwindSilentErrors)
    	return tracebackPCs(&u, skip, pcbuf)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  6. pkg/kubelet/pod_workers_test.go

    				"uid-0": {
    					fullname: "foo_",
    				},
    				"uid-1": {
    					fullname: "bar_",
    				},
    			},
    			startedStaticPodsByFullname: map[string]types.UID{
    				"bar_": types.UID("uid-1"),
    			},
    			expectedStartedStaticPodsByFullname: map[string]types.UID{
    				"foo_": types.UID("uid-0"),
    				"bar_": types.UID("uid-1"),
    			},
    			allowed:     true,
    			allowedEver: true,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 75.6K bytes
    - Viewed (0)
  7. tests/test_generate_unique_id_function.py

    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    
    def custom_generate_unique_id(route: APIRoute):
        return f"foo_{route.name}"
    
    
    def custom_generate_unique_id2(route: APIRoute):
        return f"bar_{route.name}"
    
    
    def custom_generate_unique_id3(route: APIRoute):
        return f"baz_{route.name}"
    
    
    class Item(BaseModel):
        name: str
        price: float
    
    
    class Message(BaseModel):
        title: str
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Jan 13 15:10:26 UTC 2024
    - 66.7K bytes
    - Viewed (0)
Back to top