Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 9 of 9 for helloworld (0.21 seconds)

  1. 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)
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Nov 14 19:01:17 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticatorTest.java

        @Test
        public void test_decodeBase64_urlSafe() {
            // Base64 URL encoding (uses - and _ instead of + and /)
            final byte[] result = authenticator.decodeBase64("SGVsbG9Xb3JsZA");
            assertEquals("HelloWorld", new String(result));
        }
    
        @Test
        public void test_decodeBase64_withPadding() {
            // Standard Base64 with padding
            final byte[] result = authenticator.decodeBase64("dGVzdA==");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 15 12:54:47 GMT 2026
    - 11K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/script/groovy/GroovyEngineTest.java

        public void test_evaluate_stringOperations() {
            final Map<String, Object> params = new HashMap<>();
            params.put("first", "Hello");
            params.put("second", "World");
    
            assertEquals("HelloWorld", groovyEngine.evaluate("return first + second", params));
            assertEquals("HELLO", groovyEngine.evaluate("return first.toUpperCase()", params));
            assertEquals(5, groovyEngine.evaluate("return first.length()", params));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:03:38 GMT 2026
    - 29.1K bytes
    - Click Count (0)
  4. 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
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Mar 20 09:13:37 GMT 2026
    - 26.9K bytes
    - Click Count (0)
  5. 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")
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:01:42 GMT 2026
    - 47.8K bytes
    - Click Count (0)
  6. docs/features/https.md

                .sslSocketFactory(sslSocketFactory, trustManager)
                .build()
          }
    
          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")
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:01:42 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  7. scripts/tests/test_translation_fixer/test_complex_doc/data/translated_doc.md

    Если комментарий не соответствует этому шаблону, инструмент исправления не будет его сохранять.
    
    ```python
    #Объявление функции
    def hello_world():# Печать приветствия
        print("Hello, world!")  #Печать приветствия без пробела после решётки
    ```
    
    ```console
    //Объявление функции
    def hello_world():// Печать приветствия
        print("Hello, world!")  //Печать приветствия без пробела после слешей
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 08:08:04 GMT 2026
    - 11.2K bytes
    - Click Count (0)
  8. scripts/tests/test_translation_fixer/test_complex_doc/data/translated_doc_expected.md

    Если комментарий не соответствует этому шаблону, инструмент исправления не будет его сохранять.
    
    ```python
    #Function declaration
    def hello_world():# Print greeting
        print("Hello, world!")  #Print greeting without space after hash
    ```
    
    ```console
    //Function declaration
    def hello_world():// Print greeting
        print("Hello, world!")  //Print greeting without space after slashes
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 08:08:04 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/util/DocumentUtilTest.java

            assertEquals("hello", DocumentUtil.encodeUrl("hello"));
            assertEquals("hello-world", DocumentUtil.encodeUrl("hello-world"));
            assertEquals("hello_world", DocumentUtil.encodeUrl("hello_world"));
            assertEquals("hello.world", DocumentUtil.encodeUrl("hello.world"));
        }
    
        @Test
        public void test_encodeUrl_empty_and_null() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 01:46:45 GMT 2026
    - 13.6K bytes
    - Click Count (0)
Back to Top