Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1471 - 1480 of 1,812 for SMethod (0.04 sec)

  1. src/test/java/jcifs/internal/smb2/multichannel/ChannelManagerTest.java

            ChannelInfo healthyChannel = new ChannelInfo("test-channel", mockTransport, localInterface, remoteInterface);
            healthyChannel.setState(ChannelState.ESTABLISHED);
    
            // Use reflection or package-private method to add channel for testing
            // For now, just test the empty case
            assertEquals(0, channelManager.getHealthyChannels().size());
        }
    
        @Test
        void testChannelSelection() {
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/escape/Escaper.java

      /** Constructor for use by subclasses. */
      protected Escaper() {}
    
      /**
       * Returns the escaped form of a given literal string.
       *
       * <p>Note that this method may treat input characters differently depending on the specific
       * escaper implementation.
       *
       * <ul>
       *   <li>{@link UnicodeEscaper} handles <a href="http://en.wikipedia.org/wiki/UTF-16">UTF-16</a>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  3. api/maven-api-core/src/test/java/org/apache/maven/api/feature/FeaturesTest.java

            assertFalse(Features.deployBuildPom(properties)); // "0".parseBoolean() = false
        }
    
        @Test
        void testDeployBuildPomWithMutableMap() {
            // Test with a mutable map to ensure the method doesn't modify the input
            Map<String, Object> properties = new HashMap<>();
            properties.put(Constants.MAVEN_DEPLOY_BUILD_POM, "false");
    
            assertFalse(Features.deployBuildPom(properties));
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jul 04 19:42:23 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/math/LongMathTest.java

        }
      }
    
      /** Helper method that asserts the arithmetic mean of x and y is equal to the expectedMean. */
      private static void assertMean(long expectedMean, long x, long y) {
        assertEquals(
            "The expectedMean should be the same as computeMeanSafely",
            expectedMean,
            computeMeanSafely(x, y));
        assertMean(x, y);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/PluginHelperTest.java

                protected void install(Artifact artifact) {
                    // Mock install method
                }
            };
    
            Artifact artifact = new Artifact("fess-ds-test", "1.0.0", "http://test.com/test.jar");
    
            try {
                testHelper.installArtifact(artifact);
                // If we get here, the method executed without throwing
                assertTrue(true);
            } catch (Exception e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java

            byte[] buffer = createValidBufferWithNullTermination(expectedFilename, "NULLTE~1.TXT", true);
    
            // Decode
            fileBothDirectoryInfo.decode(buffer, 0, buffer.length);
    
            // Verify - the decode method strips null termination, so filename should match
            assertEquals(expectedFilename, fileBothDirectoryInfo.getFilename());
        }
    
        @Test
        @DisplayName("Test decode with null-terminated non-Unicode filename")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImpl.java

                }
            }
            return target;
        }
    
        /**
         * Commits any remaining documents in the cache to the index.
         * This method ensures all pending documents are processed.
         */
        @Override
        public void commit() {
            synchronized (docList) {
                if (!docList.isEmpty()) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/exec/SuggestCreator.java

        static void initializeProbes() {
            // Force probes to be loaded
            ProcessProbe.getInstance();
            OsProbe.getInstance();
            JvmInfo.jvmInfo();
        }
    
        /**
         * The main method for the SuggestCreator application.
         *
         * @param args The command-line arguments.
         */
        public static void main(final String[] args) {
            final Options options = new Options();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 11K bytes
    - Viewed (0)
  9. okhttp-tls/src/main/kotlin/okhttp3/tls/HandshakeCertificates.kt

         * (Android vs. Java), by platform release (Android 4.4 vs. Android 9), and with user
         * customizations.
         *
         * Most TLS clients that connect to hosts on the public Internet should call this method.
         * Otherwise it is necessary to manually prepare a comprehensive set of trusted roots.
         *
         * If the host platform is compromised or misconfigured this may contain untrustworthy root
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/job/SuggestJob.java

                    timeoutTask.cancel();
                }
            }
    
            return resultBuf.toString();
    
        }
    
        /**
         * Executes the suggest creator process.
         * This method constructs the command line arguments and starts the process.
         * @throws JobProcessingException if the process fails.
         */
        protected void executeSuggestCreator() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 10.5K bytes
    - Viewed (0)
Back to top