Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 871 - 880 of 1,886 for instanceof (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. gorm.go

    		Logger: db.Logger.LogMode(logger.Info),
    	})
    }
    
    // Set store value with key into current db instance's context
    func (db *DB) Set(key string, value interface{}) *DB {
    	tx := db.getInstance()
    	tx.Statement.Settings.Store(key, value)
    	return tx
    }
    
    // Get get value with key from current db instance's context
    func (db *DB) Get(key string) (interface{}, bool) {
    	return db.Statement.Settings.Load(key)
    }
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

          throws Exception {
        checkNotNull(expected);
        checkNotNull(methodName);
        checkNotNull(arguments);
        sendRequest(methodName, arguments);
        assertThat(getResponse(methodName).getThrowable()).isInstanceOf(expected);
      }
    
      /**
       * Causes this thread to call the named method, and asserts that this thread becomes blocked on
       * the lock-like object. The lock-like object must have a method equivalent to {@link
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 11.5K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt

        client.newCall(newRequest("http://a/1")).enqueue(callback)
        executor.assertJobs("http://a/1")
    
        assertThat(eventRecorder.eventSequence).none { it.isInstanceOf<DispatcherQueueStart>() }
        assertThat(eventRecorder.eventSequence).none { it.isInstanceOf<DispatcherQueueEnd>() }
      }
    
      @Test
      fun maxRequestsEnforced() {
        dispatcher.maxRequests = 3
        client.newCall(newRequest("http://a/1")).enqueue(callback)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  4. 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;
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 13:13:59 GMT 2026
    - 51.7K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        List<Future<String>> results;
    
        results = service.invokeAll(callables);
        assertThat(getOnlyElement(results)).isInstanceOf(TrustedListenableFutureTask.class);
    
        results = service.invokeAll(callables, 1, SECONDS);
        assertThat(getOnlyElement(results)).isInstanceOf(TrustedListenableFutureTask.class);
    
        /*
         * TODO(cpovirk): move ForwardingTestCase somewhere common, and use it to
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 26.1K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

    import java.util.logging.Level;
    import org.jspecify.annotations.Nullable;
    
    /**
     * The {@code CycleDetectingLockFactory} creates {@link ReentrantLock} instances and {@link
     * ReentrantReadWriteLock} instances that detect potential deadlock by checking for cycles in lock
     * acquisition order.
     *
     * <p>Potential deadlocks detected when calling the {@code lock()}, {@code lockInterruptibly()}, or
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 36K bytes
    - Click Count (0)
  7. docs/en/docs/tutorial/path-params-numeric-validations.md

    ///
    
    /// note | Technical Details
    
    When you import `Query`, `Path` and others from `fastapi`, they are actually functions.
    
    That when called, return instances of classes of the same name.
    
    So, you import `Query`, which is a function. And when you call it, it returns an instance of a class also named `Query`.
    
    These functions are there (instead of just using the classes directly) so that your editor doesn't mark errors about their types.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

        /** List of active crawler instances */
        private List<Crawler> crawlerList;
    
        /** Factory for creating document ingesters */
        private IngestFactory ingestFactory = null;
    
        /**
         * Default constructor for IndexUpdater.
         * Initializes a new instance with default settings.
         */
        public IndexUpdater() {
            super();
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 32.9K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

                () -> getDone(allAsList(immediateFailedFuture(new SomeError()))));
        assertThat(expected).hasCauseThat().isInstanceOf(SomeError.class);
        List<LogRecord> logged = aggregateFutureLogHandler.getStoredLogRecords();
        assertThat(logged).hasSize(1); // errors are always logged
        assertThat(logged.get(0).getThrown()).isInstanceOf(SomeError.class);
      }
    
      /** All as list will log extra exceptions that have already occurred. */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

                () -> getDone(allAsList(immediateFailedFuture(new SomeError()))));
        assertThat(expected).hasCauseThat().isInstanceOf(SomeError.class);
        List<LogRecord> logged = aggregateFutureLogHandler.getStoredLogRecords();
        assertThat(logged).hasSize(1); // errors are always logged
        assertThat(logged.get(0).getThrown()).isInstanceOf(SomeError.class);
      }
    
      /** All as list will log extra exceptions that have already occurred. */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
Back to Top