Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 830 for Jenson (0.2 sec)

  1. container-tests/src/test/java/okhttp3/containers/BasicLoomTest.kt

            .`when`(
              request().withPath("/person")
                .withQueryStringParameter("name", "peter"),
            )
            .respond(response().withBody("Peter the person!"))
    
          val results =
            (1..20).map {
              executor.submit {
                val response =
                  client.newCall(Request((mockServer.secureEndpoint + "/person?name=peter").toHttpUrl())).execute()
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 11:15:46 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  2. tests/test_jsonable_encoder.py

    from .utils import needs_pydanticv1, needs_pydanticv2
    
    
    class Person:
        def __init__(self, name: str):
            self.name = name
    
    
    class Pet:
        def __init__(self, owner: Person, name: str):
            self.owner = owner
            self.name = name
    
    
    @dataclass
    class Item:
        name: str
        count: int
    
    
    class DictablePerson(Person):
        def __iter__(self):
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 21:56:59 GMT 2024
    - 9K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_test.cc

      TF_Tensor* tensor =
          TF_AllocateTensor(TF_FLOAT, dims.data(), dims.size(), sizeof(float));
      float tensor_data[] = {1};
      memcpy(TF_TensorData(tensor), tensor_data, TF_TensorByteSize(tensor));
      TFE_TensorHandle* tensor_handle = TFE_NewTensorHandle(tensor, status);
      ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TFE_OpAddInput(op, tensor_handle, status);
      TF_DeleteTensor(tensor);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  4. istioctl/pkg/checkinject/checkinject.go

    			Name:     mwc.Name,
    			Revision: rev,
    			Injected: injected,
    			Reason:   reason,
    		})
    	}
    	sort.Slice(results, func(i, j int) bool {
    		return results[i].Name < results[j].Name
    	})
    	return results
    }
    
    func analyzeWebhooksMatchStatus(whs []admitv1.MutatingWebhook, podLabels, nsLabels map[string]string) (reason string, injected bool) {
    	for _, wh := range whs {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/gradients/custom_gradient_test.cc

      ASSERT_EQ(errors::OK, s.code()) << s.message();
    
      TF_Tensor* result_tensor;
      s = GetValue(outputs[0], &result_tensor);
      ASSERT_EQ(errors::OK, s.code()) << s.message();
      auto result_value = static_cast<float*>(TF_TensorData(result_tensor));
      EXPECT_EQ(*result_value, 1.0);
      outputs[0]->Unref();
      TF_DeleteTensor(result_tensor);
      result_tensor = nullptr;
    }
    
    INSTANTIATE_TEST_SUITE_P(
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  6. fastapi/exceptions.py

                    """
                ),
            ],
            reason: Annotated[
                Union[str, None],
                Doc(
                    """
                    The reason to close the WebSocket connection.
    
                    It is UTF-8-encoded data. The interpretation of the reason is up to the
                    application, it is not specified by the WebSocket specification.
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  7. container-tests/src/test/java/okhttp3/containers/BasicMockServerTest.kt

            .`when`(
              request().withPath("/person")
                .withQueryStringParameter("name", "peter"),
            )
            .respond(response().withBody("Peter the person!"))
    
          val response = client.newCall(Request((mockServer.endpoint + "/person?name=peter").toHttpUrl())).execute()
    
          assertThat(response.body.string()).contains("Peter the person")
        }
      }
    
      @Test
      fun testHttpsRequest() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/Transport.java

         *
         * @throws RuntimeException If PUT fails for any reason.
         */
        void put(@Nonnull Path source, @Nonnull URI relativeTarget);
    
        /**
         * PUTs the source byte array to target URI. The target MUST BE relative from the
         * {@link RemoteRepository#getUrl()} root.
         *
         * @throws RuntimeException If PUT fails for any reason.
         */
        void putBytes(@Nonnull byte[] source, @Nonnull URI relativeTarget);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 4.4K bytes
    - Viewed (0)
  9. tensorflow/c/eager/parallel_device/parallel_device_testlib.cc

      const int num_bytes = sizeof(float);
      float* values = new float[1];
      values[0] = v;
      std::unique_ptr<TF_Tensor, decltype(&TF_DeleteTensor)> tensor(
          TF_NewTensor(TF_FLOAT, nullptr, 0, values, num_bytes, &FloatDeallocator,
                       nullptr),
          TF_DeleteTensor);
      return TensorHandlePtr(TFE_NewTensorHandle(tensor.get(), status));
    }
    
    // Creates a rank-one TFE_TensorHandle with value `v`.
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Jun 15 15:44:44 GMT 2021
    - 12.5K bytes
    - Viewed (0)
  10. tensorflow/c/eager/gradients.cc

      std::vector<int64_t> tensor_ids(tensors.size());
      std::vector<tensorflow::DataType> tensor_dtypes(tensors.size());
      for (int i = 0; i < tensors.size(); i++) {
        tensor_ids[i] = ToId(tensors[i]);
        tensor_dtypes[i] = tensors[i]->DataType();
      }
      return GradientTape::ShouldRecord(tensor_ids, tensor_dtypes);
    }
    void Tape::DeleteTrace(const AbstractTensorHandle* t) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 19.3K bytes
    - Viewed (0)
Back to top