Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 381 - 390 of 1,052 for supply (0.05 seconds)

  1. docs/en/docs/advanced/advanced-python-types.md

    ```Python
    say_hi(name=None)  # This works, None is valid 🎉
    ```
    
    The good news is, in most cases, you will be able to simply use `|` to define unions of types:
    
    ```python
    def say_hi(name: str | None):
        print(f"Hey {name}!")
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:32:12 GMT 2026
    - 2K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rerun/TestRerunPlugin.java

        private final ObjectFactory objectFactory;
    
        @Inject
        TestRerunPlugin(ObjectFactory objectFactory) {
            this.objectFactory = objectFactory;
        }
    
        @Override
        public void apply(Project project) {
            project.getTasks().withType(Test.class).configureEach(task -> configureTestTask(task, objectFactory));
        }
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 1.1K bytes
    - Click Count (0)
  3. guava/src/com/google/common/base/Equivalence.java

       * non-null objects {@code x} and {@code y}, {@code equivalence.onResultOf(function).equivalent(a,
       * b)} is true if and only if {@code equivalence.equivalent(function.apply(a), function.apply(b))}
       * is true.
       *
       * <p>For example:
       *
       * {@snippet :
       * Equivalence<Person> SAME_AGE = Equivalence.equals().onResultOf(GET_PERSON_AGE);
       * }
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jul 10 01:47:55 GMT 2025
    - 15K bytes
    - Click Count (0)
  4. ci/official/utilities/convert_msys_paths_to_win_paths.py

          continue
    
        # In Python, MSYS, Linux-like paths are automatically read as Windows paths
        # with forward slashes, e.g. 'C:/Program Files', instead of
        # '/c/Program Files', thus becoming converted simply by virtue of having
        # been read.
        converted_vars[var] = value
    
      var_str = '\n'.join(f'{k}="{v}"'
                          for k, v in converted_vars.items())
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Aug 07 23:01:25 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  5. build-tools-internal/src/integTest/resources/org/elasticsearch/gradle/internal/fake_git/remote/distribution/archives/build.gradle

     * 2.0 and the Server Side Public License, v 1; you may not use this file except
     * in compliance with, at your election, the Elastic License 2.0 or the Server
     * Side Public License, v 1.
     */
    
    subprojects {
        apply plugin:'base'
        tasks.register('tar', Tar) {
            from('.')
            destinationDirectory.set(file('build/distributions'))
            archiveBaseName.set("elasticsearch${project.name.startsWith('oss')?'-oss':''}")
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 1.2K bytes
    - Click Count (0)
  6. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/Dispatcher.kt

     */
    package okhttp3.mockwebserver
    
    abstract class Dispatcher {
      @Throws(InterruptedException::class)
      abstract fun dispatch(request: RecordedRequest): MockResponse
    
      open fun peek(): MockResponse = MockResponse().apply { this.socketPolicy = SocketPolicy.KEEP_OPEN }
    
      open fun shutdown() {}
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 894 bytes
    - Click Count (0)
  7. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/InternalTestArtifactBasePlugin.java

        @Inject
        public InternalTestArtifactBasePlugin(ProviderFactory providerFactory) {
            this.providerFactory = providerFactory;
        }
    
        @Override
        public void apply(Project project) {
            project.getExtensions().create("testArtifacts", InternalTestArtifactExtension.class, project, providerFactory);
        }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 991 bytes
    - Click Count (0)
  8. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/PublishPluginFuncTest.groovy

            // scm info only added for internal builds
            internalBuild()
            buildFile << """
                BuildParams.init { it.setGitOrigin("https://some-repo.com/repo.git") }
    
                apply plugin:'elasticsearch.java'
                apply plugin:'elasticsearch.publish'
    
                version = "1.0"
                group = 'org.acme'        
                description = "just a test project"
                
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 22 07:24:59 GMT 2021
    - 19K bytes
    - Click Count (0)
  9. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/model/ReleasedVersion.kt

    import java.util.TimeZone
    
    
    data class ReleasedVersion(val version: String, val buildTime: String) {
        fun gradleVersion() = GradleVersion.version(version)
        fun buildTimeStamp(): Date = SimpleDateFormat("yyyyMMddHHmmssZ").apply { timeZone = TimeZone.getTimeZone("UTC") }.parse(buildTime)
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 1K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/helper/SuggestHelperTest.java

            }
    
            public void deleteElevateWord(String word, boolean apply) {
                // Mock implementation
            }
    
            public void addElevateWord(org.codelibs.fess.suggest.entity.ElevateWord elevateWord, boolean apply) {
                // Mock implementation
            }
    
            public void addBadWord(String word, boolean apply) {
                // Mock implementation
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 16.3K bytes
    - Click Count (0)
Back to Top