Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 289 for expected (0.05 sec)

  1. cni/test/testdata/expected/minikube_cni.conflist.expected

    Mitch Connors <******@****.***> 1746509923 -0700
    Registered: 2025-05-28 22:53
    - Last Modified: 2025-05-06 05:38
    - 794 bytes
    - Viewed (0)
  2. tests/lru_test.go

    	if !reflect.DeepEqual(lc.Keys(), []string{"key1"}) {
    		t.Fatalf("value differs from expected")
    	}
    
    	if lc.Resize(0) != 0 {
    		t.Fatalf("evicted count differs from expected")
    	}
    	if lc.Resize(2) != 0 {
    		t.Fatalf("evicted count differs from expected")
    	}
    	lc.Add("key2", "val2")
    	if lc.Resize(1) != 1 {
    		t.Fatalf("evicted count differs from expected")
    	}
    }
    
    func TestLRUEdgeCases(t *testing.T) {
    Registered: 2025-05-25 09:35
    - Last Modified: 2025-05-25 07:40
    - 10.4K bytes
    - Viewed (0)
  3. buildscripts/minio-upgrade.sh

    	if [ "${sum1_heal}" != "${sum1}" ]; then
    		echo "mismatch expected ${sum1_heal}, got ${sum1}"
    		exit 1
    	fi
    }
    
    verify_checksum_mc() {
    	local expected
    	expected=$(mc cat "$1" | sha256sum)
    	local got
    	got=$(mc cat "$2" | sha256sum)
    
    	if [ "${expected}" != "${got}" ]; then
    		echo "mismatch - expected ${expected}, got ${got}"
    		exit 1
    	fi
    	echo "matches - ${expected}, got ${got}"
    }
    
    add_alias() {
    Registered: 2025-05-25 19:28
    - Last Modified: 2025-04-21 16:24
    - 2.8K bytes
    - Viewed (0)
  4. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

            .build(),
        )
        val connection = server.url("/").toUrl().openConnection()
        try {
          connection.getInputStream().read()
          fail<Unit>()
        } catch (expected: IOException) {
          // Expected.
        }
      }
    
      @Test
      fun responseTimeout() {
        server.enqueue(
          MockResponse
            .Builder()
            .body("ABC")
            .clearHeaders()
    Registered: 2025-05-30 11:42
    - Last Modified: 2025-05-10 20:11
    - 24K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/testdata/riscv64validation.s

    	VSOXEI8V	V3, X11, V0, (X10)		// ERROR "expected vector register in vs2 position"
    	VL1RV		(X10), X10			// ERROR "expected vector register in vd position"
    	VL1RV		(V1), V3			// ERROR "expected integer register in rs1 position"
    	VS1RV		X11, (X11)			// ERROR "expected vector register in vs1 position"
    	VS1RV		V3, (V1)			// ERROR "expected integer register in rd position"
    Registered: 2025-05-27 11:13
    - Last Modified: 2025-05-21 14:19
    - 31.6K bytes
    - Viewed (0)
  6. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

        }.also { expected ->
          assertThat(expected.message!!).contains("refused")
        }
      }
    
      @Test
      fun http100Continue() {
        server.enqueue(MockResponse().setBody("response"))
        val url = server.url("/").toUrl()
        val connection = url.openConnection() as HttpURLConnection
        connection.setDoOutput(true)
        connection.setRequestProperty("Expect", "100-Continue")
    Registered: 2025-05-30 11:42
    - Last Modified: 2025-05-10 20:11
    - 22.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/ByteSourceTest.java

        ByteSource b3 = ByteSource.wrap(new byte[] {4, 5});
    
        byte[] expected = {0, 1, 2, 3, 4, 5};
    
        assertArrayEquals(expected, ByteSource.concat(ImmutableList.of(b1, b2, b3)).read());
        assertArrayEquals(expected, ByteSource.concat(b1, b2, b3).read());
        assertArrayEquals(expected, ByteSource.concat(ImmutableList.of(b1, b2, b3).iterator()).read());
        assertEquals(expected.length, ByteSource.concat(b1, b2, b3).size());
    Registered: 2025-05-30 12:43
    - Last Modified: 2025-05-13 18:46
    - 15.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/lang/ClassUtilTest.java

        /** */
        public static final String HOGE = "hoge";
    
        /**
         * @throws Exception
         */
        @Test(expected = EmptyArgumentException.class)
        public void testForName_EmptyName() throws Exception {
            ClassUtil.forName("");
        }
    
        /**
         * @throws Exception
         */
        @Test(expected = EmptyArgumentException.class)
        public void testGetField_EmptyName() throws Exception {
    Registered: 2025-05-24 08:58
    - Last Modified: 2025-05-10 01:32
    - 6.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/ByteSourceTester.java

          Random random = new Random();
          byte[] expected = factory.getExpected(bytes);
          // if expected.length == 0, off has to be 0 but length doesn't matter--result will be empty
          int off = expected.length == 0 ? 0 : random.nextInt(expected.length);
          int len = expected.length == 0 ? 4 : random.nextInt(expected.length - off);
    
    Registered: 2025-05-30 12:43
    - Last Modified: 2025-05-13 18:46
    - 8.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/SetsTest.java

        Set<Set<Integer>> expected = new HashSet<>();
        expected.add(ImmutableSet.<Integer>of());
        expected.add(ImmutableSet.of(1));
        expected.add(ImmutableSet.of(2));
        expected.add(ImmutableSet.of(3));
        expected.add(ImmutableSet.of(1, 2));
        expected.add(ImmutableSet.of(1, 3));
        expected.add(ImmutableSet.of(2, 3));
        expected.add(ImmutableSet.of(1, 2, 3));
    
    Registered: 2025-05-30 12:43
    - Last Modified: 2025-05-13 18:46
    - 46.8K bytes
    - Viewed (0)
Back to top