Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 991 - 1000 of 2,289 for setA (0.02 seconds)

  1. guava-testlib/test/com/google/common/collect/testing/OpenJdk6SetTests.java

    import static java.util.Arrays.asList;
    
    import java.lang.reflect.Method;
    import java.util.Collection;
    import java.util.Set;
    import junit.framework.Test;
    
    /**
     * Tests the {@link Set} implementations of {@link java.util}, suppressing tests that trip known
     * OpenJDK 6 bugs.
     *
     * @author Kevin Bourrillion
     */
    @AndroidIncompatible // test-suite builders
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 25 16:19:30 GMT 2025
    - 2K bytes
    - Click Count (0)
  2. tests/test_ambiguous_params.py

                pass  # pragma: nocover
    
        with pytest.raises(
            AssertionError,
            match=(
                "`Query` default value cannot be set in `Annotated` for 'item_id'. Set the"
                " default value with `=` instead."
            ),
        ):
    
            @app.get("/")
            async def get(item_id: Annotated[int, Query(default=1)]):
                pass  # pragma: nocover
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 2K bytes
    - Click Count (1)
  3. tensorflow/c/c_api_macros_internal.h

                                    "Expected initialized `" #STRUCT_NAME     \
                                    "` structure with `struct_size` field "   \
                                    "set to " #SIZE_VALUE_NAME                \
                                    ". Found `struct_size` = 0.");            \
        }                                                                     \
      } while (0)
    
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Mon Mar 13 17:40:56 GMT 2023
    - 2.5K bytes
    - Click Count (0)
  4. .github/workflows/stale-pr.yml

              ascending: true
              exempt-all-milestones: true
    
              # ISSUES (deactivated) ----------------------------------------------
              # This workflow should touch no issues, so times are set to -1
              # (see actions/stale documentation for the behavior)
              days-before-issue-stale: -1
              stale-issue-label: stale
              stale-issue-message: >
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Sep 04 22:13:29 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  5. build-logic/src/main/kotlin/okhttp.jvm-conventions.gradle.kts

    }
    fun version(alias: String) = libs.findVersion(alias).get().toString()
    
    extensions.configure<JavaPluginExtension> {
      toolchain {
        languageVersion.set(JavaLanguageVersion.of(21))
      }
    }
    
    // Introduce in a separate change
    //configureJavaCompatibility(javaVersion = 8)
    
    configureKotlinCompatibility(version = version("kotlinCoreLibrariesVersion"))
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Feb 09 14:40:26 GMT 2026
    - 1.4K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/base/CharMatcher.java

        // err on the side of BitSetMatcher
      }
    
      /** Sets bits in {@code table} matched by this matcher. */
      @GwtIncompatible // used only from other GwtIncompatible code
      void setBits(BitSet table) {
        for (int c = Character.MAX_VALUE; c >= Character.MIN_VALUE; c--) {
          if (matches((char) c)) {
            table.set(c);
          }
        }
      }
    
      // Text processing routines
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 53.9K bytes
    - Click Count (0)
  7. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy

        }
    
        Violation acceptOrReject(JApiCompatibility member, List<String> changes, Violation rejection) {
            Set<ApiChange> seenApiChanges = (Set<ApiChange>) context.userData["seenApiChanges"]
            Set<AccessorKey> seenOldAccessorsOfUpgradedProperties = (Set<AccessorKey>) context.userData[SEEN_OLD_REMOVED_ACCESSORS_OF_UPGRADED_PROPERTIES]
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Jan 22 12:18:18 GMT 2026
    - 10K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/SmbSessionImplTest.java

            when(transport.getContext()).thenReturn(cifsContext);
        }
    
        // Helper to set private fields for targeted edge cases
        private static void setField(Object target, String name, Object value) {
            try {
                Field f = target.getClass().getDeclaredField(name);
                f.setAccessible(true);
                f.set(target, value);
            } catch (Exception e) {
                throw new RuntimeException(e);
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  9. cmd/handler-api.go

    		return 0
    	}
    	if limit >= 100*humanize.TiByte {
    		// No limit set, or unreasonably high. Ignore
    		return 0
    	}
    	return limit
    }
    
    func availableMemory() (available uint64) {
    	available = 2048 * blockSizeV2 * 2 // Default to 4 GiB when we can't find the limits.
    
    	if runtime.GOOS == "linux" {
    		// Honor cgroup limits if set.
    		limit := cgroupMemLimit()
    		if limit > 0 {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/base/EnumsTest.java

            (Class<TestEnum>) Class.forName(TestEnum.class.getName(), false, shadowLoader);
        assertThat(shadowTestEnum).isNotEqualTo(TestEnum.class);
        // We can't write Set<TestEnum> because that is a Set of the TestEnum from the original
        // ClassLoader.
        Set<Object> shadowConstants = new HashSet<>();
        for (TestEnum constant : TestEnum.values()) {
          Optional<TestEnum> result = Enums.getIfPresent(shadowTestEnum, constant.name());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 01:05:11 GMT 2026
    - 8.4K bytes
    - Click Count (0)
Back to Top