Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 96 for Whittle (0.07 sec)

  1. android/guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

        assertEquals("../..", simplifyPath("./.././../"));
      }
    
      /*
       * We co-opt some URI resolution tests for our purposes.
       * Some of the tests have queries and anchors that are a little silly here.
       */
    
      /** http://gbiv.com/protocols/uri/rfc/rfc2396.html#rfc.section.C.1 */
      public void testRfc2396Normal() {
        assertEquals("/a/b/c/g", simplifyPath("/a/b/c/g"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

        assertEquals("../..", simplifyPath("./.././../"));
      }
    
      /*
       * We co-opt some URI resolution tests for our purposes.
       * Some of the tests have queries and anchors that are a little silly here.
       */
    
      /** http://gbiv.com/protocols/uri/rfc/rfc2396.html#rfc.section.C.1 */
      public void testRfc2396Normal() {
        assertEquals("/a/b/c/g", simplifyPath("/a/b/c/g"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    import org.mockito.InOrder;
    import org.mockito.Mockito;
    
    /**
     * Tests for MoreExecutors.
     *
     * @author Kyle Littlefield (klittle)
     */
    public class MoreExecutorsTest extends JSR166TestCase {
    
      private static final Runnable EMPTY_RUNNABLE =
          new Runnable() {
            @Override
            public void run() {}
          };
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    import org.mockito.InOrder;
    import org.mockito.Mockito;
    
    /**
     * Tests for MoreExecutors.
     *
     * @author Kyle Littlefield (klittle)
     */
    public class MoreExecutorsTest extends JSR166TestCase {
    
      private static final Runnable EMPTY_RUNNABLE =
          new Runnable() {
            @Override
            public void run() {}
          };
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  5. src/bufio/scan_test.go

    }
    
    var testError = errors.New("testError")
    
    // Test the correct error is returned when the split function errors out.
    func TestSplitError(t *testing.T) {
    	// Create a split function that delivers a little data, then a predictable error.
    	numSplits := 0
    	const okCount = 7
    	errorSplit := func(data []byte, atEOF bool) (advance int, token []byte, err error) {
    		if atEOF {
    			panic("didn't get enough data")
    		}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Sep 22 16:22:42 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/net/InetAddresses.java

        }
      }
    
      /**
       * Returns an address from a <b>little-endian ordered</b> byte array (the opposite of what {@link
       * InetAddress#getByAddress} expects).
       *
       * <p>IPv4 address byte array must be 4 bytes long and IPv6 byte array must be 16 bytes long.
       *
       * @param addr the raw IP address in little-endian byte order
       * @return an InetAddress object created from the raw IP address
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  7. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

        // 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
        connection.setRequestMethod("POST")
        connection.setDoOutput(true)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  8. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

            .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
        connection.requestMethod = "POST"
        connection.doOutput = true
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  9. 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
    	MOV	$2047, X5				// 9302f07f
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Oct 25 12:05:29 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Chars.java

       * input byte array {@code {0x54, 0x32}} would yield the {@code char} value {@code '\\u5432'}.
       *
       * <p>Arguably, it's preferable to use {@link java.nio.ByteBuffer}; that library exposes much more
       * flexibility at little cost in readability.
       *
       * @throws IllegalArgumentException if {@code bytes} has fewer than 2 elements
       */
      @GwtIncompatible // doesn't work
      public static char fromByteArray(byte[] bytes) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 23.9K bytes
    - Viewed (0)
Back to top