Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 501 - 510 of 2,289 for setA (0.06 seconds)

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

      }
    
      private static Set<Feature<?>> computeReserializedMapFeatures(Set<Feature<?>> mapFeatures) {
        Set<Feature<?>> derivedFeatures = copyToSet(mapFeatures);
        derivedFeatures.remove(CollectionFeature.SERIALIZABLE);
        derivedFeatures.remove(CollectionFeature.SERIALIZABLE_INCLUDING_VIEWS);
        return derivedFeatures;
      }
    
      private static Set<Feature<?>> computeEntrySetFeatures(Set<Feature<?>> mapFeatures) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/BiMapTestSuiteBuilder.java

                  .withTearDown(parentBuilder.getTearDown())
                  .createTestSuite());
        }
    
        return derived;
      }
    
      private static Set<Feature<?>> computeInverseFeatures(Set<Feature<?>> mapFeatures) {
        Set<Feature<?>> inverseFeatures = new HashSet<>(mapFeatures);
    
        boolean nullKeys = inverseFeatures.remove(MapFeature.ALLOWS_NULL_KEYS);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Oct 30 16:15:19 GMT 2024
    - 6.8K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/curl/CurlRequestTest.java

        }
    
        @Test
        public void testGzipSetsCompressionToGzip() {
            CurlRequest request = new CurlRequest(Method.GET, "https://example.com");
    
            // Call gzip() and verify it sets compression
            request.gzip();
    
            // We can't directly access compression field, but we can verify the method returns this
            assertSame(request, request.gzip());
        }
    
        @Test
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 24.7K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/MinimalSet.java

        super(type, true, contents);
      }
    
      /*
       * equals() and hashCode() are more specific in the Set contract.
       */
    
      @Override
      public boolean equals(@Nullable Object object) {
        if (object instanceof Set) {
          Set<?> that = (Set<?>) object;
          return (this.size() == that.size()) && this.containsAll(that);
        }
        return false;
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.8K bytes
    - Click Count (0)
  5. guava-testlib/src/com/google/common/collect/testing/MinimalSet.java

        super(type, true, contents);
      }
    
      /*
       * equals() and hashCode() are more specific in the Set contract.
       */
    
      @Override
      public boolean equals(@Nullable Object object) {
        if (object instanceof Set) {
          Set<?> that = (Set<?>) object;
          return (this.size() == that.size()) && this.containsAll(that);
        }
        return false;
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.8K bytes
    - Click Count (0)
  6. docs/debugging/xattr/main.go

    	flag.Uint64Var(&value, "value", 0, "attribute value expects the value to be uint64")
    	flag.BoolVar(&set, "set", false, "this is a set attribute operation")
    
    	flag.Parse()
    
    	if set && value == 0 {
    		log.Fatalln("setting an attribute requires a non-zero value")
    	}
    
    	if !set && value > 0 {
    		log.Fatalln("to set a value please specify --set along with --value")
    	}
    
    	table := tablewriter.NewWriter(os.Stdout)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Dec 29 23:52:41 GMT 2023
    - 3.2K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/extension/internal/CoreExtensionEntry.java

     * Maven core itself or a Maven core extension.
     *
     * @since 3.3.0
     */
    public class CoreExtensionEntry {
        private final ClassRealm realm;
    
        private final Set<String> artifacts;
    
        private final Set<String> packages;
    
        private final String key;
    
        private final XmlNode configuration;
    
        public CoreExtensionEntry(
                ClassRealm realm,
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  8. cmd/metrics-v3-system-cpu.go

    	if cpuMetrics.LoadStat != nil {
    		m.Set(sysCPULoad, cpuMetrics.LoadStat.Load1)
    		perc := cpuMetrics.LoadStat.Load1 * 100 / float64(cpuMetrics.CPUCount)
    		m.Set(sysCPULoadPerc, math.Round(perc*100)/100)
    	}
    
    	ts := cpuMetrics.TimesStat
    	if ts != nil {
    		tot := ts.User + ts.System + ts.Idle + ts.Iowait + ts.Nice + ts.Steal
    		cpuUserVal := math.Round(ts.User/tot*100*100) / 100
    		m.Set(sysCPUUser, cpuUserVal)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Jun 20 17:55:03 GMT 2024
    - 3K bytes
    - Click Count (0)
  9. fastapi/encoders.py

                        return encoder_instance(obj)
        if include is not None and not isinstance(include, (set, dict)):
            include = set(include)  # type: ignore[assignment]  # ty: ignore[unused-ignore-comment]
        if exclude is not None and not isinstance(exclude, (set, dict)):
            exclude = set(exclude)  # type: ignore[assignment]  # ty: ignore[unused-ignore-comment]
        if isinstance(obj, BaseModel):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleKotlinDslReferencePlugin.java

                    task.getGeneratedClasses().set(project.getLayout().getBuildDirectory().dir("gradle-kotlin-dsl-extensions/classes"));
                });
    
            NamedDomainObjectContainer<DokkaSourceSetSpec> kotlinSourceSet = getDokkaExtension(project).getDokkaSourceSets();
            kotlinSourceSet.register("kotlin_dsl", spec -> {
                spec.getDisplayName().set("DSL");
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed May 28 11:34:42 GMT 2025
    - 7.4K bytes
    - Click Count (0)
Back to Top