Search Options

Results per page
Sort
Preferred Languages
Advance

Results 791 - 800 of 2,267 for Methods (0.04 sec)

  1. android/guava/src/com/google/common/cache/Cache.java

       * loader} if necessary. The method improves upon the conventional "if cached, return; otherwise
       * create, cache and return" pattern. For further improvements, use {@link LoadingCache} and its
       * {@link LoadingCache#get(Object) get(K)} method instead of this one.
       *
       * <p>Among the improvements that this method and {@code LoadingCache.get(K)} both provide are:
       *
       * <ul>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. 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)
  3. src/main/java/org/codelibs/fess/job/ExecJob.java

         */
        protected abstract String getExecuteType();
    
        /**
         * Executes the job with the specified job executor.
         * This method sets the job executor and then calls the abstract execute method.
         *
         * @param jobExecutor the job executor to use for execution
         * @return the execution result message or summary
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ObjectArrays.java

       * returns the elements in the order they are returned by the collection's iterator. The returned
       * array is "safe" in that no references to it are maintained by the collection. The caller is
       * thus free to modify the returned array.
       *
       * <p>This method assumes that the collection size doesn't change while the method is running.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/ldap/LdapUserTest.java

            assertEquals("b", result[2]);
        }
    
        // Helper method to invoke the private distinct method
        private String[] invokeDistinct(String[] values) {
            try {
                java.lang.reflect.Method method = LdapUser.class.getDeclaredMethod("distinct", String[].class);
                method.setAccessible(true);
                return (String[]) method.invoke(null, (Object) values);
            } catch (Exception e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/CharSourceTest.java

    import java.util.List;
    import java.util.stream.Stream;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for the default implementations of {@code CharSource} methods.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    public class CharSourceTest extends IoTestCase {
    
      @AndroidIncompatible // Android doesn't understand suites whose tests lack default constructors.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/primitives/UnsignedLong.java

     *
     * <p>In some cases, when speed is more important than code readability, it may be faster simply to
     * treat primitive {@code long} values as unsigned, using the methods from {@link UnsignedLongs}.
     *
     * <p>See the Guava User Guide article on <a
     * href="https://github.com/google/guava/wiki/PrimitivesExplained#unsigned-support">unsigned
     * primitive utilities</a>.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 04 13:03:16 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/pac/kerberos/KerberosTicketTest.java

            }
        }
    
        @Test
        void testConstructorAndGettersWithValidTicket() throws IOException, GeneralSecurityException, PACDecodingException {
            // Test successful instantiation and getter methods with a valid ticket
            byte[] validToken = createTestTicketBytes(new BigInteger(KerberosConstants.KERBEROS_VERSION), SERVER_REALM, SERVER_PRINCIPAL_NAME,
                    ENCRYPTION_TYPE, ENCRYPTED_DATA, null);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Predicates.java

       *
       * <p>This method can technically accept any {@code Collection<?>}, but using a typed collection
       * helps prevent bugs. This approach doesn't block any potential users since it is always possible
       * to use {@code Predicates.<Object>in()}.
       *
       * <p>You may prefer to use a method reference (e.g., {@code target::contains}) instead of this
       * method. However, there are some subtle considerations:
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

            // Then
            assertTrue(response instanceof TreeConnectResponse);
    
            // Test all interface methods
            assertNull(response.getService()); // getService returns null in SMB2
            assertEquals(response.getTreeId(), response.getTid());
        }
    
        /**
         * Helper method to create a valid response buffer
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
Back to top