Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 17 for isMac (0.02 seconds)

  1. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/JdkDownloadPluginFuncTest.groovy

            if (vendor.equals(VENDOR_ADOPTIUM)) {
                final String module = isMac(platform) ? "mac" : platform;
                return "/jdk-" + version + "/" + module + "/${arch}/jdk/hotspot/normal/adoptium";
            } else if (vendor.equals(VENDOR_OPENJDK)) {
                final String effectivePlatform = isMac(platform) ? "osx" : platform;
                final boolean isOld = version.equals(OPENJDK_VERSION_OLD);
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 27 19:29:10 GMT 2021
    - 10.5K bytes
    - Click Count (0)
  2. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/info/ParallelDetector.java

                    } catch (IOException e) {
                        throw new UncheckedIOException(e);
                    }
                    _defaultParallel = socketToCore.values().stream().mapToInt(i -> i).sum();
                } else if (isMac(project.getProviders())) {
                    // Ask macOS to count physical CPUs for us
                    ByteArrayOutputStream stdout = new ByteArrayOutputStream();
                    project.exec(spec -> {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Aug 09 07:39:30 GMT 2021
    - 3.6K bytes
    - Click Count (0)
  3. internal/s3select/sql/jsondata/books.json

                "publisher": "Harper Collins",
                "type": "Paperback",
                "pages": 265
            }
        ]
    }
    {
        "title": "The Robots of Dawn",
        "authorInfo": {
            "name": "Isaac Asimov",
            "yearRange": [1920, 1992],
            "penName": "Paul French"
        },
        "genre": "Science fiction",
        "publicationHistory": [
            {
                "year": 1983,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 1.9K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/collect/MapsTransformValuesTest.java

    import com.google.common.base.Functions;
    import java.util.HashMap;
    import java.util.Map;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Tests for {@link Maps#transformValues(Map, Function)}.
     *
     * @author Isaac Shum
     */
    @GwtCompatible
    @NullMarked
    public class MapsTransformValuesTest extends AbstractMapsTransformValuesTest {
      @Override
      protected Map<String, String> makeEmptyMap() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  5. docs_src/query_params_str_validations/tutorial015_an_py310.py

    from pydantic import AfterValidator
    
    app = FastAPI()
    
    data = {
        "isbn-9781529046137": "The Hitchhiker's Guide to the Galaxy",
        "imdb-tt0371724": "The Hitchhiker's Guide to the Galaxy",
        "isbn-9781439512982": "Isaac Asimov: The Complete Stories, Vol. 2",
    }
    
    
    def check_valid_id(id: str):
        if not id.startswith(("isbn-", "imdb-")):
            raise ValueError('Invalid ID format, it must start with "isbn-" or "imdb-"')
        return id
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 01 22:02:35 GMT 2025
    - 768 bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/collect/MapsTransformValuesTest.java

    import com.google.common.base.Functions;
    import java.util.HashMap;
    import java.util.Map;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Tests for {@link Maps#transformValues(Map, Function)}.
     *
     * @author Isaac Shum
     */
    @GwtCompatible
    @NullMarked
    public class MapsTransformValuesTest extends AbstractMapsTransformValuesTest {
      @Override
      protected Map<String, String> makeEmptyMap() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  7. internal/s3select/sql/jsonpath_test.go

    		{"s.authorInfo.yearRange", []any{[]any{1890.0, 1976.0}, []any{1920.0, 1992.0}, []any{1881.0, 1975.0}}},
    		{"s.authorInfo.name", []any{"Agatha Christie", "Isaac Asimov", "P. G. Wodehouse"}},
    		{"s.authorInfo.yearRange[0]", []any{1890.0, 1920.0, 1881.0}},
    		{"s.publicationHistory[0].pages", []any{256.0, 336.0, Missing{}}},
    	}
    	for i, tc := range cases {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/util/concurrent/ForwardingListeningExecutorService.java

     * default} methods. Instead, it inherits their default implementations. When those implementations
     * invoke methods, they invoke methods on the {@code ForwardingListeningExecutorService}.
     *
     * @author Isaac Shum
     * @since 10.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public abstract class ForwardingListeningExecutorService extends ForwardingExecutorService
        implements ListeningExecutorService {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/util/concurrent/Callables.java

    import com.google.common.base.Supplier;
    import java.util.concurrent.Callable;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Static utility methods pertaining to the {@link Callable} interface.
     *
     * @author Isaac Shum
     * @since 1.0
     */
    @GwtCompatible
    public final class Callables {
      private Callables() {}
    
      /** Creates a {@code Callable} which immediately returns a preset value each time it is called. */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/CallablesTest.java

    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Unit tests for {@link Callables}.
     *
     * @author Isaac Shum
     */
    @GwtCompatible
    @NullUnmarked
    public class CallablesTest extends TestCase {
    
      @J2ktIncompatible // TODO(b/324550390): Enable
      public void testReturning() throws Exception {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 4K bytes
    - Click Count (0)
Back to Top