Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 320 for ForEach (0.05 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt

          }
        }
    
        fun rethrowIfNotExpected(e: Throwable) {
          versionChecks.forEach { (versionMatcher, failureMatcher) ->
            if (versionMatcher.matches(PlatformVersion) && failureMatcher.matches(e)) {
              return
            }
          }
    
          throw e
        }
    
        fun failIfExpected() {
          versionChecks.forEach { (versionMatcher, failureMatcher) ->
            if (versionMatcher.matches(PlatformVersion)) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15.3K bytes
    - Viewed (1)
  2. guava/src/com/google/common/collect/Collections2.java

        public Spliterator<E> spliterator() {
          return CollectSpliterators.filter(unfiltered.spliterator(), predicate);
        }
    
        @Override
        public void forEach(Consumer<? super E> action) {
          checkNotNull(action);
          unfiltered.forEach(
              (E e) -> {
                if (predicate.test(e)) {
                  action.accept(e);
                }
              });
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  3. .teamcity/src/main/kotlin/util/RerunFlakyTest.kt

                listOf(extraParameters) +
                functionalTestParameters(os, arch)
            ).joinToString(separator = " ")
    
        killProcessStep(KILL_LEAKED_PROCESSES_FROM_PREVIOUS_BUILDS, os, arch)
    
        (1..10).forEach { idx ->
            steps {
                gradleWrapper {
                    name = "GRADLE_RUNNER_$idx"
                    tasks = "%$testTaskParameterName% -PrerunAllTests --tests %$testNameParameterName% %$testTaskOptionsParameterName%"
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Sep 24 06:22:49 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. build-logic/cleanup/src/main/kotlin/gradlebuild/testing/services/BuildBucketProvider.kt

            val properties = Properties()
            val ret = mutableMapOf<String, MutableList<String>>()
            properties.load(StringReader(content))
            properties.forEach { key, value ->
                val list = ret.getOrDefault(value, mutableListOf())
                list.add(key!!.toString())
                ret[value!!.toString()] = list
            }
            return ret
        }
    
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:28 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/ProtoSession.java

        public static Session create() {
            Map<String, String> properties = new HashMap<>();
            // Env variables prefixed with "env."
            System.getenv().forEach((k, v) -> properties.put("env." + k, v));
            // Java System properties
            System.getProperties().forEach((k, v) -> properties.put(k.toString(), v.toString()));
            // create session
            return create(Map.of(), properties);
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/service/JobLogService.java

                    must.setLastUpdated_LessEqual(expiry);
                    mustNot.setEndTime_Exists();
                });
            });
            if (!list.isEmpty()) {
                list.forEach(jobLog -> {
                    jobLog.setJobStatus(Constants.FAIL);
                    jobLog.setScriptResult("No response from Job.");
                    jobLog.setEndTime(ComponentUtil.getSystemHelper().getCurrentTimeAsLong());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java

                            && !"clean".equals(getLifecycles(project).peekLast())
                    || hasBeenPackagedDuringThisSession(project)) {
                getProjectArtifacts(project).filter(this::isRegularFile).forEach(this::installIntoProjectLocalRepository);
            }
        }
    
        private void cleanProjectLocalRepository(MavenProject project) {
            try {
                Path artifactPath = getProjectLocalRepo()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  8. lib/wasm/wasm_exec.js

    			const argvPtrs = [];
    			this.argv.forEach((arg) => {
    				argvPtrs.push(strPtr(arg));
    			});
    			argvPtrs.push(0);
    
    			const keys = Object.keys(this.env).sort();
    			keys.forEach((key) => {
    				argvPtrs.push(strPtr(`${key}=${this.env[key]}`));
    			});
    			argvPtrs.push(0);
    
    			const argv = offset;
    			argvPtrs.forEach((ptr) => {
    				this.mem.setUint32(offset, ptr, true);
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Aug 30 19:15:21 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/storage/StorageClient.java

                responseData.setLastModified(statObject.lastModified() == null ? null : Date.from(statObject.lastModified().toInstant()));
                responseData.setMimeType(statObject.contentType());
                statObject.headers().forEach(e -> responseData.addMetaData(e.getFirst(), e.getSecond()));
    
                if (contentLengthHelper != null) {
                    final long maxLength = contentLengthHelper.getMaxLength(responseData.getMimeType());
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/curl/CurlResponse.java

            if (headers != null) {
                final Map<String, List<String>> map = new HashMap<>();
                headers.entrySet().stream().filter(e -> e.getKey() != null)
                        .forEach(e -> map.put(e.getKey().toLowerCase(Locale.ROOT), e.getValue()));
                this.headers = map;
            }
        }
    
        public Map<String, List<String>> getHeaders() {
            return headers;
        }
    
    Registered: Thu Oct 31 02:32:13 UTC 2024
    - Last Modified: Mon Nov 14 21:05:19 UTC 2022
    - 4K bytes
    - Viewed (0)
Back to top