Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2461 - 2470 of 2,768 for Add (0.01 seconds)

  1. guava-tests/test/com/google/common/io/ResourcesTest.java

            new LineProcessor<List<String>>() {
              final List<String> collector = new ArrayList<>();
    
              @Override
              public boolean processLine(String line) {
                collector.add(whitespace().trimFrom(line));
                return true;
              }
    
              @Override
              public List<String> getResult() {
                return collector;
              }
            };
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/graph/FilteredProjectDependencyGraph.java

            List<MavenProject> filtered = new ArrayList<>(projects.size());
            for (MavenProject project : projects) {
                if (whiteList.containsKey(project)) {
                    filtered.add(project);
                } else if (!transitive) {
                    filtered.addAll(upstream ? getUpstreamProjects(project, false) : getDownstreamProjects(project, false));
                }
            }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jun 19 16:34:39 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  3. docs/pt/docs/tutorial/background-tasks.md

    E como a operação de escrita não usa `async` e `await`, definimos a função com um `def` normal:
    
    {* ../../docs_src/background_tasks/tutorial001_py310.py hl[6:9] *}
    
    ## Adicione a tarefa em segundo plano { #add-the-background-task }
    
    Dentro da sua *função de operação de rota*, passe sua função de tarefa para o objeto de *tarefas em segundo plano* com o método `.add_task()`:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 5.1K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/core/io/TraversalUtil.java

                final URL url = it.next();
                final Traverser resourcesType = getTraverser(url, rootPackage, baseName);
                if (resourcesType != null) {
                    list.add(resourcesType);
                }
            }
            if (list.isEmpty()) {
                logger.log("WCL0014", rootPackage);
                return EMPTY_ARRAY;
            }
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/web/base/FessAdminAction.java

                    final String basePath = System.getProperty(prop);
                    if (basePath != null) {
                        final String baseCanonicalPath = new File(basePath).getCanonicalPath();
                        allowedPaths.add(baseCanonicalPath);
                        if (canonicalPath.startsWith(baseCanonicalPath)) {
                            isAllowed = true;
                            break;
                        }
                    }
                }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 13:57:12 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  6. .teamcity/scripts/CheckBadMerge.java

            List<String> out = new ArrayList<>();
            for (String line : lines) {
                String s = line.replace("*", "").trim();
                if (!s.isEmpty()) {
                    out.add(s);
                }
            }
            return out;
        }
    
        private static List<String> parentCommitsOf(String commit) throws IOException, InterruptedException, ExecutionException {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 30 16:25:09 GMT 2026
    - 9K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java

                            long startTime = System.nanoTime();
                            boolean result = correctAuth.equals(wrongAuth);
                            long endTime = System.nanoTime();
                            timings.add(endTime - startTime);
                            assertFalse(result, "Passwords should not be equal");
                        }
                    });
                }
    
                executor.shutdown();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  8. docs/ko/docs/tutorial/background-tasks.md

    이 경우 작업 함수는 파일에 쓰기를 수행합니다(이메일 전송을 시뮬레이션).
    
    그리고 쓰기 작업은 `async`와 `await`를 사용하지 않으므로, 일반 `def`로 함수를 정의합니다:
    
    {* ../../docs_src/background_tasks/tutorial001_py310.py hl[6:9] *}
    
    ## 백그라운드 작업 추가 { #add-the-background-task }
    
    *경로 처리 함수* 내부에서 `.add_task()` 메서드로 작업 함수를 *백그라운드 작업* 객체에 전달합니다:
    
    {* ../../docs_src/background_tasks/tutorial001_py310.py hl[14] *}
    
    `.add_task()`는 다음 인자를 받습니다:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/base/Throwables.java

       */
      public static List<Throwable> getCausalChain(Throwable throwable) {
        checkNotNull(throwable);
        List<Throwable> causes = new ArrayList<>(4);
        causes.add(throwable);
    
        // Keep a second pointer that slowly walks the causal chain. If the fast pointer ever catches
        // the slower pointer, then there's a loop.
        Throwable slowPointer = throwable;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/io/ByteStreams.java

        if (b == -1) {
          return bytes;
        }
    
        // the stream was longer, so read the rest normally
        Queue<byte[]> bufs = new ArrayDeque<>(TO_BYTE_ARRAY_DEQUE_SIZE + 2);
        bufs.add(bytes);
        bufs.add(new byte[] {(byte) b});
        return toByteArrayInternal(in, bufs, bytes.length + 1);
      }
    
      /**
       * Reads and discards data from the given {@code InputStream} until the end of the stream is
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 31.1K bytes
    - Click Count (0)
Back to Top