Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for putString (6.57 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultTransport.java

                    }
                }
            } catch (IOException e) {
                throw new UncheckedIOException(e);
            }
        }
    
        @Override
        public void putString(String source, Charset charset, URI relativeTarget) {
            requireNonNull(source, "source string is null");
            requireNonNull(charset, "charset is null");
            putBytes(source.getBytes(charset), relativeTarget);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/events.md

    We create an async function `lifespan()` with `yield` like this:
    
    ```Python hl_lines="16  19"
    {!../../../docs_src/events/tutorial003.py!}
    ```
    
    Here we are simulating the expensive *startup* operation of loading the model by putting the (fake) model function in the dictionary with machine learning models before the `yield`. This code will be executed **before** the application **starts taking requests**, during the *startup*.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  3. common-protos/k8s.io/api/admissionregistration/v1/generated.proto

      // The webhook cares about an operation if it matches _any_ Rule.
      // However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks
      // from putting the cluster in a state which cannot be recovered from without completely
      // disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 24.4K bytes
    - Viewed (0)
  4. common-protos/k8s.io/api/admissionregistration/v1beta1/generated.proto

      // The webhook cares about an operation if it matches _any_ Rule.
      // However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks
      // from putting the cluster in a state which cannot be recovered from without completely
      // disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/extra-models.md

        ```
    
    ### `Union` in Python 3.10
    
    In this example we pass `Union[PlaneItem, CarItem]` as the value of the argument `response_model`.
    
    Because we are passing it as a **value to an argument** instead of putting it in a **type annotation**, we have to use `Union` even in Python 3.10.
    
    If it was in a type annotation we could have used the vertical bar, as:
    
    ```Python
    some_variable: PlaneItem | CarItem
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.7K bytes
    - Viewed (1)
  6. guava-testlib/src/com/google/common/collect/testing/Helpers.java

        public EntryComparator(@Nullable Comparator<? super K> keyComparator) {
          this.keyComparator = keyComparator;
        }
    
        @Override
        @SuppressWarnings("unchecked") // no less safe than putting it in the map!
        public int compare(Entry<K, V> a, Entry<K, V> b) {
          return (keyComparator == null)
              ? ((Comparable) a.getKey()).compareTo(b.getKey())
              : keyComparator.compare(a.getKey(), b.getKey());
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Suppliers.java

        }
    
        @Override
        @ParametricNullness
        public T get() {
          // Another variant of Double Checked Locking.
          //
          // We use two volatile reads. We could reduce this to one by
          // putting our fields into a holder class, but (at least on x86)
          // the extra memory consumption and indirection are more
          // expensive than the extra volatile reads.
          long nanos = expirationNanos;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  8. architecture/ambient/ztunnel.md

    * It should not be client-specific.
      * In Istio sidecars, historically we had a lot of client-specific xDS. For example, putting the xDS-client's IP back into the xDS response. This makes efficient control plane implementation (most notably, caching), extremely challenging.
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Apr 25 22:35:16 GMT 2024
    - 16.6K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

        public EntryComparator(@Nullable Comparator<? super K> keyComparator) {
          this.keyComparator = keyComparator;
        }
    
        @Override
        @SuppressWarnings("unchecked") // no less safe than putting it in the map!
        public int compare(Entry<K, V> a, Entry<K, V> b) {
          return (keyComparator == null)
              ? ((Comparable) a.getKey()).compareTo(b.getKey())
              : keyComparator.compare(a.getKey(), b.getKey());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Suppliers.java

        }
    
        @Override
        @ParametricNullness
        public T get() {
          // Another variant of Double Checked Locking.
          //
          // We use two volatile reads. We could reduce this to one by
          // putting our fields into a holder class, but (at least on x86)
          // the extra memory consumption and indirection are more
          // expensive than the extra volatile reads.
          long nanos = expirationNanos;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
Back to top