Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for World (0.15 sec)

  1. cmd/xl-storage_test.go

    		{
    			volume, "myobject", 0, 16,
    			[]byte("hello, world"),
    			io.ErrUnexpectedEOF,
    		},
    		// Reading from an offset success. - 7
    		{
    			volume, "myobject", 7, 5,
    			[]byte("world"), nil,
    		},
    		// Reading from an object but buffer size greater. - 8
    		{
    			volume, "myobject",
    			7, 8,
    			[]byte("world"),
    			io.ErrUnexpectedEOF,
    		},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  2. src/bufio/bufio_test.go

    }
    
    func TestReaderSimple(t *testing.T) {
    	data := "hello world"
    	b := NewReader(strings.NewReader(data))
    	if s := readBytes(b); s != "hello world" {
    		t.Errorf("simple hello world test failed: got %q", s)
    	}
    
    	b = NewReader(newRot13Reader(strings.NewReader(data)))
    	if s := readBytes(b); s != "uryyb jbeyq" {
    		t.Errorf("rot13 hello world test failed: got %q", s)
    	}
    }
    
    type readMaker struct {
    	name string
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  3. src/bytes/bytes_test.go

    					IndexAny(x[:k], cs[:j])
    				}
    			})
    		}
    	}
    }
    
    func BenchmarkIndexAnyUTF8(b *testing.B) {
    	x := Repeat([]byte{'#'}, 2048) // Never matches set
    	cs := "你好世界, hello world. 你好世界, hello world. 你好世界, hello world."
    	for k := 1; k <= 2048; k <<= 4 {
    		for j := 1; j <= 64; j <<= 1 {
    			b.Run(fmt.Sprintf("%d:%d", k, j), func(b *testing.B) {
    				for i := 0; i < b.N; i++ {
    					IndexAny(x[:k], cs[:j])
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  4. tests/test_application.py

    from .main import app
    
    client = TestClient(app)
    
    
    @pytest.mark.parametrize(
        "path,expected_status,expected_response",
        [
            ("/api_route", 200, {"message": "Hello World"}),
            ("/non_decorated_route", 200, {"message": "Hello World"}),
            ("/nonexistent", 404, {"detail": "Not Found"}),
        ],
    )
    def test_get_path(path, expected_status, expected_response):
        response = client.get(path)
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 21:56:59 GMT 2024
    - 52.2K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/EventListenerTest.kt

          MockResponse.Builder()
            .code(200)
            .body("World!")
            .build(),
        )
        val call =
          client.newCall(
            Request.Builder()
              .url(server.url("/"))
              .post(body!!)
              .build(),
          )
        val response = call.execute()
        assertThat(response.body.string()).isEqualTo("World!")
        assertBytesReadWritten(
          listener,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

      }
    
      public void testToStringWithNull() {
        Iterator<@Nullable String> iterator =
            Lists.<@Nullable String>newArrayList("hello", null, "world").iterator();
        assertEquals("[hello, null, world]", Iterators.toString(iterator));
      }
    
      public void testToStringEmptyIterator() {
        Iterator<String> iterator = Collections.<String>emptyList().iterator();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 56.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/IteratorsTest.java

      }
    
      public void testToStringWithNull() {
        Iterator<@Nullable String> iterator =
            Lists.<@Nullable String>newArrayList("hello", null, "world").iterator();
        assertEquals("[hello, null, world]", Iterators.toString(iterator));
      }
    
      public void testToStringEmptyIterator() {
        Iterator<String> iterator = Collections.<String>emptyList().iterator();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 55.7K bytes
    - Viewed (0)
  8. src/archive/zip/reader_test.go

    				Mode:     0666,
    			},
    		},
    	},
    	{
    		// created in windows XP file manager.
    		Name: "winxp.zip",
    		File: []ZipTestFile{
    			{
    				Name:     "hello",
    				Content:  []byte("world \r\n"),
    				Modified: time.Date(2011, 12, 8, 10, 4, 24, 0, time.UTC),
    				Mode:     0666,
    			},
    			{
    				Name:     "dir/bar",
    				Content:  []byte("foo \r\n"),
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/MapsTest.java

      @SuppressWarnings("serial")
      public void testLinkedHashMapWithInitialMap() {
        Map<String, String> map =
            new LinkedHashMap<String, String>(
                ImmutableMap.of(
                    "Hello", "World",
                    "first", "second",
                    "polygene", "lubricants",
                    "alpha", "betical"));
    
        LinkedHashMap<String, String> copy = Maps.newLinkedHashMap(map);
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/MapsTest.java

      @SuppressWarnings("serial")
      public void testLinkedHashMapWithInitialMap() {
        Map<String, String> map =
            new LinkedHashMap<String, String>(
                ImmutableMap.of(
                    "Hello", "World",
                    "first", "second",
                    "polygene", "lubricants",
                    "alpha", "betical"));
    
        LinkedHashMap<String, String> copy = Maps.newLinkedHashMap(map);
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
Back to top