Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 39 for RoundTrip (0.16 sec)

  1. cmd/bucket-lifecycle_test.go

    		}
    		if actual != tc.expectedStatus {
    			t.Fatalf("Test %d: got %v expected %v", i+1, actual, tc.expectedStatus)
    		}
    	}
    }
    
    // TestRestoreObjStatusRoundTrip restoreObjStatus roundtrip
    func TestRestoreObjStatusRoundTrip(t *testing.T) {
    	testCases := []restoreObjStatus{
    		ongoingRestoreObj(),
    		completedRestoreObj(time.Now().UTC()),
    	}
    	for i, tc := range testCases {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue May 31 09:57:57 GMT 2022
    - 7K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/UrlComponentEncodingTester.kt

        component[builder] = codePointString
        val url = builder.build()
        val expected = component.canonicalize(codePointString)
        val actual = component[url]
        if (expected != actual) {
          fail("Roundtrip $component $codePoint $url $expected != $actual")
        }
      }
    
      private fun testParseOriginal(
        codePoint: Int,
        codePointString: String,
        encoding: Encoding,
        component: Component,
      ) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/IntsTest.java

        assertThat(array).isEqualTo(new int[] {(int) 2, (int) 1});
        array[1] = (int) 3;
        assertThat(list).containsExactly((int) 2, (int) 3).inOrder();
      }
    
      public void testAsList_toArray_roundTrip() {
        int[] array = {(int) 0, (int) 1, (int) 2};
        List<Integer> list = Ints.asList(array);
        int[] newArray = Ints.toArray(list);
    
        // Make sure it returned a copy
        list.set(0, (int) 4);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 28.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/CharsTest.java

        assertThat(array).isEqualTo(new char[] {(char) 2, (char) 1});
        array[1] = (char) 3;
        assertThat(list).containsExactly((char) 2, (char) 3).inOrder();
      }
    
      public void testAsList_toArray_roundTrip() {
        char[] array = {(char) 0, (char) 1, (char) 2};
        List<Character> list = Chars.asList(array);
        char[] newArray = Chars.toArray(list);
    
        // Make sure it returned a copy
        list.set(0, (char) 4);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 24.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/ShortsTest.java

        assertThat(array).isEqualTo(new short[] {(short) 2, (short) 1});
        array[1] = (short) 3;
        assertThat(list).containsExactly((short) 2, (short) 3).inOrder();
      }
    
      public void testAsList_toArray_roundTrip() {
        short[] array = {(short) 0, (short) 1, (short) 2};
        List<Short> list = Shorts.asList(array);
        short[] newArray = Shorts.toArray(list);
    
        // Make sure it returned a copy
        list.set(0, (short) 4);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/primitives/FloatsTest.java

        assertThat(array).isEqualTo(new float[] {(float) 2, (float) 1});
        array[1] = (float) 3;
        assertThat(list).containsExactly((float) 2, (float) 3).inOrder();
      }
    
      public void testAsList_toArray_roundTrip() {
        float[] array = {(float) 0, (float) 1, (float) 2};
        List<Float> list = Floats.asList(array);
        float[] newArray = Floats.toArray(list);
    
        // Make sure it returned a copy
        list.set(0, (float) 4);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 29.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/IntsTest.java

        assertThat(array).isEqualTo(new int[] {(int) 2, (int) 1});
        array[1] = (int) 3;
        assertThat(list).containsExactly((int) 2, (int) 3).inOrder();
      }
    
      public void testAsList_toArray_roundTrip() {
        int[] array = {(int) 0, (int) 1, (int) 2};
        List<Integer> list = Ints.asList(array);
        int[] newArray = Ints.toArray(list);
    
        // Make sure it returned a copy
        list.set(0, (int) 4);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 28.4K bytes
    - Viewed (0)
  8. cmd/xl-storage-format-v2_test.go

    	failOnErr(xl.AddVersion(fi))
    
    	fi.VersionID = mustGetUUID()
    	fi.DataDir = mustGetUUID()
    	fi.Data = data2
    	failOnErr(xl.AddVersion(fi))
    
    	serialized, err := xl.AppendTo(nil)
    	failOnErr(err)
    	// Roundtrip data
    	var xl2 xlMetaV2
    	failOnErr(xl2.Load(serialized))
    
    	// We should have one data entry
    	list, err := xl2.data.list()
    	failOnErr(err)
    	if len(list) != 2 {
    		t.Fatalf("want 1 entry, got %d", len(list))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 08 17:50:48 GMT 2024
    - 36.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/ShortsTest.java

        assertThat(array).isEqualTo(new short[] {(short) 2, (short) 1});
        array[1] = (short) 3;
        assertThat(list).containsExactly((short) 2, (short) 3).inOrder();
      }
    
      public void testAsList_toArray_roundTrip() {
        short[] array = {(short) 0, (short) 1, (short) 2};
        List<Short> list = Shorts.asList(array);
        short[] newArray = Shorts.toArray(list);
    
        // Make sure it returned a copy
        list.set(0, (short) 4);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/CharsTest.java

        assertThat(array).isEqualTo(new char[] {(char) 2, (char) 1});
        array[1] = (char) 3;
        assertThat(list).containsExactly((char) 2, (char) 3).inOrder();
      }
    
      public void testAsList_toArray_roundTrip() {
        char[] array = {(char) 0, (char) 1, (char) 2};
        List<Character> list = Chars.asList(array);
        char[] newArray = Chars.toArray(list);
    
        // Make sure it returned a copy
        list.set(0, (char) 4);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 24.7K bytes
    - Viewed (0)
Back to top