Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,268 for myinstance (0.07 sec)

  1. src/main/java/org/codelibs/fess/opensearch/config/bsentity/dbmeta/FileConfigDbm.java

        //                                                                           =========
        private static final FileConfigDbm _instance = new FileConfigDbm();
    
        private FileConfigDbm() {
        }
    
        public static FileConfigDbm getInstance() {
            return _instance;
        }
    
        // ===================================================================================
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/opensearch/config/bsentity/dbmeta/WebConfigDbm.java

        //                                                                           =========
        private static final WebConfigDbm _instance = new WebConfigDbm();
    
        private WebConfigDbm() {
        }
    
        public static WebConfigDbm getInstance() {
            return _instance;
        }
    
        // ===================================================================================
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/cache/CacheBuilder.java

            }
          };
    
      enum NullListener implements RemovalListener<Object, Object> {
        INSTANCE;
    
        @Override
        public void onRemoval(RemovalNotification<Object, Object> notification) {}
      }
    
      enum OneWeigher implements Weigher<Object, Object> {
        INSTANCE;
    
        @Override
        public int weigh(Object key, Object value) {
          return 1;
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 51.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/opensearch/log/bsentity/dbmeta/SearchLogDbm.java

        //                                                                           =========
        private static final SearchLogDbm _instance = new SearchLogDbm();
    
        private SearchLogDbm() {
        }
    
        public static SearchLogDbm getInstance() {
            return _instance;
        }
    
        // ===================================================================================
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingEventListener.kt

       */
      fun <T : CallEvent> removeUpToEvent(eventClass: Class<T>): T {
        val fullEventSequence = eventSequence.toList()
        try {
          while (true) {
            val event = takeEvent()
            if (eventClass.isInstance(event)) {
              return eventClass.cast(event)
            }
          }
        } catch (e: NoSuchElementException) {
          throw AssertionError("full event sequence: $fullEventSequence", e)
        }
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Predicates.java

       *
       * <p><b>Discouraged:</b> Prefer using {@code clazz::isInstance} or {@code x -> x instanceof
       * Clazz}, but note that lambdas do not have human-readable {@link #toString()} representations
       * and are not serializable.
       */
      @GwtIncompatible // Class.isInstance
      public static <T extends @Nullable Object> Predicate<T> instanceOf(Class<?> clazz) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/util/LogStreamTest.java

        void testGetInstanceWithoutSetInstance() {
            // Test getInstance when no instance has been set
            // Should default to System.err
            LogStream instance = LogStream.getInstance();
            assertNotNull(instance);
    
            // Getting instance again should return the same instance
            LogStream instance2 = LogStream.getInstance();
            assertSame(instance, instance2);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/com/SmbComWriteAndXResponseTest.java

            byte[] buffer = new byte[] { (byte) 0xff, (byte) 0xff, 0, 0, 0, 0, 0, 0 };
            SmbComWriteAndXResponse instance = new SmbComWriteAndXResponse(config);
    
            // When
            int result = instance.readParameterWordsWireFormat(buffer, 0);
    
            // Then
            assertEquals(8, result);
            assertEquals(0xffffL, instance.getCount());
        }
    
        /**
         * Test of readParameterWordsWireFormat with zero count
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  9. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

          this.wrapped = checkNotNull(wrapped);
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          // In general getClass().isInstance() is bad for equals.
          // But here we fully control the subclasses to ensure symmetry.
          if (getClass().isInstance(obj)) {
            Wrapper that = (Wrapper) obj;
            return wrapped.equals(that.wrapped);
          }
          return false;
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/advanced-dependencies.md

    But we want to be able to parameterize that fixed content.
    
    ## A "callable" instance { #a-callable-instance }
    
    In Python there's a way to make an instance of a class a "callable".
    
    Not the class itself (which is already a callable), but an instance of that class.
    
    To do that, we declare a method `__call__`:
    
    {* ../../docs_src/dependencies/tutorial011_an_py39.py hl[12] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.6K bytes
    - Viewed (0)
Back to top