Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 481 - 490 of 1,489 for instances (0.21 seconds)

  1. tests/test_jsonable_encoder.py

            dt_field: safe_datetime
    
        instance = MyDict(dt_field=safe_datetime.now())
    
        encoded_instance = jsonable_encoder(
            instance, custom_encoder={safe_datetime: lambda o: o.strftime("%H:%M:%S")}
        )
        assert encoded_instance["dt_field"] == instance["dt_field"].strftime("%H:%M:%S")
    
        encoded_instance = jsonable_encoder(
            instance, custom_encoder={datetime: lambda o: o.strftime("%H:%M:%S")}
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  2. tests/test_dependency_class.py

    @app.get("/callable-dependency-class")
    async def get_callable_dependency_class(
        value: str, instance: CallableDependency = Depends()
    ):
        return instance(value)
    
    
    @app.get("/callable-gen-dependency-class")
    async def get_callable_gen_dependency_class(
        value: str, instance: CallableGenDependency = Depends()
    ):
        return next(instance(value))
    
    
    @app.get("/async-callable-dependency-class")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/filters/KotlinInternalFilter.groovy

        boolean matches(CtClass ctClass) {
            return KotlinMetadataQueries.INSTANCE.isKotlinInternal(ctClass)
        }
    
        @Override
        boolean matches(CtField ctField) {
            return KotlinMetadataQueries.INSTANCE.isKotlinInternal(ctField)
        }
    
        @Override
        boolean matches(CtBehavior ctBehavior) {
            return KotlinMetadataQueries.INSTANCE.isKotlinInternal(ctBehavior)
        }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 1.4K bytes
    - Click Count (0)
  4. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/IncubatingMissingRule.java

            super(params);
        }
    
        @Override
        public Violation maybeViolation(final JApiCompatibility member) {
            if (member instanceof JApiMethod || member instanceof JApiField || member instanceof JApiClass || member instanceof JApiConstructor) {
                if (!isIncubating((JApiHasAnnotations) member) && !isInject((JApiHasAnnotations) member)) {
                    return violationError(member);
                }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 1.7K bytes
    - Click Count (0)
  5. okhttp-zstd/src/test/java/okhttp3/zstd/ZstdInterceptorJavaTest.java

    import org.junit.jupiter.api.Test;
    
    class ZstdInterceptorJavaTest {
      @Test
      public void testConstructor() {
        CompressionInterceptor interceptor = new CompressionInterceptor(
          Zstd.INSTANCE,
          Gzip.INSTANCE,
          Brotli.INSTANCE
        );
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Aug 01 06:04:22 GMT 2025
    - 969 bytes
    - Click Count (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ChecksumAlgorithmService.java

            void update(@Nonnull ByteBuffer input);
    
            /**
             * Returns the algorithm end result as string, never {@code null}. After invoking this method, this instance should
             * be discarded and not reused. For new checksum calculation you have to get new instance.
             */
            @Nonnull
            String checksum();
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 10 20:52:34 GMT 2024
    - 6.4K bytes
    - Click Count (0)
  7. impl/maven-core/src/test/java/org/apache/maven/project/harness/Xpp3DomPointerFactory.java

            return 200;
        }
    
        @Override
        public NodePointer createNodePointer(QName name, Object object, Locale locale) {
            if (object instanceof org.codehaus.plexus.util.xml.Xpp3Dom xpp3Dom) {
                object = xpp3Dom.getDom();
            }
            if (object instanceof XmlNode xmlNode) {
                return new Xpp3DomNodePointer(xmlNode);
            }
            return null;
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2K bytes
    - Click Count (0)
  8. docs/metrics/prometheus/grafana/replication/minio-replication-cluster.json

              "exemplar": true,
              "expr": "minio_cluster_replication_proxied_head_requests_total{job=\"$scrape_jobs\"}",
              "interval": "1m",
              "intervalFactor": 2,
              "legendFormat": "{{instance}}",
              "range": true,
              "refId": "A"
            }
          ],
          "title": "Total Proxied Head Requests",
          "type": "timeseries"
        },
        {
          "datasource": {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Aug 04 01:46:49 GMT 2025
    - 71.2K bytes
    - Click Count (0)
  9. guava/src/com/google/common/graph/AbstractGraphBuilder.java

      Optional<Integer> expectedNodeCount = Optional.absent();
    
      /**
       * Creates a new instance with the specified edge directionality.
       *
       * @param directed if true, creates an instance for graphs whose edges are each directed; if
       *     false, creates an instance for graphs whose edges are each undirected.
       */
      AbstractGraphBuilder(boolean directed) {
        this.directed = directed;
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  10. api/maven-api-di/src/main/java/org/apache/maven/api/di/Scope.java

     * system. Custom scope annotations should be annotated with {@code @Scope}.
     * <p>
     * Built-in scopes include:
     * <ul>
     *   <li>{@link Singleton} - One instance per container</li>
     *   <li>{@link SessionScoped} - One instance per Maven session</li>
     *   <li>{@link MojoExecutionScoped} - One instance per plugin execution</li>
     * </ul>
     *
     * @see Singleton
     * @see SessionScoped
     * @see MojoExecutionScoped
     * @since 4.0.0
     */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jan 30 23:28:59 GMT 2025
    - 1.7K bytes
    - Click Count (0)
Back to Top