Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for inheriting (0.1 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

        // It would be nice to be able to return a real concurrent
        // collection like ConcurrentLinkedQueue, so that e.g. concurrent
        // iteration would work, but that would not be GWT-compatible.
        // We are not "just" inheriting from ArrayList here as this doesn't work for J2kt.
        return new AbstractList<T>() {
          ArrayList<T> data = new ArrayList<>();
    
          @Override
          public int size() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/custom-response.md

    {!../../docs_src/custom_response/tutorial009b.py!}
    ```
    
    In this case, you can return the file path directly from your *path operation* function.
    
    ## Custom response class
    
    You can create your own custom response class, inheriting from `Response` and using it.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12K bytes
    - Viewed (0)
  3. fastapi/security/oauth2.py

        as a dependency. All other OAuth2 classes inherit from it and customize it for
        each OAuth2 flow.
    
        You normally would not create a new class inheriting from it but use one of the
        existing subclasses, and maybe compose them if you want to support multiple flows.
    
        Read more about it in the
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 23 18:30:18 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/Helpers.java

        // It would be nice to be able to return a real concurrent
        // collection like ConcurrentLinkedQueue, so that e.g. concurrent
        // iteration would work, but that would not be GWT-compatible.
        // We are not "just" inheriting from ArrayList here as this doesn't work for J2kt.
        return new AbstractList<T>() {
          ArrayList<T> data = new ArrayList<>();
    
          @Override
          public int size() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/sql-databases.md

    We don't really need to inherit from `HeroBase` because we are re-declaring all the fields. I'll leave it inheriting just for consistency, but this is not necessary. It's more a matter of personal taste. 🤷
    
    The fields of `HeroUpdate` are:
    
    * `name`
    * `age`
    * `secret_name`
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/GcFinalization.java

       * reference has been cleared and one {@code finalize} method has been run before this method
       * returns. This method may be useful when testing the garbage collection mechanism itself, or
       * inhibiting a spontaneous GC initiation in subsequent code.
       *
       * <p>In contrast, a plain call to {@link java.lang.System#gc()} does not ensure finalization
       * processing and may run concurrently, for example, if the JVM flag {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/DfsImpl.java

                            entry.map.put(domain, new HashMap<String, CacheEntry<DfsReferralDataInternal>>());
                            if ( log.isTraceEnabled() ) {
                                log.trace("Inserting cache entry for domain " + domain + ": " + dr);
                            }
                            dr = dr.next();
                        }
                        while ( dr != start );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:07:29 UTC 2023
    - 29.1K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

       * reference has been cleared and one {@code finalize} method has been run before this method
       * returns. This method may be useful when testing the garbage collection mechanism itself, or
       * inhibiting a spontaneous GC initiation in subsequent code.
       *
       * <p>In contrast, a plain call to {@link java.lang.System#gc()} does not ensure finalization
       * processing and may run concurrently, for example, if the JVM flag {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableMultimap.java

     * together. Any creation method that would customarily respect insertion order (such as {@link
     * #copyOf(Multimap)}) instead preserves key-grouped order by inserting entries for an existing key
     * immediately after the last entry having that key.
     *
     * <p>See the Guava User Guide article on <a href=
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  10. cni/pkg/iptables/iptables.go

    		iptablesBuilder.AppendRule(
    			iptableslog.UndefinedCommand, iptablesconstants.PREROUTING, iptablesconstants.NAT,
    			"-j", ChainInpodPrerouting,
    		)
    	}
    
    	// From here on, we should be only inserting rules into our custom chains.
    
    	if !ingressMode {
    		// CLI: -A ISTIO_PRERT -m mark --mark 0x539/0xfff -j CONNMARK --set-xmark 0x111/0xfff
    		//
    		// DESC: If we have a packet mark, set a connmark.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Oct 15 15:39:28 UTC 2024
    - 23.3K bytes
    - Viewed (0)
Back to top