Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1011 - 1020 of 1,836 for Methode (0.14 sec)

  1. guava-testlib/src/com/google/common/collect/testing/google/GoogleHelpers.java

    package com.google.common.collect.testing.google;
    
    import static junit.framework.Assert.fail;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.Multimap;
    
    /**
     * Helper methods/assertions for use with {@code com.google.common.collect} types.
     *
     * @author Colin Decker
     */
    @GwtCompatible
    final class GoogleHelpers {
    
      private GoogleHelpers() {}
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 23 04:28:13 UTC 2015
    - 1.1K bytes
    - Viewed (0)
  2. internal/rest/client.go

    func (c *Client) newRequest(ctx context.Context, method string, u url.URL, body io.Reader) (*http.Request, error) {
    	rc, ok := body.(io.ReadCloser)
    	if !ok && body != nil {
    		rc = io.NopCloser(body)
    	}
    	req := &http.Request{
    		Method:     method,
    		URL:        &u,
    		Proto:      "HTTP/1.1",
    		ProtoMajor: 1,
    		ProtoMinor: 1,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 26 12:55:01 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/UnannotatedJavaClass.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.base;
    
    /** Class containing an unannotated Java method for use from {@code OptionalExtensionsTest}. */
    final class UnannotatedJavaClass {
      static Object getNull() {
        return null;
      }
    
      private UnannotatedJavaClass() {}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Aug 02 17:05:25 UTC 2023
    - 854 bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Supplier.java

     * Otherwise, at least reduce <i>explicit</i> dependencies on this type by using lambda expressions
     * or method references instead of classes, leaving your code easier to migrate in the future.
     *
     * <p>To use an existing supplier instance (say, named {@code supplier}) in a context where the
     * <i>other type</i> of supplier is expected, use the method reference {@code supplier::get}. A
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 15 12:15:07 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/Java8Compatibility.java

     * the License.
     */
    
    package com.google.common.hash;
    
    import com.google.common.annotations.GwtIncompatible;
    import java.nio.Buffer;
    
    /**
     * Wrappers around {@link Buffer} methods that are covariantly overridden in Java 9+. See
     * https://github.com/google/guava/issues/3990
     */
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    final class Java8Compatibility {
      static void clear(Buffer b) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 1.2K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/primitives/UnsignedLongsBenchmark.java

     */
    
    package com.google.common.primitives;
    
    import com.google.caliper.BeforeExperiment;
    import com.google.caliper.Benchmark;
    import java.util.Random;
    
    /**
     * Benchmarks for certain methods of {@code UnsignedLongs}.
     *
     * @author Eamonn McManus
     */
    public class UnsignedLongsBenchmark {
      private static final int ARRAY_SIZE = 0x10000;
      private static final int ARRAY_MASK = 0x0ffff;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.3K bytes
    - Viewed (0)
  7. internal/lock/lock_test.go

    // Tests lock directory fail.
    func TestLockDirFail(t *testing.T) {
    	d := t.TempDir()
    
    	_, err := LockedOpenFile(d, os.O_APPEND, 0o600)
    	if err == nil {
    		t.Fatal("Should fail here")
    	}
    }
    
    // Tests rwlock methods.
    func TestRWLockedFile(t *testing.T) {
    	f, err := os.CreateTemp("", "lock")
    	if err != nil {
    		t.Fatal(err)
    	}
    	f.Close()
    	defer func() {
    		err = os.Remove(f.Name())
    		if err != nil {
    			t.Fatal(err)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  8. api/next/61515.txt

    pkg testing, method (*B) Loop() bool #61515...
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Sep 20 19:09:41 UTC 2024
    - 44 bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/CallTest.kt

        val request =
          Request.Builder()
            .url(server.url("/"))
            .method("POST", ByteArray(0).toRequestBody(null))
            .build()
        executeSynchronously(request)
          .assertCode(200)
          .assertBody("abc")
        val recordedRequest = server.takeRequest()
        assertThat(recordedRequest.method).isEqualTo("POST")
        assertThat(recordedRequest.body.size).isEqualTo(0)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  10. cmd/object-api-interface.go

    type GetObjectInfoFn func(ctx context.Context, bucket, object string, opts ObjectOptions) (ObjectInfo, error)
    
    // WalkVersionsSortOrder represents the sort order in which versions of an
    // object should be returned by ObjectLayer.Walk method
    type WalkVersionsSortOrder uint8
    
    const (
    	// WalkVersionsSortAsc - Sort in ascending order of ModTime
    	WalkVersionsSortAsc WalkVersionsSortOrder = iota
    	// WalkVersionsSortDesc - Sort in descending order of ModTime
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 17.3K bytes
    - Viewed (0)
Back to top