Search Options

Results per page
Sort
Preferred Languages
Advance

Results 941 - 950 of 2,711 for create (0.14 sec)

  1. android/guava/src/com/google/common/hash/LongAddables.java

                @Override
                public LongAddable get() {
                  return new PureJavaLongAddable();
                }
              };
        }
        SUPPLIER = supplier;
      }
    
      public static LongAddable create() {
        return SUPPLIER.get();
      }
    
      private static final class PureJavaLongAddable extends AtomicLong implements LongAddable {
        @Override
        public void increment() {
          getAndIncrement();
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/collect/HashMultisetAddPresentBenchmark.java

      @BeforeExperiment
      void setUp() {
        Random random = new Random();
        multisets.clear();
        for (int i = 0; i < ARRAY_SIZE; i++) {
          HashMultiset<Integer> multiset = HashMultiset.<Integer>create();
          multisets.add(multiset);
          queries[i] = random.nextInt();
          multiset.add(queries[i]);
        }
      }
    
      @Benchmark
      int add(int reps) {
        int tmp = 0;
        for (int i = 0; i < reps; i++) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/opensearch/extension/analysis/PosConcatenationFilterFactory.java

            if (tagList != null) {
                posTags.addAll(tagList);
            }
        }
    
        @Override
        public TokenStream create(final TokenStream tokenStream) {
            final PartOfSpeechAttribute posAtt = tokenStream.addAttribute(PartOfSpeechAttribute.class);
            return new PosConcatenationFilter(tokenStream, posTags, () -> posAtt.getPartOfSpeech());
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/opensearch/extension/analysis/ReloadableKeywordMarkerFilterFactory.java

            } else {
                keywordPath = null;
            }
    
            reloadInterval = settings.getAsTime("reload_interval", TimeValue.timeValueMinutes(1)).getMillis();
        }
    
        @Override
        public TokenStream create(final TokenStream tokenStream) {
            if (keywordPath == null) {
                return tokenStream;
            }
            return new ReloadableKeywordMarkerFilter(tokenStream, keywordPath, reloadInterval);
        }
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sun May 18 02:59:16 UTC 2025
    - 2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/opensearch/extension/analysis/ReloadableStopFilterFactory.java

            ignoreCase = settings.getAsBoolean("ignore_case", false);
            reloadInterval = settings.getAsTime("reload_interval", TimeValue.timeValueMinutes(1)).getMillis();
        }
    
        @Override
        public TokenStream create(final TokenStream tokenStream) {
            if (stopwordPath == null) {
                return tokenStream;
            }
            return new ReloadableStopFilter(tokenStream, stopwordPath, ignoreCase, reloadInterval);
        }
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sun May 18 02:59:16 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java

      private Class<?> abstractFutureClass;
    
      @Override
      protected void setUp() throws Exception {
        // Load the "normal" copy of SettableFuture and related classes.
        SettableFuture<?> unused = SettableFuture.create();
        // Hack to load AbstractFuture et. al. in a new classloader so that it re-reads the cancellation
        // cause system property.  This allows us to run with both settings of the property in one jvm
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java

      private Class<?> abstractFutureClass;
    
      @Override
      protected void setUp() throws Exception {
        // Load the "normal" copy of SettableFuture and related classes.
        SettableFuture<?> unused = SettableFuture.create();
        // Hack to load AbstractFuture et. al. in a new classloader so that it re-reads the cancellation
        // cause system property.  This allows us to run with both settings of the property in one jvm
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/body.md

    ///
    
    ## Import Pydantic's `BaseModel` { #import-pydantics-basemodel }
    
    First, you need to import `BaseModel` from `pydantic`:
    
    {* ../../docs_src/body/tutorial001_py310.py hl[2] *}
    
    ## Create your data model { #create-your-data-model }
    
    Then you declare your data model as a class that inherits from `BaseModel`.
    
    Use standard Python types for all the attributes:
    
    {* ../../docs_src/body/tutorial001_py310.py hl[5:9] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:58:56 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

       */
      public static <K extends @Nullable Object, V extends @Nullable Object>
          LinkedHashMultimap<K, V> create(Multimap<? extends K, ? extends V> multimap) {
        LinkedHashMultimap<K, V> result = create(multimap.keySet().size(), DEFAULT_VALUE_SET_CAPACITY);
        result.putAll(multimap);
        return result;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  10. maven-tests/mvnw.cmd

    @SET __MVNW_PSMODULEP_SAVE=%PSModulePath%
    @SET PSModulePath=
    @FOR /F "usebackq tokens=1* delims==" %%A IN (`powershell -noprofile "& {$scriptDir='%~dp0'; $script='%__MVNW_ARG0_NAME__%'; icm -ScriptBlock ([Scriptblock]::Create((Get-Content -Raw '%~f0'))) -NoNewScope}"`) DO @(
      IF "%%A"=="MVN_CMD" (set __MVNW_CMD__=%%B) ELSE IF "%%B"=="" (echo %%A) ELSE (echo %%A=%%B)
    )
    @SET PSModulePath=%__MVNW_PSMODULEP_SAVE%
    @SET __MVNW_PSMODULEP_SAVE=
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 12 12:05:57 UTC 2025
    - 6.8K bytes
    - Viewed (0)
Back to top