Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 322 for we (0.12 sec)

  1. guava-tests/test/com/google/common/base/EquivalenceTest.java

            .addEqualityGroup(isNull)
            .addEqualityGroup(Equivalence.identity().equivalentTo("1"))
            .testEquals();
      }
    
      /*
       * We use large numbers to avoid the integer cache. Normally, we'd accomplish that merely by using
       * `new Integer` (as we do) instead of `Integer.valueOf`. However, under J2KT, `new Integer`
       * gets translated back to `Integer.valueOf` because that is the only thing J2KT can support. And
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  2. docs_src/dependencies/tutorial008d.py

    app = FastAPI()
    
    
    class InternalError(Exception):
        pass
    
    
    def get_username():
        try:
            yield "Rick"
        except InternalError:
            print("We don't swallow the internal error here, we raise again 😎")
            raise
    
    
    @app.get("/items/{item_id}")
    def get_item(item_id: str, username: str = Depends(get_username)):
        if item_id == "portal-gun":
            raise InternalError(
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Feb 24 23:06:37 GMT 2024
    - 694 bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/MutableClassToInstanceMapTest.java

      }
    
      public void testConstraint() {
    
        /**
         * We'll give ourselves a pass on testing all the possible ways of breaking the constraint,
         * because we know that newClassMap() is implemented using ConstrainedMap which is itself
         * well-tested. A purist would object to this, but what can I say, we're dirty cheaters.
         */
        map.put(Integer.class, new Integer(5));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/MutableClassToInstanceMapTest.java

      }
    
      public void testConstraint() {
    
        /**
         * We'll give ourselves a pass on testing all the possible ways of breaking the constraint,
         * because we know that newClassMap() is implemented using ConstrainedMap which is itself
         * well-tested. A purist would object to this, but what can I say, we're dirty cheaters.
         */
        map.put(Integer.class, new Integer(5));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  5. manifests/charts/istio-control/istio-discovery/templates/mutatingwebhook.yaml

    {{- /* Core defines the common configuration used by all webhook segments */}}
    {{/* Copy just what we need to avoid expensive deepCopy */}}
    {{- $whv := dict
     "revision" .Values.revision
      "injectionPath" .Values.istiodRemote.injectionPath
      "injectionURL" .Values.istiodRemote.injectionURL
      "reinvocationPolicy" .Values.sidecarInjectorWebhook.reinvocationPolicy
      "caBundle" .Values.istiodRemote.injectionCABundle
      "namespace" .Release.Namespace }}
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  6. docs_src/dependencies/tutorial008d_an.py

    app = FastAPI()
    
    
    class InternalError(Exception):
        pass
    
    
    def get_username():
        try:
            yield "Rick"
        except InternalError:
            print("We don't swallow the internal error here, we raise again 😎")
            raise
    
    
    @app.get("/items/{item_id}")
    def get_item(item_id: str, username: Annotated[str, Depends(get_username)]):
        if item_id == "portal-gun":
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Feb 24 23:06:37 GMT 2024
    - 744 bytes
    - Viewed (0)
  7. docs_src/dependencies/tutorial008d_an_py39.py

    app = FastAPI()
    
    
    class InternalError(Exception):
        pass
    
    
    def get_username():
        try:
            yield "Rick"
        except InternalError:
            print("We don't swallow the internal error here, we raise again 😎")
            raise
    
    
    @app.get("/items/{item_id}")
    def get_item(item_id: str, username: Annotated[str, Depends(get_username)]):
        if item_id == "portal-gun":
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Feb 24 23:06:37 GMT 2024
    - 734 bytes
    - Viewed (0)
  8. maven-compat/src/test/java/org/apache/maven/artifact/transform/TransformationManagerTest.java

                    "We expected the release transformation and got " + tms.get(0));
    
            assertTrue(
                    tms.get(1) instanceof LatestArtifactTransformation,
                    "We expected the latest transformation and got " + tms.get(1));
    
            assertTrue(
                    tms.get(2) instanceof SnapshotTransformation,
                    "We expected the snapshot transformation and got " + tms.get(2));
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  9. cmd/metrics-v3-handler.go

    	if isListingRequest {
    		handler := h.listMetrics(path)
    		if handler == nil {
    			return notFoundHandler
    		}
    		return handler
    	}
    
    	// In each of the following cases, we check if the collect path is a
    	// descendant of `path`, and if so, we add the corresponding gatherer to
    	// the list of gatherers. This way, /api/a will return all metrics returned
    	// by /api/a/b and /api/a/c (and any other matching descendant collector
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 17:37:57 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperties.java

         *
         * Here we automatically accept the following cases:
         * - A setter `setX` of an upgraded property is removed
         * - A boolean `isX` of an upgraded property is removed
         * - A new getter `getX` is added, where the old getter is a boolean getter `isX` of an upgraded property
         * - A return type is changed for a getter `getX` of an upgraded property
         *
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Apr 23 08:40:36 GMT 2024
    - 6.8K bytes
    - Viewed (0)
Back to top