Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1081 - 1090 of 2,345 for add (0.02 sec)

  1. docs_src/sql_databases/tutorial001_py39.py

    app = FastAPI()
    
    
    @app.on_event("startup")
    def on_startup():
        create_db_and_tables()
    
    
    @app.post("/heroes/")
    def create_hero(hero: Hero, session: Session = Depends(get_session)) -> Hero:
        session.add(hero)
        session.commit()
        session.refresh(hero)
        return hero
    
    
    @app.get("/heroes/")
    def read_heroes(
        session: Session = Depends(get_session),
        offset: int = 0,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Count.java

    @ElementTypesAreNonnullByDefault
    final class Count implements Serializable {
      private int value;
    
      Count(int value) {
        this.value = value;
      }
    
      public int get() {
        return value;
      }
    
      public void add(int delta) {
        value += delta;
      }
    
      public int addAndGet(int delta) {
        return value += delta;
      }
    
      public void set(int newValue) {
        value = newValue;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Aug 05 00:40:25 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java

      }
    
      public void testLinkedGetAdd() {
        LinkedListMultimap<String, Integer> map = create();
        map.put("bar", 1);
        Collection<Integer> foos = map.get("foo");
        foos.add(2);
        foos.add(3);
        map.put("bar", 4);
        map.put("foo", 5);
        assertEquals("{bar=[1, 4], foo=[2, 3, 5]}", map.toString());
        assertEquals("[bar=1, foo=2, foo=3, bar=4, foo=5]", map.entries().toString());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

        new EqualsTester()
            .addEqualityGroup(wrapperFunction.apply(instance), wrapperFunction.apply(instance))
            .addEqualityGroup(wrapperFunction.apply(generator.newFreshProxy(interfaceType)))
            // TODO: add an overload to EqualsTester to print custom error message?
            .testEquals();
      }
    
      private static <T> void testToString(
          Class<T> interfaceType, Function<? super T, ? extends T> wrapperFunction) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  5. cmd/bucket-policy.go

    		} else {
    			args[key] = values
    		}
    	}
    
    	// JWT specific values
    	//
    	// Add all string claims
    	for k, v := range claims {
    		vStr, ok := v.(string)
    		if ok {
    			// Trim any LDAP specific prefix
    			args[strings.ToLower(strings.TrimPrefix(k, "ldap"))] = []string{vStr}
    		}
    	}
    
    	// Add groups claim which could be a list. This will ensure that the claim
    	// `jwt:groups` works.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ModelBuilderSupport.java

                if (node instanceof Element) {
                    Element childElement = (Element) node;
                    if (childElement.getTagName().equals(childName)) {
                        matches.add(childElement);
                    }
                }
            }
            return matches;
        }
    
        protected Element getChild(Element element, String childName) {
            Element child = findChild(element, childName);
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.2K bytes
    - Viewed (0)
  7. helm-releases/minio-1.0.0.tgz

    hosts: - chart-example.local tls: [] # - secretName: chart-example-tls # hosts: # - chart-example.local ## Node labels for pod assignment ## Ref: https://kubernetes.io/docs/user-guide/node-selection/ ## nodeSelector: {} tolerations: [] affinity: {} ## Add stateful containers to have security context, if enabled MinIO will run as this ## user and group NOTE: securityContext is only enabled if persistence.enabled=true securityContext: enabled: true runAsUser: 1000 runAsGroup: 1000 fsGroup: 1000 # Additational...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 20 22:30:54 UTC 2021
    - 13.5K bytes
    - Viewed (0)
  8. helm-releases/minio-1.0.1.tgz

    hosts: - chart-example.local tls: [] # - secretName: chart-example-tls # hosts: # - chart-example.local ## Node labels for pod assignment ## Ref: https://kubernetes.io/docs/user-guide/node-selection/ ## nodeSelector: {} tolerations: [] affinity: {} ## Add stateful containers to have security context, if enabled MinIO will run as this ## user and group NOTE: securityContext is only enabled if persistence.enabled=true securityContext: enabled: true runAsUser: 1000 runAsGroup: 1000 fsGroup: 1000 # Additational...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 20 22:32:29 UTC 2021
    - 13.5K bytes
    - Viewed (0)
  9. helm-releases/minio-1.0.3.tgz

    hosts: - chart-example.local tls: [] # - secretName: chart-example-tls # hosts: # - chart-example.local ## Node labels for pod assignment ## Ref: https://kubernetes.io/docs/user-guide/node-selection/ ## nodeSelector: {} tolerations: [] affinity: {} ## Add stateful containers to have security context, if enabled MinIO will run as this ## user and group NOTE: securityContext is only enabled if persistence.enabled=true securityContext: enabled: true runAsUser: 1000 runAsGroup: 1000 fsGroup: 1000 # Additational...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 24 19:04:07 UTC 2021
    - 13.6K bytes
    - Viewed (0)
  10. helm-releases/minio-1.0.4.tgz

    hosts: - chart-example.local tls: [] # - secretName: chart-example-tls # hosts: # - chart-example.local ## Node labels for pod assignment ## Ref: https://kubernetes.io/docs/user-guide/node-selection/ ## nodeSelector: {} tolerations: [] affinity: {} ## Add stateful containers to have security context, if enabled MinIO will run as this ## user and group NOTE: securityContext is only enabled if persistence.enabled=true securityContext: enabled: true runAsUser: 1000 runAsGroup: 1000 fsGroup: 1000 # Additational...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 25 02:12:51 UTC 2021
    - 13.6K bytes
    - Viewed (0)
Back to top