Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1221 - 1230 of 4,648 for new1 (0.04 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java

            if (dest.exists() && !dest.canWrite()) {
                return;
            }
            try (BufferedInputStream in = new BufferedInputStream(new SmbFileInputStream(src));
                    BufferedOutputStream out = new BufferedOutputStream(new FileOutputStream(dest))) {
                final byte[] buf = new byte[1024];
                int length;
                while (-1 < (length = in.read(buf))) {
                    out.write(buf, 0, length);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 22.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeResponseTest.java

            @DisplayName("writeSetupWireFormat returns 0 for all indices")
            void writeSetupWireFormatReturnsZero(int index) {
                TransWaitNamedPipeResponse resp = new TransWaitNamedPipeResponse();
                assertEquals(0, resp.writeSetupWireFormat(new byte[10], index), "writeSetupWireFormat should always return 0");
            }
    
            @ParameterizedTest
            @ValueSource(ints = { 0, 5, -5, Integer.MAX_VALUE })
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/WrappingExecutorServiceTest.java

      public void testExecute() {
        MockExecutor mock = new MockExecutor();
        TestExecutor testExecutor = new TestExecutor(mock);
        testExecutor.execute(doNothing());
        mock.assertLastMethodCalled("execute");
      }
    
      public void testSubmit() throws InterruptedException, ExecutionException {
        {
          MockExecutor mock = new MockExecutor();
          TestExecutor testExecutor = new TestExecutor(mock);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/SmbCircuitBreakerTest.java

            SmbCircuitBreaker backpressureCircuitBreaker = new SmbCircuitBreaker("backpressure-test", 5, 2, 1000, 3, false, true, 2);
    
            try {
                CountDownLatch startLatch = new CountDownLatch(1);
                CountDownLatch completeLatch = new CountDownLatch(5);
                AtomicInteger rejectedCount = new AtomicInteger(0);
                AtomicInteger successCount = new AtomicInteger(0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/SimpleTimeLimiter.java

        if (cause instanceof Error) {
          throw new ExecutionError((Error) cause);
        } else if (cause instanceof RuntimeException) {
          throw new UncheckedExecutionException(cause);
        } else {
          throw new ExecutionException(cause);
        }
      }
    
      private void wrapAndThrowRuntimeExecutionExceptionOrError(Throwable cause) {
        if (cause instanceof Error) {
          throw new ExecutionError((Error) cause);
        } else {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  6. compat/maven-builder-support/src/test/java/org/apache/maven/building/StringSourceTest.java

        void testGetInputStream() throws Exception {
            StringSource source = new StringSource("Hello World!");
    
            try (InputStream is = source.getInputStream();
                    Scanner scanner = new Scanner(is)) {
                assertEquals("Hello World!", scanner.nextLine());
            }
        }
    
        @Test
        void testGetLocation() {
            StringSource source = new StringSource("Hello World!");
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/job/PythonJobTest.java

                capturedCmdList = new ArrayList<>(cmdList);
    
                ProcessBuilder pb = new ProcessBuilder(cmdList);
                capturedEnvironment = new HashMap<>(pb.environment());
                pbConsumer.accept(pb);
                capturedDirectory = pb.directory();
                capturedEnvironment = new HashMap<>(pb.environment());
    
                return new TestJobProcess(exitValue, processOutput);
            }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/query/parser/QueryParser.java

        protected Analyzer analyzer = new WhitespaceAnalyzer();
    
        /** Whether to allow leading wildcards in query terms */
        protected boolean allowLeadingWildcard = true;
    
        /** The default operator to use between query terms */
        protected Operator defaultOperator = Operator.AND;
    
        /** List of filters to apply to queries */
        protected List<Filter> filterList = new ArrayList<>();
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

          Throwable cause, Class<X> exceptionClass) throws X {
        if (cause instanceof Error) {
          throw new ExecutionError((Error) cause);
        }
        if (cause instanceof RuntimeException) {
          throw new UncheckedExecutionException(cause);
        }
        throw newWithCause(exceptionClass, cause);
      }
    
      /*
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderRequest.java

                    .build();
        }
    
        /**
         * Creates a new builder for constructing a ProjectBuilderRequest.
         *
         * @return a new ProjectBuilderRequestBuilder
         */
        @Nonnull
        static ProjectBuilderRequestBuilder builder() {
            return new ProjectBuilderRequestBuilder();
        }
    
        /**
         * Builder for creating ProjectBuilderRequest instances.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 11.7K bytes
    - Viewed (0)
Back to top