Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 633 for records (0.19 sec)

  1. guava-tests/test/com/google/common/eventbus/SubscriberTest.java

        } catch (NoSuchMethodException e) {
          throw new AssertionError();
        }
      }
    
      /**
       * Records the provided object in {@link #methodArgument} and sets {@link #methodCalled}. This
       * method is called reflectively by Subscriber during tests, and must remain public.
       *
       * @param arg argument to record.
       */
      @Subscribe
      public void recordingMethod(Object arg) {
        assertFalse(methodCalled);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/CharSourceTest.java

              assertTrue(suppressed <= 1);
            }
          }
        }
      }
    
      private static int getAndResetRecords(TestLogHandler logHandler) {
        int records = logHandler.getStoredLogRecords().size();
        logHandler.clear();
        return records;
      }
    
      private static void runFailureTest(CharSource in, CharSink out) {
        try {
          in.copyTo(out);
          fail();
        } catch (IOException expected) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/ForwardingLoadingCacheTest.java

      @Override
      public void setUp() throws Exception {
        super.setUp();
        /*
         * Class parameters must be raw, so we can't create a proxy with generic
         * type arguments. The created proxy only records calls and returns null, so
         * the type is irrelevant at runtime.
         */
        mock = mock(LoadingCache.class);
        forward =
            new ForwardingLoadingCache<String, Boolean>() {
              @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 12:41:04 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/CharSourceTest.java

              assertTrue(suppressed <= 1);
            }
          }
        }
      }
    
      private static int getAndResetRecords(TestLogHandler logHandler) {
        int records = logHandler.getStoredLogRecords().size();
        logHandler.clear();
        return records;
      }
    
      private static void runFailureTest(CharSource in, CharSink out) {
        try {
          in.copyTo(out);
          fail();
        } catch (IOException expected) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/ByteSourceTest.java

        assertEquals(ByteSource.empty(), source.slice(0, 3).slice(4, 3));
      }
    
      private static int getAndResetRecords(TestLogHandler logHandler) {
        int records = logHandler.getStoredLogRecords().size();
        logHandler.clear();
        return records;
      }
    
      private static void runFailureTest(ByteSource in, ByteSink out) {
        try {
          in.copyTo(out);
          fail();
        } catch (IOException expected) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.9K bytes
    - Viewed (0)
  6. logger/logger.go

    		SlowThreshold:             200 * time.Millisecond,
    		LogLevel:                  Warn,
    		IgnoreRecordNotFoundError: false,
    		Colorful:                  true,
    	})
    	// Recorder logger records running SQL into a recorder instance
    	Recorder = traceRecorder{Interface: Default, BeginAt: time.Now()}
    )
    
    // New initialize logger
    func New(writer Writer, config Config) Interface {
    	var (
    		infoStr      = "%s\n[info] "
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue Nov 07 02:19:41 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  7. cmd/object-handlers_test.go

    					reqType: reqV4Str,
    				},
    				{
    					req:     reqV2,
    					rec:     recV2,
    					reqType: reqV2Str,
    				},
    			}
    
    			for _, reqRec := range reqRecs {
    				// Response recorder to record the response of the handler.
    				rec := reqRec.rec
    				// HTTP request used to call the handler.
    				req := reqRec.req
    				// HTTP request type string for V4/V2 requests.
    				reqType := reqRec.reqType
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/ForwardingCacheTest.java

      @Override
      public void setUp() throws Exception {
        super.setUp();
        /*
         * Class parameters must be raw, so we can't create a proxy with generic
         * type arguments. The created proxy only records calls and returns null, so
         * the type is irrelevant at runtime.
         */
        mock = mock(Cache.class);
        forward =
            new ForwardingCache<String, Boolean>() {
              @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 12:41:04 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/ByteSourceTest.java

        assertEquals(ByteSource.empty(), source.slice(0, 3).slice(4, 3));
      }
    
      private static int getAndResetRecords(TestLogHandler logHandler) {
        int records = logHandler.getStoredLogRecords().size();
        logHandler.clear();
        return records;
      }
    
      private static void runFailureTest(ByteSource in, ByteSink out) {
        try {
          in.copyTo(out);
          fail();
        } catch (IOException expected) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.9K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/AsyncDns.kt

     *  * OkHttp DnsOverHttps
     *  * dnsjava Resolver
     *
     * Implementations of this interface must be safe for concurrent use.
     */
    @ExperimentalOkHttpApi
    interface AsyncDns {
      /**
       * Query DNS records for `hostname`, in the order they are received.
       */
      fun query(
        hostname: String,
        callback: Callback,
      )
    
      /**
       * Callback to receive results from the DNS Queries.
       */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 3.5K bytes
    - Viewed (0)
Back to top