Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 338 for instance (0.07 seconds)

  1. .teamcity/scripts/common.sh

    # https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html
    exit_if_not_on_ec2_instance() {
      curl -m 1 -s "http://169.254.169.254/latest/meta-data/instance-id"
      IS_EC2_INSTANCE=$?
      if [ $IS_EC2_INSTANCE -ne 0 ]; then
        echo "Not running on an EC2 instance, skipping the configuration"
        exit 0
      fi
    }
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Sun Oct 26 09:37:09 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  2. docs/en/docs/advanced/advanced-dependencies.md

    But we want to be able to parameterize that fixed content.
    
    ## A "callable" instance { #a-callable-instance }
    
    In Python there's a way to make an instance of a class a "callable".
    
    Not the class itself (which is already a callable), but an instance of that class.
    
    To do that, we declare a method `__call__`:
    
    {* ../../docs_src/dependencies/tutorial011_an_py39.py hl[12] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Nov 13 07:37:15 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  3. internal/grid/README.md

        instance := grid.NewStream[*Payload, *Req, *Resp](h, newPayload, newReq, newResp)
    
        // Tweakable options
        instance.WithPayload = true // default true when newPayload != nil
        instance.OutCapacity = 1    // default
        instance.InCapacity = 1     // default true when newReq != nil
    
        // Register the handler on the manager
        instance.Register(manager, handler, "asubroute")
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  4. docs/es/docs/advanced/advanced-dependencies.md

    ## Crear una instance { #create-an-instance }
    
    PodrĂ­amos crear una instance de esta clase con:
    
    {* ../../docs_src/dependencies/tutorial011_an_py39.py hl[18] *}
    
    Y de esa manera podemos "parametrizar" nuestra dependencia, que ahora tiene `"bar"` dentro de ella, como el atributo `checker.fixed_content`.
    
    ## Usar la instance como una dependencia { #use-the-instance-as-a-dependency }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/collect/EmptyImmutableTableTest.java

      public void testToString() {
        assertEquals("{}", INSTANCE.toString());
      }
    
      public void testSize() {
        assertEquals(0, INSTANCE.size());
      }
    
      public void testGet() {
        assertThat(INSTANCE.get('a', 1)).isNull();
      }
    
      public void testIsEmpty() {
        assertTrue(INSTANCE.isEmpty());
      }
    
      public void testCellSet() {
        assertEquals(ImmutableSet.of(), INSTANCE.cellSet());
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  6. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java

        /**
         * Creates a new XmlNode instance with the specified name.
         *
         * @param name the name for the new node
         * @return a new XmlNode instance
         * @throws NullPointerException if name is null
         */
        static XmlNode newInstance(String name) {
            return newBuilder().name(name).build();
        }
    
        /**
         * Creates a new XmlNode instance with the specified name and value.
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Dec 17 15:20:44 GMT 2025
    - 18.3K bytes
    - Click Count (0)
  7. tests/test_dependency_wrapped.py

            "/wrapped-class-instance-dependency/",
            "/wrapped-class-instance-async-dependency/",
            "/wrapped-class-instance-gen-dependency/",
            "/wrapped-class-instance-async-gen-dependency/",
            "/class-instance-wrapped-dependency/",
            "/class-instance-wrapped-async-dependency/",
            "/class-instance-async-wrapped-dependency/",
            "/class-instance-async-wrapped-async-dependency/",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

        for (queue in TaskRunner.INSTANCE.activeQueues()) {
          // We wait at most 1 second, so we don't ever turn multiple lost threads into
          // a test timeout failure.
          val waitTime = (entryTime + 1_000_000_000L - System.nanoTime())
          if (!queue.idleLatch().await(waitTime, TimeUnit.NANOSECONDS)) {
            TaskRunner.INSTANCE.withLock {
              TaskRunner.INSTANCE.cancelAll()
            }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionPool.kt

      internal val delegate: RealConnectionPool,
    ) {
      internal constructor(
        maxIdleConnections: Int = 5,
        keepAliveDuration: Long = 5,
        timeUnit: TimeUnit = TimeUnit.MINUTES,
        taskRunner: TaskRunner = TaskRunner.INSTANCE,
        connectionListener: ConnectionListener = ConnectionListener.NONE,
      ) : this(
        RealConnectionPool(
          taskRunner = taskRunner,
          maxIdleConnections = maxIdleConnections,
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Oct 07 21:55:03 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  10. cmd/metrics.go

    			Help:    "Time taken by requests served by current MinIO server instance",
    			Buckets: []float64{.05, .1, .25, .5, 1, 2.5, 5, 10},
    		},
    		[]string{"api"},
    	)
    	bucketHTTPRequestsDuration = prometheus.NewHistogramVec(
    		prometheus.HistogramOpts{
    			Name:    "s3_ttfb_seconds",
    			Help:    "Time taken by requests served by current MinIO server instance per bucket",
    			Buckets: []float64{.05, .1, .25, .5, 1, 2.5, 5, 10},
    		},
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 24 04:06:31 GMT 2025
    - 16.7K bytes
    - Click Count (0)
Back to Top