Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 160 for arbitrary (0.07 sec)

  1. android/guava/src/com/google/common/hash/HashCode.java

    import com.google.common.primitives.UnsignedInts;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.io.Serializable;
    import javax.annotation.CheckForNull;
    
    /**
     * An immutable hash code of arbitrary bit length.
     *
     * @author Dimitris Andreou
     * @author Kurt Alfred Kluever
     * @since 11.0
     */
    @ElementTypesAreNonnullByDefault
    public abstract class HashCode {
      HashCode() {}
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:54:59 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  2. internal/logger/logger.go

    // unique set. data is expected to be pre-sorted, and the resulting set in
    // the range [0:size] will remain in sorted order. Uniq, following a
    // sort.Sort call, can be used to prepare arbitrary inputs for use as sets.
    func uniq(data sort.Interface) (size int) {
    	p, l := 0, data.Len()
    	if l <= 1 {
    		return l
    	}
    	for i := 1; i < l; i++ {
    		if !data.Less(p, i) {
    			continue
    		}
    		p++
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 09:43:48 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  3. src/archive/zip/struct.go

    	// and must use forward slashes instead of back slashes. A trailing slash
    	// indicates that this file is a directory and should have no data.
    	Name string
    
    	// Comment is any arbitrary user-defined string shorter than 64KiB.
    	Comment string
    
    	// NonUTF8 indicates that Name and Comment are not encoded in UTF-8.
    	//
    	// By specification, the only other encoding permitted should be CP-437,
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue May 28 21:41:09 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  4. finisher_api.go

    			tx.Statement.ReflectValue.Set(elem)
    		}
    		tx.Statement.ReflectValue = elem
    	}
    	Scan(rows, tx, ScanInitialized)
    	return tx.Error
    }
    
    // Connection uses a db connection to execute an arbitrary number of commands in fc. When finished, the connection is
    // returned to the connection pool.
    func (db *DB) Connection(fc func(tx *DB) error) (err error) {
    	if db.Error != nil {
    		return db.Error
    	}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Sep 14 12:58:29 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  5. guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

        equalsTester.addEqualityGroup(obj);
        try {
          equalsTester.testEquals();
        } catch (AssertionFailedError e) {
          assertErrorMessage(
              e, obj + " must not be Object#equals to an arbitrary object of another class");
          return;
        }
        fail("Should get equal to incompatible class error");
      }
    
      /** Test proper handling where an object is not equal to one the user has said should be equal */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/reflect/TypeResolver.java

       * {@code actual} can be {@code Map<K, V>} and {@code Map<String, Integer>} respectively, or they
       * can be {@code E[]} and {@code String[]} respectively, or even any arbitrary combination
       * thereof.
       *
       * @param formal The type whose type variables or itself is mapped to other type(s). It's almost
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 24.2K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/response-model.md

    ```
    
    This will also work because `RedirectResponse` is a subclass of `Response`, and FastAPI will automatically handle this simple case.
    
    ### Invalid Return Type Annotations
    
    But when you return some other arbitrary object that is not a valid Pydantic type (e.g. a database object) and you annotate it like that in the function, FastAPI will try to create a Pydantic response model from that type annotation, and will fail.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  8. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

      @Test
      fun disconnectRequestHalfway() {
        server.enqueue(MockResponse().setSocketPolicy(SocketPolicy.DISCONNECT_DURING_REQUEST_BODY))
        // Limit the size of the request body that the server holds in memory to an arbitrary
        // 3.5 MBytes so this test can pass on devices with little memory.
        server.bodyLimit = 7 * 512 * 1024
        val connection = server.url("/").toUrl().openConnection() as HttpURLConnection
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  9. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

        server.enqueue(
          MockResponse.Builder()
            .socketPolicy(DisconnectDuringRequestBody)
            .build(),
        )
        // Limit the size of the request body that the server holds in memory to an arbitrary
        // 3.5 MBytes so this test can pass on devices with little memory.
        server.bodyLimit = 7 * 512 * 1024
        val connection = server.url("/").toUrl().openConnection() as HttpURLConnection
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/asm/testdata/riscv64.s

    	//
    	// Privileged ISA
    	//
    
    	// 3.3.1: Environment Call and Breakpoint
    	ECALL						// 73000000
    	SCALL						// 73000000
    	EBREAK						// 73001000
    	SBREAK						// 73001000
    
    	// Arbitrary bytes (entered in little-endian mode)
    	WORD	$0x12345678	// WORD $305419896	// 78563412
    	WORD	$0x9abcdef0	// WORD $2596069104	// f0debc9a
    
    	// MOV pseudo-instructions
    	MOV	X5, X6					// 13830200
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Oct 25 12:05:29 UTC 2024
    - 16.8K bytes
    - Viewed (0)
Back to top