Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 1,890 for instance (0.05 sec)

  1. docs/es/docs/tutorial/dependencies/classes-as-dependencies.md

    entonces es un "callable".
    
    ## Clases como dependencias
    
    Puedes notar que para crear una instance de una clase en Python, utilizas esa misma sintaxis.
    
    Por ejemplo:
    
    ```Python
    class Cat:
        def __init__(self, name: str):
            self.name = name
    
    
    fluffy = Cat(name="Mr Fluffy")
    ```
    
    En este caso, `fluffy` es una instance de la clase `Cat`.
    
    Y para crear `fluffy`, estás "llamando" a `Cat`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/cache/RequestCacheFactory.java

    /**
     * Factory interface for creating new RequestCache instances.
     * Implementations should handle the creation and configuration of cache instances
     * based on the current Maven session and environment.
     *
     * @since 4.0.0
     * @see RequestCache
     */
    @Experimental
    public interface RequestCacheFactory {
    
        /**
         * Creates a new RequestCache instance.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/escape/super/com/google/common/escape/Platform.java

      private static final char[] CHAR_BUFFER = new char[1024];
    
      static char[] charBufferFromThreadLocal() {
        // ThreadLocal is not available to GWT, so we always reuse the same
        // instance.  It is always safe to return the same instance because
        // javascript is single-threaded, and only used by blocks that doesn't
        // involve async callbacks.
        return CHAR_BUFFER;
      }
    
      private Platform() {}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/Shorts.java

       * moved to index "distance", and the element at index {@code i} ends up at index {@code (distance
       * + i) mod array.length}. This is equivalent to {@code Collections.rotate(Shorts.asList(array),
       * distance)}, but is considerably faster and avoids allocation and garbage collection.
       *
       * <p>The provided "distance" may be negative, which will rotate left.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/primitives/Shorts.java

       * moved to index "distance", and the element at index {@code i} ends up at index {@code (distance
       * + i) mod array.length}. This is equivalent to {@code Collections.rotate(Shorts.asList(array),
       * distance)}, but is considerably faster and avoids allocation and garbage collection.
       *
       * <p>The provided "distance" may be negative, which will rotate left.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java

                assertNotSame(impl, renewed, "renew() should return a different instance");
                assertTrue(renewed instanceof SmbRenewableCredentials, "renewed credentials should still be SmbRenewableCredentials");
            } else {
                assertNull(renewed, "renew() may return null for failed renewal");
            }
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactory.java

        /**
         * Creates a new object instance from the crawler container.
         * @return A new instance of the component specified by componentName
         * @throws Exception if the component cannot be created
         */
        @Override
        public T create() throws Exception {
            return (T) crawlerContainer.getComponent(componentName);
        }
    
        /**
         * Wraps an object instance into a pooled object.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  8. buildscripts/minio-iam-ldap-upgrade-import-test.sh

    #!/bin/bash
    
    # This script is used to test the migration of IAM content from old minio
    # instance to new minio instance.
    #
    # To run it locally, start the LDAP server in github.com/minio/minio-iam-testing
    # repo (e.g. make podman-run), and then run this script.
    #
    # This script assumes that LDAP server is at:
    #
    #   `localhost:389`
    #
    # if this is not the case, set the environment variable
    # `_MINIO_LDAP_TEST_SERVER`.
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Nov 11 15:01:29 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrConnect2Test.java

                // Act
                MsrpcSamrConnect2 msg = new MsrpcSamrConnect2(systemName, accessMask, ph);
    
                // Assert - instance should be created and extend proper class
                assertNotNull(msg);
                assertTrue(msg instanceof samr.SamrConnect2);
                assertTrue(msg instanceof DcerpcMessage);
            }
        }
    
        @Nested
        @DisplayName("Edge case handling")
        class EdgeCases {
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/testing/EqualsTester.java

              item.hashCode(),
              item.hashCode());
          if (!(item instanceof String)) {
            assertTrue(
                item + " must not be Object#equals to its Object#toString representation",
                !item.equals(item.toString()));
          }
        }
      }
    
      /**
       * Class used to test whether equals() correctly handles an instance of an incompatible class.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.1K bytes
    - Viewed (0)
Back to top