Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2071 - 2080 of 2,153 for only2 (0.03 sec)

  1. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

        val response =
          client.newCall(request)
            .execute()
    
        response.use {
          assertEquals(200, response.code)
          assertEquals(Protocol.HTTP_2, response.protocol)
        }
    
        // Only logs to the test logger above
        // Will fail if "adb shell setprop log.tag.okhttp.Http2 DEBUG" is called
        assertEquals(setOf(OkHttpTest::class.java.name), testHandler.calls.keys)
      }
    
      fun testCachedRequest() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 27K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

       * an explicit timeout value, all of the given timeoutsToUse result in individual test cases. For
       * methods that do not take an explicit timeout value, a single test case is generated only if the
       * implicit timeout of that method matches the given timeoutsToUse. For example, enter() is
       * treated like enter(MAX, MILLIS) and tryEnter() is treated like enter(0, MILLIS).
       */
      private static void addTests(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

              @Override
              public void run() {
                manager.stopAsync().awaitStopped();
              }
            };
        stoppingThread.start();
        // this should be super fast since the only non-stopped service is a NoOpService
        stoppingThread.join(1000);
        assertFalse("stopAsync has deadlocked!.", stoppingThread.isAlive());
        failLeave.countDown(); // release the background thread
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ImmutableListTest.java

        assertThrows(NullPointerException.class, () -> ImmutableList.of("a", null, "b"));
      }
    
      public void testCreation_generic() {
        List<String> a = ImmutableList.of("a");
        // only verify that there is no compile warning
        ImmutableList<List<String>> unused = ImmutableList.of(a, a);
      }
    
      public void testCreation_arrayOfArray() {
        String[] array = new String[] {"a"};
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  5. istioctl/pkg/waypoint/waypoint.go

    				Listeners: []gateway.Listener{{
    					Name:     "mesh",
    					Port:     15008,
    					Protocol: gateway.ProtocolType(protocol.HBONE),
    				}},
    			},
    		}
    
    		// only label if the user has provided their own value, otherwise we let istiod choose a default at runtime (service)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

     *
     * ### Scheme
     *
     * Sometimes referred to as *protocol*, A URL's scheme describes what mechanism should be used to
     * retrieve the resource. Although URLs have many schemes (`mailto`, `file`, `ftp`), this class only
     * supports `http` and `https`. Use [java.net.URI][URI] for URLs with arbitrary schemes.
     *
     * ### Username and Password
     *
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 63.5K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

         * <p>Deals correctly with quotes and control-chars (tab, backslash, cr, ff, etc.) </p>
         *
         * <p>So a tab becomes the characters <code>'\\'</code> and
         * <code>'t'</code>.</p>
         *
         * <p>The only difference between Java strings and JavaScript strings
         * is that in JavaScript, a single quote must be escaped.</p>
         *
         * <p>Example:</p>
         * <pre>
         * input string: He didn't say, "Stop!"
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  8. tests/create_test.go

    	AssertEqual(t, u2.Email, "on-conflict-user-email-2")
    	AssertEqual(t, u2.Mobile, "133xxxx")
    }
    
    func TestCreateFromMapWithoutPK(t *testing.T) {
    	if !isMysql() {
    		t.Skipf("This test case skipped, because of only supporting for mysql")
    	}
    
    	// case 1: one record, create from map[string]interface{}
    	mapValue1 := map[string]interface{}{"name": "create_from_map_with_schema1", "age": 1}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Mar 19 03:50:28 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  9. cmd/common-main.go

    	gob.Register(madmin.TimeInfo{})
    	gob.Register(madmin.XFSErrorConfigs{})
    	gob.Register(map[string]string{})
    	gob.Register(map[string]interface{}{})
    
    	// All minio-go and madmin-go API operations shall be performed only once,
    	// another way to look at this is we are turning off retries.
    	minio.MaxRetry = 1
    	madmin.MaxRetry = 1
    
    	currentReleaseTime, _ = GetCurrentReleaseTime()
    }
    
    const consolePrefix = "CONSOLE_"
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  10. cmd/metacache-entries_test.go

    			m:    metaCacheEntries{inputSerialized[0], inputSerialized[0], inputSerialized[0], inputSerialized[2]},
    			r:    metadataResolutionParams{dirQuorum: 1, objQuorum: 1, strict: true},
    			// We get the both versions, since we only request quorum 1
    			wantSelected: &inputSerialized[2],
    			wantOk:       true,
    		},
    		{
    			name:         "additional version, quorum two",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 31.6K bytes
    - Viewed (0)
Back to top