Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1491 - 1500 of 2,268 for Method (0.1 sec)

  1. src/test/java/jcifs/smb1/smb1/SmbFileTest.java

            }
        }
    
        // Helper method to create a mock SmbFile for more advanced tests if needed
        private SmbFile createMockSmbFile(String url, NtlmPasswordAuthentication auth) throws MalformedURLException {
            // This is complex due to the class structure. A better approach would be
            // to refactor SmbFile to be more testable (e.g., dependency injection).
            // For now, we test methods that don't require deep mocks.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/main/java/jcifs/smb/NtlmPasswordAuthentication.java

         * technically not correct however the server 8 byte challenge would be required to compute and compare the password
         * hashes but that it not available with this method.
         */
        @Override
        public boolean equals(final Object obj) {
            if (super.equals(obj)) {
                if (!(obj instanceof final NtlmPasswordAuthentication ntlm)) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/NtlmContextTest.java

            // Simple test for getter methods
            NtlmContext context = new NtlmContext(mockAuth, true);
            assertFalse(context.isEstablished());
            assertNull(context.getServerChallenge());
            assertNull(context.getSigningKey());
            assertNull(context.getNetbiosName());
        }
    
        @Test
        void testToString() {
            // Test the toString method for completeness
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  8. internal/stmt_store/stmt_store.go

    //     it defaults to defaultTTL.
    //
    // This function defines an onEvicted callback that is invoked when a cache entry is evicted.
    // The callback ensures that if the evicted value (v) is not nil, its Close method is called asynchronously
    // to release associated resources.
    //
    // Returns:
    //   - A Store instance implemented by lruStore, which internally uses an LRU cache with the specified size,
    //     eviction callback, and TTL.
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun Apr 27 06:05:16 UTC 2025
    - 6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        assertThat(index).isNotEqualTo(0);
    
        // Above our method should be the call to get(). Don't assert on the class
        // because it could be some superclass.
        assertThat(e.getStackTrace()[index - 1].getMethodName()).isEqualTo("get");
      }
    
      private static int findStackFrame(ExecutionException e, String clazz, String method) {
        StackTraceElement[] elements = e.getStackTrace();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt

     */
    @Throws(IOException::class)
    internal fun BufferedSource.readBomAsCharset(default: Charset): Charset =
      when (select(UNICODE_BOMS)) {
        // a mapping from the index of encoding methods in UNICODE_BOMS to its corresponding encoding method
        0 -> UTF_8
        1 -> UTF_16BE
        2 -> UTF_32LE
        3 -> UTF_16LE
        4 -> UTF_32BE
        -1 -> default
        else -> throw AssertionError()
      }
    
    internal fun checkDuration(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 10.2K bytes
    - Viewed (1)
Back to top