Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 35 for a1234 (0.03 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

       */
      @Test
      fun trimToSizeWithActiveEdit() {
        val expectedByteCount = if (windows) 10L else 0L
        val afterRemoveFileContents = if (windows) "a1234" else null
    
        set("a", "a1234", "a1234")
        val a = cache.edit("a")!!
        a.setString(0, "a123")
        cache.maxSize = 8 // Smaller than the sum of active edits!
        cache.flush() // Force trimToSize().
        assertThat(cache.size()).isEqualTo(expectedByteCount)
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Nov 01 12:18:11 GMT 2025
    - 59.4K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/primitives/CharsTest.java

        testRotate(new char[] {'1', '2', '3', '4', '5'}, 1, new char[] {'5', '1', '2', '3', '4'});
        testRotate(new char[] {'1', '2', '3', '4', '5'}, 3, new char[] {'3', '4', '5', '1', '2'});
        testRotate(new char[] {'1', '2', '3', '4', '5'}, 4, new char[] {'2', '3', '4', '5', '1'});
        testRotate(new char[] {'1', '2', '3', '4', '5'}, 6, new char[] {'5', '1', '2', '3', '4'});
      }
    
      public void testRotateIndexed() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 25.9K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

        testRotate(new double[] {1, 2, 3, 4, 5}, -4, new double[] {5, 1, 2, 3, 4});
        testRotate(new double[] {1, 2, 3, 4, 5}, -3, new double[] {4, 5, 1, 2, 3});
        testRotate(new double[] {1, 2, 3, 4, 5}, -1, new double[] {2, 3, 4, 5, 1});
        testRotate(new double[] {1, 2, 3, 4, 5}, 0, new double[] {1, 2, 3, 4, 5});
        testRotate(new double[] {1, 2, 3, 4, 5}, 1, new double[] {5, 1, 2, 3, 4});
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 30.9K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/primitives/IntsTest.java

        testRotate(new int[] {1, 2, 3, 4, 5}, -4, new int[] {5, 1, 2, 3, 4});
        testRotate(new int[] {1, 2, 3, 4, 5}, -3, new int[] {4, 5, 1, 2, 3});
        testRotate(new int[] {1, 2, 3, 4, 5}, -1, new int[] {2, 3, 4, 5, 1});
        testRotate(new int[] {1, 2, 3, 4, 5}, 0, new int[] {1, 2, 3, 4, 5});
        testRotate(new int[] {1, 2, 3, 4, 5}, 1, new int[] {5, 1, 2, 3, 4});
        testRotate(new int[] {1, 2, 3, 4, 5}, 3, new int[] {3, 4, 5, 1, 2});
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 29.3K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/primitives/ShortsTest.java

        testRotate(new short[] {1, 2, 3, 4, 5}, -3, new short[] {4, 5, 1, 2, 3});
        testRotate(new short[] {1, 2, 3, 4, 5}, -1, new short[] {2, 3, 4, 5, 1});
        testRotate(new short[] {1, 2, 3, 4, 5}, 0, new short[] {1, 2, 3, 4, 5});
        testRotate(new short[] {1, 2, 3, 4, 5}, 1, new short[] {5, 1, 2, 3, 4});
        testRotate(new short[] {1, 2, 3, 4, 5}, 3, new short[] {3, 4, 5, 1, 2});
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 27.5K bytes
    - Click Count (0)
  6. tests/test_tutorial/test_websockets/test_tutorial003.py

        with (
            client.websocket_connect("/ws/1234") as connection,
            client.websocket_connect("/ws/5678") as connection_two,
        ):
            connection.send_text("Hello from 1234")
            data1 = connection.receive_text()
            assert data1 == "You wrote: Hello from 1234"
            data2 = connection_two.receive_text()
            client1_says = "Client #1234 says: Hello from 1234"
            assert data2 == client1_says
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  7. src/archive/tar/reader_test.go

    		wantSize: 01234,
    	}, {
    		input: makeInput(FormatGNU, "1234",
    			append(makeSparseStrings(sparseDatas{{0, 0}, {1, 1}}), []string{"", "blah"}...)...),
    		wantMap:  sparseDatas{{0, 0}, {1, 1}},
    		wantSize: 01234,
    	}, {
    		input: makeInput(FormatGNU, "3333",
    			makeSparseStrings(sparseDatas{{0, 1}, {2, 1}, {4, 1}, {6, 1}})...),
    		wantMap:  sparseDatas{{0, 1}, {2, 1}, {4, 1}, {6, 1}},
    		wantSize: 03333,
    	}, {
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Dec 15 16:34:13 GMT 2025
    - 47.5K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/RequestCommonTest.kt

      }
    
      @Test
      fun kotlinReifiedTag() {
        val uuidTag = "1234"
        val request =
          Request
            .Builder()
            .url("https://square.com")
            .tag<String>(uuidTag) // Use the type parameter.
            .build()
        assertThat(request.tag<String>()).isSameAs("1234")
        assertThat(request.tag<Any>()).isNull()
    
        // Alternate access APIs also work.
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Oct 24 11:36:14 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  9. internal/rest/client_test.go

    		target any
    		want   bool
    	}{
    		{
    			name:   "url.Error",
    			err:    &url.Error{Op: "PUT", URL: "http://localhost/1234", Err: restError("remote server offline")},
    			target: &url.Error{},
    			want:   true,
    		},
    		{
    			name: "net.Error",
    			err:  &url.Error{Op: "PUT", URL: "http://localhost/1234", Err: restError("remote server offline")},
    			want: true,
    		},
    		{
    			name: "net.Error-unmatched",
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/cache/CacheEvictionTest.java

        Set<Integer> keySet = cache.asMap().keySet();
        assertThat(keySet).isEmpty();
    
        // add 0, 1, 2, 3, 4
        getAll(cache, asList(0, 1, 2, 3, 4));
        CacheTesting.drainRecencyQueues(cache);
        assertThat(keySet).containsExactly(0, 1, 2, 3, 4);
    
        // invalidate all
        cache.invalidateAll();
        CacheTesting.drainRecencyQueues(cache);
        assertThat(keySet).isEmpty();
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:19:59 GMT 2025
    - 15.1K bytes
    - Click Count (0)
Back to Top