Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 57 for RB (0.1 sec)

  1. tensorflow/c/tf_tensor_internal.h

      TensorBuffer* root_buffer() override { return this; }
      void FillAllocationDescription(
          tensorflow::AllocationDescription* proto) const override {
        int64_t rb = size();
        proto->set_requested_bytes(rb);
        proto->set_allocator_name(tensorflow::cpu_allocator()->Name());
      }
    
      bool OwnsMemory() const override { return owns_memory_; }
    
     private:
      const size_t len_;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 24 20:38:55 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  2. test/fixedbugs/issue10407.go

    // Issue 10407: gccgo failed to remove carriage returns
    // from raw string literals.
    
    package main
    
    import "fmt"
    
    func main() {
    	fmt.Println("package main\nfunc main() { if `a\rb\r\nc` != \"ab\\nc\" { panic(42) }}")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 392 bytes
    - Viewed (0)
  3. tests/test_tutorial/test_request_files/test_tutorial001_02_an.py

        client = TestClient(app)
        with path.open("rb") as file:
            response = client.post("/files/", files={"file": file})
        assert response.status_code == 200, response.text
        assert response.json() == {"file_size": 14}
    
    
    def test_post_upload_file(tmp_path):
        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
    
        client = TestClient(app)
        with path.open("rb") as file:
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  4. src/internal/fuzz/mutators_byteslice.go

    	copy(b[dst+n:], b[dst:])
    	rb := byte(m.rand(256))
    	for i := dst; i < dst+n; i++ {
    		b[i] = rb
    	}
    	return b
    }
    
    // byteSliceOverwriteConstantBytes overwrites a chunk of b with constant bytes.
    func byteSliceOverwriteConstantBytes(m *mutator, b []byte) []byte {
    	if len(b) <= 1 {
    		return nil
    	}
    	dst := m.rand(len(b))
    	n := m.chooseLen(len(b) - dst)
    	rb := byte(m.rand(256))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 19 18:23:43 UTC 2021
    - 7.7K bytes
    - Viewed (0)
  5. docs/sts/client-grants.py

                                       '0Z4VTG8uJBSekn42HE40DK9vQb4a'),
    )
    
    boto3_session = Session(botocore_session=bc_session)
    s3 = boto3_session.resource('s3', endpoint_url='http://localhost:9000')
    
    with open('/etc/hosts', 'rb') as data:
        s3.meta.client.upload_fileobj(data,
                                      'testbucket',
                                      'hosts',
                                      ExtraArgs={'ServerSideEncryption': 'AES256'})
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 1.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tfrt/tests/ir/fallback_opt.mlir

    }
    
    // CHECK-LABEL: func @fallback_resource
    func.func @fallback_resource(%ch0: !tfrt.chain) -> !tfrt.chain {
    
      %ra = tfrt_fallback_async.const_dense_tensor dense<0.0> : tensor<f32> {_tfrt_cost = 1 : i64}
      %rb = tfrt_fallback_async.const_dense_tensor dense<0.5> : tensor<f32> {_tfrt_cost = 1 : i64}
    
      // CHECK: tfrt_fallback_async.set_resource {{%.*}}, {{%.*}} {device = "cpu", index = 0 : i64}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 25 11:03:04 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/phases/addons/proxy/proxy.go

    			{
    				Verbs:         []string{"get"},
    				APIGroups:     []string{""},
    				Resources:     []string{"configmaps"},
    				ResourceNames: []string{constants.KubeProxyConfigMap},
    			},
    		},
    	}
    
    	rb := &rbac.RoleBinding{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      KubeProxyConfigMapRoleName,
    			Namespace: metav1.NamespaceSystem,
    		},
    		RoleRef: rbac.RoleRef{
    			APIGroup: rbac.GroupName,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 26 13:23:44 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  8. src/vendor/golang.org/x/sys/cpu/cpu_gccgo_x86.go

    func xgetbv() (eax, edx uint32) {
    	var a, d uint32
    	gccgoXgetbv(&a, &d)
    	return a, d
    }
    
    // gccgo doesn't build on Darwin, per:
    // https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/gcc.rb#L76
    func darwinSupportsAVX512() bool {
    	return false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 795 bytes
    - Viewed (0)
  9. tests/test_datastructures.py

        @app.post("/uploadfile/")
        def create_upload_file(file: UploadFile):
            testing_file_store.append(file)
            return {"filename": file.filename}
    
        client = TestClient(app)
        with path.open("rb") as file:
            response = client.post("/uploadfile/", files={"file": file})
        assert response.status_code == 200, response.text
        assert response.json() == {"filename": "test.txt"}
    
        assert testing_file_store
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Oct 18 12:36:40 UTC 2023
    - 2K bytes
    - Viewed (0)
  10. cluster/addons/fluentd-gcp/event-exporter.yaml

        k8s-app: event-exporter
        kubernetes.io/cluster-service: "true"
        addonmanager.kubernetes.io/mode: Reconcile
    ---
    apiVersion: rbac.authorization.k8s.io/v1
    kind: ClusterRoleBinding
    metadata:
      name: event-exporter-rb
      namespace: kube-system
      labels:
        k8s-app: event-exporter
        kubernetes.io/cluster-service: "true"
        addonmanager.kubernetes.io/mode: Reconcile
    roleRef:
      apiGroup: rbac.authorization.k8s.io
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 13 18:40:41 UTC 2021
    - 2.3K bytes
    - Viewed (0)
Back to top