Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2441 - 2450 of 3,913 for getK (0.04 sec)

  1. tensorflow/c/eager/dlpack.cc

      TensorReference reference;
      std::vector<int64_t> shape;
      std::vector<int64_t> strides;
      DLManagedTensor tensor;
    
      explicit TfDlManagedTensorCtx(const TensorReference& ref) : reference(ref) {}
    };
    
    // Gets tensor from eager tensor handle.
    const Tensor* GetTensorFromHandle(TFE_TensorHandle* h, TF_Status* status) {
      if (h == nullptr) {
        status->status = tensorflow::errors::InvalidArgument("Invalid handle");
        return nullptr;
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  2. tests/callbacks_test.go

    	createCallback := db.Callback().Create()
    
    	createCallback.Before("*").Register("c1", c1)
    	if cb := createCallback.Get("c1"); reflect.DeepEqual(cb, c1) {
    		t.Errorf("callbacks tests failed, got: %p, want: %p", cb, c1)
    	}
    
    	createCallback.Remove("c1")
    	if cb := createCallback.Get("c2"); cb != nil {
    		t.Errorf("callbacks test failed. got: %p, want: nil", cb)
    	}
    }
    
    func TestCallbacksRemove(t *testing.T) {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Mar 26 03:33:36 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  3. internal/grid/grid.go

    // byte buffer.
    // When replacing PutByteBuffer should also be replaced
    // There is no minimum size.
    var GetByteBuffer = func() []byte {
    	b := *internalByteBuffer.Get().(*[]byte)
    	return b[:0]
    }
    
    // GetByteBufferCap returns a length 0 byte buffer with at least the given capacity.
    func GetByteBufferCap(wantSz int) []byte {
    	if wantSz < defaultBufferSize {
    		b := GetByteBuffer()[:0]
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/form/FormScheme.java

            // no-op
        }
    
        @Override
        public String getSchemeName() {
            return "form";
        }
    
        @Override
        public String getParameter(final String name) {
            return parameterMap.get(name);
        }
    
        @Override
        public String getRealm() {
            return null;
        }
    
        @Override
        public boolean isConnectionBased() {
            return false;
        }
    
        @Override
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/versioning/ManagedVersionMap.java

            Iterator<String> iter = keySet().iterator();
            while (iter.hasNext()) {
                String key = iter.next();
                buffer.append(key).append('=').append(get(key));
                if (iter.hasNext()) {
                    buffer.append('\n');
                }
            }
            return buffer.toString();
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/transforms/FindGradleClasspath.groovy

        @PathSensitive(PathSensitivity.NAME_ONLY)
        @InputArtifact
        abstract Provider<FileSystemLocation> getArtifact()
    
        @Override
        void transform(TransformOutputs outputs) {
            File artifactFile = artifact.get().asFile
            if (artifactFile.name == 'gradle-dependencies') {
                (artifactFile.listFiles() as List<File>).sort { it.name }.each {
                    outputs.file(it)
                }
            }
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Jul 07 13:12:26 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  7. test-site/public/index.html

                           autocomplete="off">
                </div>
            </div>
        </div>
    </div>
    <script>
        $('#contentQuery').suggestor({
            ajaxinfo: {
                url: 'http://localhost:9000/suggest/get',
                fn: 'content',
                num: 10
            },
            boxCssInfo: {
                border: '1px solid rgba(82, 168, 236, 0.5)',
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Mon Apr 20 08:41:37 UTC 2015
    - 1.9K bytes
    - Viewed (0)
  8. internal/config/dns/operator_dns.go

    	return nil, ErrNotImplemented
    }
    
    // Get - Retrieves DNS records for a bucket.
    // This is a No Op for Operator because, there is no intent to enforce global
    // namespace at MinIO level with this DNS entry. The global namespace in
    // enforced by the Kubernetes Operator
    func (c *OperatorDNS) Get(bucket string) (srvRecords []SrvRecord, err error) {
    	return nil, ErrNotImplemented
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Mar 06 16:56:10 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_schema_extra_example/test_tutorial001.py

                "price": 35.4,
                "tax": 3.2,
            },
        )
        assert response.status_code == 200
    
    
    @needs_pydanticv2
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        # insert_assert(response.json())
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapPutAllTester.java

      public void testPutAllHandlesDuplicates() {
        List<V> valuesToPut = asList(v0(), v1(), v0());
    
        for (K k : sampleKeys()) {
          resetContainer();
    
          Set<V> expectedValues = copyToSet(multimap().get(k));
    
          multimap().putAll(k, valuesToPut);
          expectedValues.addAll(valuesToPut);
    
          assertGet(k, expectedValues);
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top