Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 32 for Data1A (0.05 seconds)

  1. android/guava-tests/test/com/google/common/util/concurrent/JdkFutureAdaptersTest.java

     */
    @NullUnmarked
    @GwtIncompatible
    @J2ktIncompatible
    public class JdkFutureAdaptersTest extends TestCase {
      private static final String DATA1 = "data";
    
      public void testListenInPoolThreadReturnsSameFuture() throws Exception {
        ListenableFuture<String> listenableFuture = immediateFuture(DATA1);
        assertThat(listenInPoolThread(listenableFuture)).isSameInstanceAs(listenableFuture);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 10K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

            Crawler.Options options = new Crawler.Options();
            options.dataConfigIds = "data1,data2,data3,data4";
    
            List<String> result = options.getDataConfigIdList();
            assertNotNull(result);
            assertEquals(4, result.size());
            assertTrue(result.contains("data1"));
            assertTrue(result.contains("data2"));
            assertTrue(result.contains("data3"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 30.8K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/util/concurrent/JdkFutureAdaptersTest.java

     */
    @NullUnmarked
    @GwtIncompatible
    @J2ktIncompatible
    public class JdkFutureAdaptersTest extends TestCase {
      private static final String DATA1 = "data";
    
      public void testListenInPoolThreadReturnsSameFuture() throws Exception {
        ListenableFuture<String> listenableFuture = immediateFuture(DATA1);
        assertThat(listenInPoolThread(listenableFuture)).isSameInstanceAs(listenableFuture);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 10K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

            @DisplayName("Should be equal for same values")
            void testEquals() {
                assertEquals(data1, data2);
                assertEquals(data2, data1);
            }
    
            @Test
            @DisplayName("Should be equal to itself")
            void testEqualsSelf() {
                assertEquals(data1, data1);
            }
    
            @Test
            @DisplayName("Should have same hashCode for equal objects")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 30.6K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb1/util/HexdumpTest.java

            byte[] data1 = { 0x00, 0x01, 0x02, 0x03 };
            assertEquals("00", Hexdump.toHexString(data1, 0, 2)); // 2 chars = 1 byte
            assertEquals("000", Hexdump.toHexString(data1, 0, 3)); // 3 chars = 1.5 bytes (rounds up to 2)
            assertEquals("0001", Hexdump.toHexString(data1, 0, 4)); // 4 chars = 2 bytes
            assertEquals("000102", Hexdump.toHexString(data1, 0, 6)); // 6 chars = 3 bytes
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb1/util/HMACT64Test.java

            // Test that different data produces different results
            byte[] data1 = "data1".getBytes();
            byte[] data2 = "data2".getBytes();
    
            HMACT64 hmac1 = new HMACT64(TEST_KEY);
            HMACT64 hmac2 = new HMACT64(TEST_KEY);
    
            hmac1.engineUpdate(data1, 0, data1.length);
            hmac2.engineUpdate(data2, 0, data2.length);
    
            byte[] result1 = hmac1.engineDigest();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  7. tests/test_openapi_cache_root_path.py

        # Attacker request with a spoofed root_path
        attacker_client = TestClient(app, root_path="/evil-api")
        response1 = attacker_client.get("/openapi.json")
        data1 = response1.json()
        assert any(s.get("url") == "/evil-api" for s in data1.get("servers", []))
    
        # Subsequent legitimate request with no root_path
        clean_client = TestClient(app)
        response2 = clean_client.get("/openapi.json")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 24 09:28:10 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/core/misc/Base64UtilTest.java

            // produces the same output as the old custom implementation
    
            // Test case 1: Standard padding
            final byte[] data1 = "abc".getBytes();
            assertEquals("YWJj", Base64Util.encode(data1));
    
            // Test case 2: Single padding
            final byte[] data2 = "abcd".getBytes();
            assertEquals("YWJjZA==", Base64Util.encode(data2));
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 6K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt

        val headers1 = peer.takeFrame()
        assertThat(headers1.type).isEqualTo(Http2.TYPE_HEADERS)
        val data1 = peer.takeFrame()
        assertThat(data1.type).isEqualTo(Http2.TYPE_DATA)
        assertThat(data1.streamId).isEqualTo(3)
        assertArrayEquals("abcdefghi".toByteArray(), data1.data)
        assertThat(data1.inFinished).isFalse()
        val headers2 = peer.takeFrame()
        assertThat(headers2.type).isEqualTo(Http2.TYPE_HEADERS)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 75.5K bytes
    - Click Count (0)
  10. src/archive/tar/reader_test.go

    		err   error  // Expected error outcome
    	}{
    		{"", 0, io.EOF}, // Empty file is a "valid" tar file
    		{data1[:511], 0, io.ErrUnexpectedEOF},
    		{data1[:512], 1, io.ErrUnexpectedEOF},
    		{data1[:1024], 1, io.EOF},
    		{data1[:1536], 2, io.ErrUnexpectedEOF},
    		{data1[:2048], 2, io.EOF},
    		{data1, 2, io.EOF},
    		{data1[:2048] + data2[:1536], 3, io.EOF},
    		{data2[:511], 0, io.ErrUnexpectedEOF},
    		{data2[:512], 1, io.ErrUnexpectedEOF},
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Dec 30 15:28:53 GMT 2025
    - 47.5K bytes
    - Click Count (0)
Back to Top