Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for helloworld (0.98 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt

     * directive:
     *
     * ```java
     * Request request = new Request.Builder()
     *     .cacheControl(new CacheControl.Builder().noCache().build())
     *     .url("http://publicobject.com/helloworld.txt")
     *     .build();
     * ```
     *
     * If it is only necessary to force a cached response to be validated by the server, use the more
     * efficient `max-age=0` directive instead:
     *
     * ```java
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 03 17:41:45 UTC 2025
    - 26.8K bytes
    - Viewed (0)
  2. docs/recipes.md

    === ":material-language-kotlin: Kotlin"
        ```kotlin
          private val client = OkHttpClient()
    
          fun run() {
            val request = Request.Builder()
                .url("https://publicobject.com/helloworld.txt")
                .build()
    
            client.newCall(request).execute().use { response ->
              if (!response.isSuccessful) throw IOException("Unexpected code $response")
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 47.8K bytes
    - Viewed (0)
  3. src/bytes/buffer_test.go

    	expected string
    	err      error
    }{
    	{"", 0, 0, "", nil},
    	{"aaa", 0, 3, "aaa", nil},
    	{"foobar", 0, 2, "fo", nil},
    	{"a", 0, 2, "a", io.EOF},
    	{"helloworld", 4, 3, "owo", nil},
    	{"helloworld", 5, 5, "world", nil},
    	{"helloworld", 5, 6, "world", io.EOF},
    	{"helloworld", 10, 1, "", io.EOF},
    }
    
    func TestPeek(t *testing.T) {
    	for _, test := range peekTests {
    		buf := NewBufferString(test.buffer)
    		buf.Next(test.skip)
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Fri Nov 14 19:01:17 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/UnicodeStringTest.java

        }
    
        @Test
        void testToString() {
            // Test toString with zterm = true
            String originalStringTrue = "HelloWorld";
            UnicodeString unicodeStringTrue = new UnicodeString(originalStringTrue, true);
            assertEquals(originalStringTrue, unicodeStringTrue.toString(), "toString should return original string with zterm");
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  5. internal/config/config_test.go

    		})
    	}
    }
    
    func TestValidRegion(t *testing.T) {
    	tests := []struct {
    		name    string
    		success bool
    	}{
    		{name: "us-east-1", success: true},
    		{name: "us_east", success: true},
    		{name: "helloWorld", success: true},
    		{name: "-fdslka", success: false},
    		{name: "^00[", success: false},
    		{name: "my region", success: false},
    		{name: "%%$#!", success: false},
    	}
    
    	for _, test := range tests {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/util/StringUtilTest.java

        }
    
        @Test
        @DisplayName("Should join with empty string delimiter")
        void testJoinWithEmptyDelimiter() {
            String result = StringUtil.join("", "hello", "world");
            assertEquals("helloworld", result);
        }
    
        @Test
        @DisplayName("Should join with multi-character delimiter")
        void testJoinWithMultiCharDelimiter() {
            String result = StringUtil.join(" - ", "apple", "banana", "cherry");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9K bytes
    - Viewed (0)
Back to top