Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 861 - 870 of 2,289 for setA (0.03 seconds)

  1. android/guava-testlib/src/com/google/common/collect/testing/ListTestSuiteBuilder.java

        }
    
        @Override
        public Iterable<E> order(List<E> insertionOrder) {
          return gen.order(insertionOrder);
        }
      }
    
      private static Set<Feature<?>> computeReserializedCollectionFeatures(Set<Feature<?>> features) {
        Set<Feature<?>> derivedFeatures = new HashSet<>(features);
        derivedFeatures.remove(SERIALIZABLE);
        derivedFeatures.remove(SERIALIZABLE_INCLUDING_VIEWS);
        return derivedFeatures;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/math/DoubleUtils.java

        /*
         * We round up if either the fractional part of signif is strictly greater than 0.5 (which is
         * true if the 0.5 bit is set and any lower bit is set), or if the fractional part of signif is
         * >= 0.5 and signifFloor is odd (which is true if both the 0.5 bit and the 1 bit are set).
         */
        boolean increment =
            (twiceSignifFloor & 1) != 0 && ((signifFloor & 1) != 0 || absX.getLowestSetBit() < shift);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 04:51:56 GMT 2026
    - 5K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/collect/ImmutableListCopyOfConcurrentlyModifiedInputTest.java

              final Set<List<Integer>> allStates = new HashSet<>();
    
              @Override
              public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
                return method.equals(getAllStatesMethod)
                    ? getAllStates()
                    : invokeListMethod(method, args);
              }
    
              private Set<List<Integer>> getAllStates() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  4. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/Jdk.java

            if (ALLOWED_VENDORS.contains(vendor) == false) {
                throw new IllegalArgumentException("unknown vendor [" + vendor + "] for jdk [" + name + "], must be one of " + ALLOWED_VENDORS);
            }
            this.vendor.set(vendor);
        }
    
        public String getVersion() {
            return version.get();
        }
    
        public void setVersion(String version) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 27 19:29:10 GMT 2021
    - 6.8K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/TreeMultiset.java

       * calls the comparator to compare the two keys. If that change is made,
       * AbstractMultiset.equals() can simply check whether two multisets have equal entry sets.
       */
    
      /**
       * @serialData the comparator, the number of distinct elements, the first element, its count, the
       *     second element, its count, and so on
       */
      @GwtIncompatible
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 34K bytes
    - Click Count (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleJavadocsPlugin.java

            });
        }
    
        private static class DeduplicatePackageInfoFiles implements Spec<File> {
    
            private final Pattern pattern = Pattern.compile("package\\s*([^;\\s]+)\\s*;");
    
            private final Set<String> packagesSeenBefore = new HashSet<>();
            private final Set<File> canonicalPackageInfos = new HashSet<>();
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Sun Mar 01 05:52:34 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/ResponseBodyJvmTest.kt

              val source = Buffer().writeUtf8("hello")
              return object : ForwardingSource(source) {
                @Throws(IOException::class)
                override fun close() {
                  closed.set(true)
                  super.close()
                }
              }.buffer()
            }
          }
        assertThat(body.string()).isEqualTo("hello")
        assertThat(closed.get()).isTrue()
      }
    
      @Test
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

            try {
                Field field = findField(obj.getClass(), fieldName);
                field.setAccessible(true);
                field.set(obj, value);
            } catch (Exception e) {
                throw new RuntimeException("Failed to set field " + fieldName, e);
            }
        }
    
        private Object getFieldValue(Object obj, String fieldName) {
            try {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  9. docs_src/path_operation_configuration/tutorial002_py310.py

    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
        tags: set[str] = set()
    
    
    @app.post("/items/", tags=["items"])
    async def create_item(item: Item) -> Item:
        return item
    
    
    @app.get("/items/", tags=["items"])
    async def read_items():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 04 12:07:26 GMT 2026
    - 524 bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/features/MapFeature.java

       * but one.
       */
      REJECTS_DUPLICATES_AT_CREATION,
    
      GENERAL_PURPOSE(SUPPORTS_PUT, SUPPORTS_REMOVE);
    
      private final Set<Feature<? super Map>> implied;
    
      MapFeature(Feature<? super Map>... implied) {
        this.implied = copyToSet(implied);
      }
    
      @Override
      public Set<Feature<? super Map>> getImpliedFeatures() {
        return implied;
      }
    
      @Retention(RetentionPolicy.RUNTIME)
      @Inherited
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 30 16:59:10 GMT 2025
    - 3K bytes
    - Click Count (0)
Back to Top