Search Options

Results per page
Sort
Preferred Languages
Advance

Results 621 - 630 of 685 for Arguments (0.04 sec)

  1. guava/src/com/google/common/base/Functions.java

     */
    @GwtCompatible
    public final class Functions {
      private Functions() {}
    
      /**
       * A function equivalent to the method reference {@code Object::toString}. The function simply
       * invokes {@code toString} on its argument and returns the result. It throws a {@link
       * NullPointerException} on null input.
       *
       * <p><b>Warning:</b> The returned function may not be <i>consistent with equals</i> (as
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/curl/CurlRequestTest.java

            assertNull(request.proxy());
            assertNull(request.body());
        }
    
        @Test
        public void testConstructorWithNullUrl() {
            // URL can be null with the two-argument constructor
            CurlRequest request = new CurlRequest(Method.DELETE, null);
    
            assertEquals(Method.DELETE, request.method());
            assertEquals("UTF-8", request.encoding());
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Mon Nov 24 03:10:07 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/Booleans.java

        }
      }
    
      /**
       * Copies a collection of {@code Boolean} instances into a new array of primitive {@code boolean}
       * values.
       *
       * <p>Elements are copied from the argument collection as if by {@code collection.toArray()}.
       * Calling this method is as thread-safe as calling that method.
       *
       * <p><b>Note:</b> consider representing the collection as a {@link java.util.BitSet} instead.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 25 15:01:23 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/primitives/Booleans.java

        }
      }
    
      /**
       * Copies a collection of {@code Boolean} instances into a new array of primitive {@code boolean}
       * values.
       *
       * <p>Elements are copied from the argument collection as if by {@code collection.toArray()}.
       * Calling this method is as thread-safe as calling that method.
       *
       * <p><b>Note:</b> consider representing the collection as a {@link java.util.BitSet} instead.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 25 15:01:23 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  5. cmd/batch-expire.go

    			HTTPStatusCode: http.StatusBadRequest,
    		}
    	}
    
    	if r.Bucket == "" {
    		return batchExpireJobError{
    			Code:           "InvalidArgument",
    			Description:    "Bucket argument missing",
    			HTTPStatusCode: http.StatusBadRequest,
    		}
    	}
    
    	if _, err := o.GetBucketInfo(ctx, r.Bucket, BucketOptions{}); err != nil {
    		if isErrBucketNotFound(err) {
    			return batchExpireJobError{
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Apr 22 11:16:32 UTC 2025
    - 23K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

          if (classToTest.getSimpleName().equals("ReflectionFreeAssertThrows")) {
            /*
             * These classes handle null properly but throw IllegalArgumentException for the default
             * Class argument that this test uses. Normally we'd fix that by declaring a
             * ReflectionFreeAssertThrowsTest with a testNulls method, but that's annoying to have to do
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/SmbResourceTest.java

            @DisplayName("renameTo should throw NullPointerException for null destination")
            void testRenameTo_NullDestination() throws CIFSException {
                // Given
                doThrow(new NullPointerException("dest argument is null")).when(mockResource).renameTo(null);
    
                // When/Then
                assertThrows(NullPointerException.class, () -> mockResource.renameTo(null),
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  8. cmd/signature-v4-parser_test.go

    func generateCredentialStr(accessKey, date, region, service, requestVersion string) string {
    	return "Credential=" + joinWithSlash(accessKey, date, region, service, requestVersion)
    }
    
    // joins the argument strings with a '/' and returns it.
    func joinWithSlash(accessKey, date, region, service, requestVersion string) string {
    	return strings.Join([]string{
    		accessKey,
    		date,
    		region,
    		service,
    		requestVersion,
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 10 18:57:35 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  9. src/bytes/bytes.go

    // are the same length and contain the same bytes.
    // A nil argument is equivalent to an empty slice.
    func Equal(a, b []byte) bool {
    	// Neither cmd/compile nor gccgo allocates for these string conversions.
    	return string(a) == string(b)
    }
    
    // Compare returns an integer comparing two byte slices lexicographically.
    // The result will be 0 if a == b, -1 if a < b, and +1 if a > b.
    // A nil argument is equivalent to an empty slice.
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Tue Sep 16 16:42:15 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Chars.java

        }
      }
    
      /**
       * Copies a collection of {@code Character} instances into a new array of primitive {@code char}
       * values.
       *
       * <p>Elements are copied from the argument collection as if by {@code collection.toArray()}.
       * Calling this method is as thread-safe as calling that method.
       *
       * @param collection a collection of {@code Character} objects
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
Back to top