Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 204 for EXPLICIT (0.1 sec)

  1. fastapi/openapi/utils.py

                if route.status_code is not None:
                    status_code = str(route.status_code)
                else:
                    # It would probably make more sense for all response classes to have an
                    # explicit default status_code, and to extract it from them, instead of
                    # doing this inspection tricks, that would probably be in the future
                    # TODO: probably make status_code a default class attribute for all
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  2. internal/kms/kms.go

    type KMS struct {
    	// Type identifies the KMS implementation. Either,
    	// MinKMS, MinKES or Builtin.
    	Type Type
    
    	// The default key, used for generating new data keys
    	// if no explicit GenerateKeyRequest.Name is provided.
    	DefaultKey string
    
    	conn conn // Connection to the KMS
    
    	// Metrics
    	reqOK, reqErr, reqFail atomic.Uint64
    	latencyBuckets         []time.Duration // expected to be sorted
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Iterables.java

       * is empty.
       *
       * <p><b>Warning:</b> Typical uses of the resulting iterator may produce an infinite loop. You
       * should use an explicit {@code break} or be certain that you will eventually remove all the
       * elements.
       *
       * <p>To cycle over the iterable {@code n} times, use the following: {@code
       * Iterables.concat(Collections.nCopies(n, iterable))}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 42.8K bytes
    - Viewed (0)
  4. tensorflow/c/eager/custom_device_test.cc

      TFE_Execute(matmul.get(), &retval, &num_retvals, status.get());
      EXPECT_TRUE(executed);
      ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get());
      TFE_DeleteTensorHandle(retval);
    
      // Explicit placement still forces the op onto the requested device
      matmul.reset(MatMulOp(context.get(), hcustom0.get(), hcpu.get()));
      TFE_OpSetDevice(matmul.get(), "/job:localhost/replica:0/task:0/device:CPU:0",
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Aug 27 23:39:24 UTC 2020
    - 18.4K bytes
    - Viewed (0)
  5. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

    // multiple DeviceThreads should always be accessed in the same order to avoid
    // deadlocks.
    class DeviceThread {
     public:
      // Starts a background thread waiting for `StartExecute`.
      explicit DeviceThread(const std::string& device, const bool is_async,
                            const int in_flight_nodes_limit)
          : status_(TF_NewStatus()),
            // If the context's default exector is set to async, re-using that in
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Oct 21 04:14:14 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableSortedMap.java

          K k4,
          V v4,
          K k5,
          V v5,
          K k6,
          V v6,
          K k7,
          V v7,
          K k8,
          V v8,
          K k9,
          V v9) {
        /*
         * This explicit type parameter works around what seems to be a javac bug in certain
         * configurations: b/339186525#comment6
         */
        return ImmutableSortedMap.<K, V>fromEntries(
            entryOf(k1, v1),
            entryOf(k2, v2),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  7. cni/pkg/plugin/plugin_test.go

    	pod.Spec.Containers = []corev1.Container{app}
    
    	testDoAddRun(t, cniConf, testNSName, pod, ns)
    
    	wasCalled := serverClose()
    	// Pod has an explicit opt-out label, should not be added to ambient mesh
    	assert.Equal(t, wasCalled, false)
    }
    
    func TestCmdAddPodEnabledNamespaceDisabled(t *testing.T) {
    	serverClose := setupCNIEventClientWithMockServer(false)
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/BytesTest.java

        assertThrows(IllegalArgumentException.class, () -> Bytes.ensureCapacity(ARRAY1, 1, -1));
      }
    
      public void testToArray() {
        // need explicit type parameter to avoid javac warning!?
        List<Byte> none = Arrays.<Byte>asList();
        assertThat(Bytes.toArray(none)).isEqualTo(EMPTY);
    
        List<Byte> one = Arrays.asList((byte) 1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

          K k4,
          V v4,
          K k5,
          V v5,
          K k6,
          V v6,
          K k7,
          V v7,
          K k8,
          V v8,
          K k9,
          V v9) {
        /*
         * This explicit type parameter works around what seems to be a javac bug in certain
         * configurations: b/339186525#comment6
         */
        return ImmutableSortedMap.<K, V>fromEntries(
            entryOf(k1, v1),
            entryOf(k2, v2),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

            this.runnable = runnable;
            this.executor = executor;
            this.next = next;
          }
        }
      }
    
      // A version of the ExecutionList that uses an explicit tail pointer to keep the nodes in order
      // rather than flipping the stack in execute().
      private static final class NewExecutionListQueue {
        static final Logger log = Logger.getLogger(NewExecutionListQueue.class.getName());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 20.5K bytes
    - Viewed (0)
Back to top