Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1281 - 1290 of 2,394 for Batch (0.03 seconds)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/ResultDataTest.java

            // ## Assert ##
            assertEquals(rawData, resultData.getRawData());
    
            assertNull(resultData.serializer);
            try {
                resultData.getData();
                fail();
            } catch (CrawlerSystemException e) {
                // nothing
            }
        }
    
        public void test_setSerializer() {
            // ## Arrange ##
            final ResultData resultData = new ResultData();
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sat Mar 15 06:52:00 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/core/concurrent/CommonPoolUtil.java

                final ClassLoader orignal = currentThread.getContextClassLoader();
                currentThread.setContextClassLoader(CommonPoolUtil.class.getClassLoader());
                try {
                    task.run();
                } catch (final Exception e) {
                    logger.error("Uncaught exception from " + task, e);
                } finally {
                    currentThread.setContextClassLoader(orignal);
                }
            });
        }
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  3. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/InterruptibleTask.java

      @Override
      public void run() {
        T result = null;
        Throwable error = null;
        if (isDone()) {
          return;
        }
        try {
          result = runInterruptibly();
        } catch (Throwable t) {
          error = t;
        }
        if (error == null) {
          // The cast is safe because of the `run` and `error` checks.
          afterRanInterruptiblySuccess(uncheckedCastNullableTToT(result));
        } else {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  4. docs/en/docs/reference/websockets.md

                - iter_json
                - send_text
                - send_bytes
                - send_json
                - close
    
    When a client disconnects, a `WebSocketDisconnect` exception is raised, you can catch it.
    
    You can import it directly form `fastapi`:
    
    ```python
    from fastapi import WebSocketDisconnect
    ```
    
    ::: fastapi.WebSocketDisconnect
    
    ## WebSockets - additional classes
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Aug 06 04:48:30 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/opensearch/user/exbhv/RoleBhv.java

                        .map(e -> new Pair<>(e.getKey(), (String) e.getValue()))
                        .collect(Collectors.toMap(Pair::getFirst, Pair::getSecond)));
                return result;
            } catch (InstantiationException | IllegalAccessException e) {
                final String msg = "Cannot create a new instance: " + entityType.getName();
                throw new IllegalBehaviorStateException(msg, e);
            }
        }
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/opensearch/config/exentity/FileAuthentication.java

                final FileConfigService fileConfigService = ComponentUtil.getComponent(FileConfigService.class);
                try {
                    fileConfig = fileConfigService.getFileConfig(getFileConfigId()).get();
                } catch (final Exception e) {
                    logger.warn("File Config {} does not exist.", getFileConfigId(), e);
                }
            }
            return fileConfig;
        }
    
        @Override
        public String toString() {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/toolchain/DefaultToolchainsBuilder.java

                try (InputStream in = Files.newInputStream(userToolchainsFile.toPath())) {
                    toolchains = new PersistedToolchains(new MavenToolchainsStaxReader().read(in));
                } catch (Exception e) {
                    throw new MisconfiguredToolchainException(
                            "Cannot read toolchains file at " + userToolchainsFile.getAbsolutePath(), e);
                }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  8. .github/pull_request_template.md

    - [ ] Each commit in the pull request should have a meaningful subject line and body.
      Note that commits might be squashed by a maintainer on merge.
    - [ ] Write unit tests that match behavioral changes, where the tests fail if the changes to the runtime are not applied.
      This may not always be possible but is a best-practice.
    - [ ] Run `mvn verify` to make sure basic checks pass.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:30:05 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/rtinfo/RuntimeInformation.java

         * "[2.2.1,)", i.e. denotes the minimum version required.
         *
         * @param versionRange The version range to match the current Maven runtime against, must not be {@code null}.
         * @return {@code true} if the current Maven runtime matches the specified version range, {@code false} otherwise.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java

            int readLen = response.readParameterWordsWireFormat(bytes, 0);
            long expectedOffset = expectedInt; // Sign extension happens here for negative values
            assertEquals(expectedOffset, response.getOffset(), "Offset should match decoded value");
            assertEquals(4, readLen, "Byte count returned should be 4");
        }
    
        @Test
        @DisplayName("readParameterWordsWireFormat with a too-short buffer - throws exception")
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.1K bytes
    - Click Count (0)
Back to Top