Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1131 - 1140 of 2,123 for instanceof (0.14 seconds)

  1. android/guava/src/com/google/common/collect/ReverseNaturalOrdering.java

      public <E extends Comparable<?>> E min(E a, E b) {
        return NaturalOrdering.INSTANCE.max(a, b);
      }
    
      @Override
      public <E extends Comparable<?>> E min(E a, E b, E c, E... rest) {
        return NaturalOrdering.INSTANCE.max(a, b, c, rest);
      }
    
      @Override
      public <E extends Comparable<?>> E min(Iterator<E> iterator) {
        return NaturalOrdering.INSTANCE.max(iterator);
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 3K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/reflect/AbstractInvocationHandler.java

        return super.toString();
      }
    
      private static boolean isProxyOfSameInterfaces(Object arg, Class<?> proxyClass) {
        return proxyClass.isInstance(arg)
            // Equal proxy instances should mostly be instance of proxyClass
            // Under some edge cases (such as the proxy of JDK types serialized and then deserialized)
            // the proxy type may not be the same.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 5.1K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/Multiset.java

       * immediately reflected in the other. However, multiset changes may or may not be reflected in
       * any {@code Entry} instances already retrieved from the entry set (this is
       * implementation-dependent). Furthermore, implementations are not required to support
       * modifications to the entry set at all, and the {@code Entry} instances themselves don't even
       * have methods for modification. See the specific implementation class for more details on how
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 19.5K bytes
    - Click Count (0)
  4. tests/test_jsonable_encoder.py

            dt_field: safe_datetime
    
        instance = MyDict(dt_field=safe_datetime.now())
    
        encoded_instance = jsonable_encoder(
            instance, custom_encoder={safe_datetime: lambda o: o.strftime("%H:%M:%S")}
        )
        assert encoded_instance["dt_field"] == instance["dt_field"].strftime("%H:%M:%S")
    
        encoded_instance = jsonable_encoder(
            instance, custom_encoder={datetime: lambda o: o.strftime("%H:%M:%S")}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  5. .bazelrc

    common:rbe_windows_x86_cpu_2022 --config=rbe_win_base --config=windows_x86_cpu_2022
    
    # Override the remote instance and BES instance names to use the new RBE pools
    common:rbe_windows_x86_cpu_2022 --remote_instance_name=projects/ml-oss-rbe-general/instances/default_instance
    common:rbe_windows_x86_cpu_2022 --bes_instance_name="ml-oss-rbe-general"
    
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Mar 28 04:33:01 GMT 2026
    - 58.9K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/job/ExecJob.java

         * @return this ExecJob instance for method chaining
         */
        public ExecJob timeout(final int timeout) {
            this.timeout = timeout;
            return this;
        }
    
        /**
         * Sets whether to use local Fesen instance.
         *
         * @param useLocalFesen true to use local Fesen, false otherwise
         * @return this ExecJob instance for method chaining
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb1/com/SmbComFindClose2Test.java

        @Mock
        private Configuration mockConfig;
    
        private SmbComFindClose2 instance;
        private final int TEST_SID = 0x1234; // 4660 decimal
    
        @BeforeEach
        void setUp() {
            instance = new SmbComFindClose2(mockConfig, TEST_SID);
        }
    
        @Test
        void testConstructorAndToString() {
            String s = instance.toString();
            // toString includes the class name and the sid field
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  8. src/main/java/jcifs/util/Crypto.java

        /**
         * Get an MD5 message digest instance.
         * @return MD5 digest instance
         */
        public static MessageDigest getMD5() {
            try {
                return MessageDigest.getInstance("MD5");
            } catch (final NoSuchAlgorithmException e) {
                throw new CIFSUnsupportedCryptoException(e);
            }
        }
    
        /**
         * Get a SHA-512 message digest instance.
         * @return SHA512 digest instance
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/escape/ArrayBasedEscaperMap.java

     * As such sharing this data structure between escaper instances is the primary goal of this class.
     *
     * @author David Beaumont
     * @since 15.0
     */
    @GwtCompatible
    public final class ArrayBasedEscaperMap {
      /**
       * Returns a new ArrayBasedEscaperMap for creating ArrayBasedCharEscaper or
       * ArrayBasedUnicodeEscaper instances.
       *
       * @param replacements a map of characters to their escaped representations
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 28 01:26:26 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java

            SmbPipeInputStream in2 = handle.getInput();
            SmbPipeOutputStream out1 = handle.getOutput();
            SmbPipeOutputStream out2 = handle.getOutput();
    
            // Assert: same instances are returned subsequently
            assertSame(in1, in2, "Input stream should be cached");
            assertSame(out1, out2, "Output stream should be cached");
    
            // Close and verify subsequent calls throw
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 16.7K bytes
    - Click Count (0)
Back to Top