Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 391 for initializer (0.1 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/container/StandardCrawlerContainer.java

            protected Class<T> cls;
    
            protected Consumer<T> initializer;
    
            protected StandardCrawlerContainer container;
    
            private T instance;
    
            protected ComponentDef(final Class<T> cls, final Consumer<T> initializer, final StandardCrawlerContainer container) {
                this.cls = cls;
                this.initializer = initializer;
                this.container = container;
            }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/GenerateIdnaMappingTableCode.kt

      return FileSpec.builder(packageName, "IdnaMappingTableInstance")
        .addProperty(
          PropertySpec.builder("IDNA_MAPPING_TABLE", idnaMappingTable)
            .addModifiers(KModifier.INTERNAL)
            .initializer(
              """
              |%T(⇥
              |sections = "%L",
              |ranges = "%L",
              |mappings = "%L",
              |⇤)
              """.trimMargin(),
              idnaMappingTable,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/hash/LittleEndianByteArray.java

      }
    
      /**
       * The only reference to Unsafe is in this nested class. We set things up so that if
       * Unsafe.theUnsafe is inaccessible, the attempt to load the nested class fails, and the outer
       * class's static initializer can fall back on a non-Unsafe version.
       */
      @SuppressWarnings({"SunApi", "removal"}) // b/345822163
      private enum UnsafeByteArray implements LittleEndianBytes {
        // Do *not* change the order of these constants!
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

      }
    
      /**
       * Creates a new ArrayBasedUnicodeEscaper instance with the given replacement map and specified
       * safe range. If {@code safeMax < safeMin} then no code points are considered safe. This
       * initializer is useful when explicit instances of ArrayBasedEscaperMap are used to allow the
       * sharing of large replacement mappings.
       *
       * <p>If a code point has no mapped replacement then it is checked against the safe range. If it
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/reflect/Invokable.java

          } else {
            // Strictly, this doesn't necessarily indicate a hidden 'this' in the case of
            // static initializer. But there seems no way to tell in that case. :(
            // This may cause issues when an anonymous class is created inside a static initializer,
            // and the class's constructor's first parameter happens to be the enclosing class.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

            new LocalClassWithSeeminglyHiddenThisInStaticInitializer();
      }
    
      /**
       * This class demonstrates a bug in getParameters() when the local class is inside static
       * initializer.
       */
      private static class LocalClassWithSeeminglyHiddenThisInStaticInitializer {
        static {
          class Local {
            @SuppressWarnings("unused") // through reflection
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/reflect/InvokableTest.java

            new LocalClassWithSeeminglyHiddenThisInStaticInitializer();
      }
    
      /**
       * This class demonstrates a bug in getParameters() when the local class is inside static
       * initializer.
       */
      private static class LocalClassWithSeeminglyHiddenThisInStaticInitializer {
        static {
          class Local {
            @SuppressWarnings("unused") // through reflection
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.8.md

    * Action required: validation rule on metadata.initializers.pending[x].name is tightened. The initializer name needs to contain at least three segments separated by dots. If you create objects with pending initializers, (i.e., not relying on apiserver adding pending initializers according to initializerconfiguration), you need to update the initializer name in existing objects and in configuration files to comply to the new validation rule. ([#512...
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Tue Feb 20 15:45:02 UTC 2024
    - 312.2K bytes
    - Viewed (0)
  9. RELEASE.md

    *   RNG behavior change for `tf.keras.initializers`. Keras initializers will now
        use stateless random ops to generate random numbers.
        *   Both seeded and unseeded initializers will always generate the same
            values every time they are called (for a given variable shape). For
            unseeded initializers (`seed=None`), a random seed will be created and
            assigned at initializer creation (different initializer instances get
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Oct 22 14:33:53 UTC 2024
    - 735.3K bytes
    - Viewed (0)
  10. internal/cachevalue/cache.go

    // NewFromFunc allocates a new cached value instance and initializes it with an
    // update function, making it ready for use.
    func NewFromFunc[T any](ttl time.Duration, opts Opts, update func(ctx context.Context) (T, error)) *Cache[T] {
    	return &Cache[T]{
    		ttl:      ttl,
    		updateFn: update,
    		opts:     opts,
    	}
    }
    
    // InitOnce initializes the cache with a TTL and an update function. It is
    // guaranteed to be called only once.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 12:50:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top