Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 492 for require (0.21 sec)

  1. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultTypeRegistry.java

                    usedTypes.clear();
                }
            }
        }
    
        @Override
        public Optional<Type> lookup(String id) {
            return Optional.of(require(id));
        }
    
        @Override
        @Nonnull
        public Type require(String id) {
            nonNull(id, "id");
            return usedTypes.computeIfAbsent(id, i -> {
                Type type = types.get(id);
                if (type == null) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/-ResponseCommon.kt

      }
    
    private fun checkSupportResponse(
      name: String,
      response: Response?,
    ) {
      response?.apply {
        require(networkResponse == null) { "$name.networkResponse != null" }
        require(cacheResponse == null) { "$name.cacheResponse != null" }
        require(priorResponse == null) { "$name.priorResponse != null" }
      }
    }
    
    fun Response.Builder.commonPriorResponse(priorResponse: Response?) =
      apply {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 15 13:24:48 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  3. .cm/plugins/filters/byCodeowner/index.js

     * @returns {Map} - Map from owner name to list of files they own
     * @example {{ files | byCodeowner(pr, env.CODEOWNERS_TOKEN, '.github/CODEOWNERS') }}
     **/
    
    const { Octokit } = require("@octokit/rest");
    const ignore = require('./ignore/index.js');
    
    async function loadCodeownersFile(owner, repo, auth, pathToCodeOwners) {
        const octokit = new Octokit({
            request: { fetch },
            auth,
        });
    
    JavaScript
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Apr 22 19:12:32 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/FakeRoutePlanner.kt

      override fun isCanceled() = canceled
    
      override fun plan(): FakePlan {
        // Return deferred plans preferentially. These don't require addPlan().
        if (deferredPlans.isNotEmpty()) return deferredPlans.removeFirst() as FakePlan
    
        if (nextPlanIndex >= plans.size && autoGeneratePlans) addPlan()
    
        require(nextPlanIndex < plans.size) {
          "not enough plans! call addPlan() or set autoGeneratePlans=true in the test to set this up"
        }
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 24 04:40:49 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  5. manifests/addons/values-kiali.yaml

      accessible_namespaces:
      - '**'
      ingress_enabled: false
    login_token:
      signing_key: CHANGEME00000000
    external_services:
      # Kiali will not start up without tracing service. We don't want to require it.
      tracing:
    Others
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 09 21:40:53 GMT 2024
    - 385 bytes
    - Viewed (0)
  6. .cm/complex_changes.cm

      - commit
      - comment_added
    
    automations:
    
      # If a PR is very complex, require 2 approvals
      complex_changes:
        if:
          - {{ ('complex_changes' | isEnabledAutomation(pr)) }}
          - {{ branch | estimatedReviewTime >= 40 }}
          - {{ files | length >= 35 }}
          - {{ includes_src_changes }}
        run:
          - action: set-required-approvals@v1
            args:
              approvals: 2
    
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  7. .cm/plugins/filters/isEnabledAutomation/index.js

    const enabled = new Map();
    
    // Require Opt-In/User Request/Community PR
    enabled.set('includes_todos', ['community', 'tresat']);
    enabled.set('javadoc_on_new_files', ['community', 'tresat']);
    enabled.set('lacks_tests', ['community', 'tresat']);
    enabled.set('summary_table_owners', ['tresat']);
    enabled.set('summary_table_platforms', ['community', 'tresat']);
    
    // Require Opt-In/User Request
    enabled.set('code_experts', []);
    
    // Always run
    JavaScript
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/Dispatcher.kt

       * If more than [maxRequests] requests are in flight when this is invoked, those requests will
       * remain in flight.
       */
      var maxRequests = 64
        get() = this.withLock { field }
        set(maxRequests) {
          require(maxRequests >= 1) { "max < 1: $maxRequests" }
          this.withLock {
            field = maxRequests
          }
          promoteAndExecute()
        }
    
      /**
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 9K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/TypeRegistry.java

         * create a custom {@code Type} for it.
         *
         * @param id the id of the type to retrieve
         * @return the type
         */
        @Nonnull
        @Override
        default Type require(@Nonnull String id) {
            return lookup(id).orElseThrow(() -> new IllegalArgumentException("Unknown extensible enum value '" + id + "'"));
        }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirResolveExtensionInfoProvider.kt

        }
    }
    
    private class KtFirResolveExtensionScope(
        private val analysisSession: KtFirAnalysisSession,
        private val tools: List<LLFirResolveExtensionTool>,
    ) : KtScope {
        init {
            require(tools.isNotEmpty())
        }
    
        override val token: KtLifetimeToken get() = analysisSession.token
    
        override fun getCallableSymbols(nameFilter: KtScopeNameFilter): Sequence<KtCallableSymbol> = withValidityAssertion {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:47 GMT 2024
    - 5.6K bytes
    - Viewed (0)
Back to top