Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 4441 - 4450 of 6,702 for If (0.03 seconds)

  1. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/TestingConventionRule.java

            return baseClasses;
        }
    
        public Set<Pattern> getTaskNames() {
            return taskNames;
        }
    
        @Override
        public boolean equals(Object o) {
            if (this == o) return true;
            if (o == null || getClass() != o.getClass()) return false;
            TestingConventionRule that = (TestingConventionRule) o;
            return Objects.equals(suffix, that.suffix);
        }
    
        @Override
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 2.4K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/testing/RelationshipTester.java

              if (itemNumber != relatedItemNumber) {
                assertRelated(groupNumber, itemNumber, relatedItemNumber);
              }
            }
            // check unrelated items in all other groups
            for (int unrelatedGroupNumber = 0;
                unrelatedGroupNumber < groups.size();
                unrelatedGroupNumber++) {
              if (groupNumber != unrelatedGroupNumber) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java

        sort(entries, Helpers.entryComparator(navigableMap.comparator()));
    
        // some tests assume SEVERAL == 3
        if (entries.size() >= 1) {
          a = entries.get(0);
          if (entries.size() >= 3) {
            c = entries.get(2);
          }
        }
      }
    
      @CollectionSize.Require(ZERO)
      public void testEmptyMapFirst() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/cache/ReflectionFreeAssertThrows.java

        if (predicate == null) {
          throw new IllegalArgumentException(
              expectedThrowable
                  + " is not yet supported by ReflectionFreeAssertThrows. Add an entry for it in the"
                  + " map in that class.");
        }
        Object result;
        try {
          result = supplier.get();
        } catch (Throwable t) {
          if (predicate.apply(t)) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  5. docs/en/docs/tutorial/body-updates.md

    {* ../../docs_src/body_updates/tutorial001_py310.py hl[28:33] *}
    
    `PUT` is used to receive data that should replace the existing data.
    
    ### Warning about replacing { #warning-about-replacing }
    
    That means that if you want to update the item `bar` using `PUT` with a body containing:
    
    ```Python
    {
        "name": "Barz",
        "price": 3,
        "description": None,
    }
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4K bytes
    - Click Count (0)
  6. docs/en/docs/advanced/response-directly.md

    When you create a **FastAPI** *path operation* you can normally return any data from it: a `dict`, a `list`, a Pydantic model, a database model, etc.
    
    If you declare a [Response Model](../tutorial/response-model.md) FastAPI will use it to serialize the data to JSON, using Pydantic.
    
    If you don't declare a response model, FastAPI will use the `jsonable_encoder` explained in [JSON Compatible Encoder](../tutorial/encoder.md) and put it in a `JSONResponse`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/resources/forbidden/es-all-signatures.txt

    java.nio.channels.SocketChannel#connect(java.net.SocketAddress)
    
    # This method is misleading, and uses lenient boolean parsing under the hood. If you intend to parse
    # a system property as a boolean, use
    # org.elasticsearch.core.Booleans#parseBoolean(java.lang.String) on the result of
    # java.lang.SystemProperty#getProperty(java.lang.String) instead. If you were not intending to parse
    # a system property as a boolean, but instead parse a string to a boolean, use
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 01 15:21:26 GMT 2021
    - 3.8K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java

            AtomicInteger stackTraceCount = new AtomicInteger(0);
    
            Consumer<String> countingConsumer = line -> {
                if (line.startsWith("Thread:")) {
                    threadCount.incrementAndGet();
                } else if (line.startsWith("\tat ")) {
                    stackTraceCount.incrementAndGet();
                }
            };
    
            ThreadDumpUtil.processThreadDump(countingConsumer);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 15.6K bytes
    - Click Count (0)
  9. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/FilePermissionsTask.java

            if (Os.isFamily(Os.FAMILY_WINDOWS)) {
                throw new StopExecutionException();
            }
            List<String> failures = getFiles().getFiles()
                .stream()
                .filter(FilePermissionsTask::isExecutableFile)
                .map(file -> "Source file is executable: " + file)
                .collect(Collectors.toList());
    
            if (failures.isEmpty() == false) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 3.9K bytes
    - Click Count (0)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableBiMap.java

          if (map.isEmpty()) {
            return of();
          }
          return new RegularImmutableBiMap<K, V>(super.buildOrThrow());
        }
    
        @Override
        ImmutableBiMap<K, V> buildJdkBacked() {
          return build();
        }
      }
    
      public static <K, V> ImmutableBiMap<K, V> copyOf(Map<? extends K, ? extends V> map) {
        if (map instanceof ImmutableBiMap) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 06 18:32:41 GMT 2025
    - 7.1K bytes
    - Click Count (0)
Back to Top