Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 117 for getRule (0.05 seconds)

  1. src/main/java/org/codelibs/fess/chat/ChatSessionManager.java

            session.trimHistory(maxMessages);
    
            if (logger.isDebugEnabled()) {
                logger.debug("Message added to session. sessionId={}, role={}, messageCount={}", sessionId, message.getRole(),
                        session.getMessages().size());
            }
            return true;
        }
    
        /**
         * Clears the messages in a session with userId ownership check.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 07 13:27:59 GMT 2026
    - 13.7K bytes
    - Click Count (0)
  2. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java

            }
            return lifecycleMappings;
        }
    
        private InputStream getDescriptorStream(String descriptor) throws IOException {
            File pluginFile = (pluginArtifact != null) ? pluginArtifact.getFile() : null;
            if (pluginFile == null) {
                throw new IllegalStateException("plugin main artifact has not been resolved for " + getId());
            }
    
            if (pluginFile.isFile()) {
                try {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 16.2K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/event/ExecutionEventLogger.java

                    infoMain(building + ((pad > 0) ? chars(' ', pad) : "") + progress);
                }
    
                // path to pom.xml
                File currentPom = project.getFile();
                if (currentPom != null) {
                    MavenSession session = event.getSession();
                    Path current = currentPom.toPath().toAbsolutePath().normalize();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Dec 13 15:40:45 GMT 2024
    - 17.5K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/curl/CurlRequest.java

                    if (dfos.isInMemory()) {
                        contentCache = new ContentCache(dfos.getData());
                    } else {
                        contentCache = new ContentCache(dfos.getFile());
                    }
                    response.setContentCache(contentCache);
                } catch (final Exception e) {
                    response.setContentException(e);
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 19.7K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

            new File("/home/build/x/y/z.jar").toURI(),
            ClassPath.getClassPathEntry(new File("/home/build/outer.jar"), "x/y/z.jar").toURI());
        assertThat(ClassPath.getClassPathEntry(new File("/home/build/outer.jar"), "x y.jar").getFile())
            .isEqualTo("/home/build/x y.jar");
      }
    
      public void testGetClassPathFromManifest_nullManifest() {
        assertThat(ClassPath.getClassPathFromManifest(new File("some.jar"), null)).isEmpty();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 23.1K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/llm/AbstractLlmClient.java

            final List<int[]> turns = new ArrayList<>();
            int idx = 0;
            while (idx < history.size()) {
                if (idx + 1 < history.size() && "user".equals(history.get(idx).getRole())
                        && "assistant".equals(history.get(idx + 1).getRole())) {
                    turns.add(new int[] { idx, idx + 2 });
                    idx += 2;
                } else {
                    turns.add(new int[] { idx, idx + 1 });
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 72K bytes
    - Click Count (0)
  7. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java

         */
        public void setMojoConfiguration(PlexusConfiguration mojoConfiguration) {
            this.mojoConfiguration = mojoConfiguration;
        }
    
        /** {@inheritDoc} */
        @Override
        public String getRole() {
            return isV4Api() ? "org.apache.maven.api.plugin.Mojo" : Mojo.ROLE;
        }
    
        /** {@inheritDoc} */
        @Override
        public String getRoleHint() {
            return getId();
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 21.7K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/io/MoreFilesTest.java

          NoSuchFileException expected =
              assertThrows(
                  NoSuchFileException.class,
                  () -> MoreFiles.deleteRecursively(fs.getPath("/work/nothere"), ALLOW_INSECURE));
          assertThat(expected.getFile()).isEqualTo("/work/nothere");
        }
      }
    
      public void testDeleteDirectoryContents_symlinkToDir_sdsNotSupported_allowInsecure()
          throws IOException {
        try (FileSystem fs = newTestFileSystem()) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 27.5K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/io/MoreFilesTest.java

          NoSuchFileException expected =
              assertThrows(
                  NoSuchFileException.class,
                  () -> MoreFiles.deleteRecursively(fs.getPath("/work/nothere"), ALLOW_INSECURE));
          assertThat(expected.getFile()).isEqualTo("/work/nothere");
        }
      }
    
      public void testDeleteDirectoryContents_symlinkToDir_sdsNotSupported_allowInsecure()
          throws IOException {
        try (FileSystem fs = newTestFileSystem()) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 26.6K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/reflect/ClassPathTest.java

            new File("/home/build/x/y/z.jar").toURI(),
            ClassPath.getClassPathEntry(new File("/home/build/outer.jar"), "x/y/z.jar").toURI());
        assertThat(ClassPath.getClassPathEntry(new File("/home/build/outer.jar"), "x y.jar").getFile())
            .isEqualTo("/home/build/x y.jar");
      }
    
      public void testGetClassPathFromManifest_nullManifest() {
        assertThat(ClassPath.getClassPathFromManifest(new File("some.jar"), null)).isEmpty();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 25.8K bytes
    - Click Count (0)
Back to Top