Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 817 for repeats (0.05 seconds)

  1. src/test/java/org/codelibs/fess/llm/AbstractLlmClientTest.java

        @Test
        public void test_addHistoryWithBudget_turnBasedPacking_newestTurnOnly() {
            final List<LlmMessage> history = new ArrayList<>();
            history.add(LlmMessage.user("A".repeat(100))); // 100
            history.add(LlmMessage.assistant("B".repeat(100))); // 100
            history.add(LlmMessage.user("Q2")); // 2
            history.add(LlmMessage.assistant("A2")); // 2
            final LlmChatRequest request = new LlmChatRequest();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 07:04:54 GMT 2026
    - 53K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketWriterTest.kt

     * limitations under the License.
     */
    package okhttp3.internal.ws
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import java.util.Random
    import kotlin.test.assertFailsWith
    import okhttp3.TestUtil.repeat
    import okhttp3.internal.format
    import okhttp3.internal.ws.WebSocketProtocol.OPCODE_BINARY
    import okhttp3.internal.ws.WebSocketProtocol.OPCODE_TEXT
    import okhttp3.internal.ws.WebSocketProtocol.PAYLOAD_BYTE_MAX
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 9.3K bytes
    - Click Count (0)
  3. docs/en/docs/contributing.md

    ```console
    $ bash scripts/format.sh
    ```
    
    </div>
    
    It will also auto-sort all your imports.
    
    ## Tests
    
    There is a script that you can run locally to test all the code and generate coverage reports in HTML:
    
    <div class="termy">
    
    ```console
    $ bash scripts/test-cov-html.sh
    ```
    
    </div>
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 23 13:59:26 GMT 2026
    - 10.6K bytes
    - Click Count (0)
  4. src/cmd/asm/internal/arch/arm64.go

    		return opd
    	}
    	return arm64.SPOP_END
    }
    
    // IsARM64ADR reports whether the op (as defined by an arm64.A* constant) is
    // one of the comparison instructions that require special handling.
    func IsARM64ADR(op obj.As) bool {
    	switch op {
    	case arm64.AADR, arm64.AADRP:
    		return true
    	}
    	return false
    }
    
    // IsARM64CMP reports whether the op (as defined by an arm64.A* constant) is
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Mar 20 17:02:17 GMT 2026
    - 6K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt

        peekTrailers(Protocol.HTTP_1_1)
      }
    
      @Test
      fun peekTrailersHttp2() {
        peekTrailers(Protocol.HTTP_2)
      }
    
      private fun peekTrailers(protocol: Protocol) {
        val responseBody = "a".repeat(OKHTTP_CLIENT_WINDOW_SIZE)
        enableProtocol(protocol)
    
        server.enqueue(
          MockResponse
            .Builder()
            .addHeader("h1", "v1")
            .trailers(headersOf("t1", "v2"))
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 18.8K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ValidateRestSpecPlugin.java

                    task.setJsonSchema(new File(project.getRootDir(), "rest-api-spec/src/main/resources/schema.json"));
                    task.setReport(new File(project.getBuildDir(), "reports/validateJson.txt"));
                });
    
            Provider<ValidateJsonNoKeywordsTask> validateNoKeywordsTask = project.getTasks()
                .register("validateNoKeywords", ValidateJsonNoKeywordsTask.class, task -> {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 2.6K bytes
    - Click Count (0)
  7. .teamcity/src/main/kotlin/promotion/BasePublishGradleDistribution.kt

                **/build/git-checkout/build/distributions/*.zip => promote-build-distributions
                **/build/git-checkout/build/reports/integTest/** => distribution-tests
                **/build/releases-data-checkout/data/releases.xml
                **/smoke-tests/build/reports/tests/** => post-smoke-tests
                **/build/version-info.properties => version-info.properties
                """.trimIndent(),
            )
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Dec 22 07:15:16 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  8. src/bufio/scan_test.go

    	s := NewScanner(strings.NewReader(strings.Repeat("\n", 10000)))
    	s.Split(c.split)
    	for s.Scan() {
    	}
    	if s.Err() != nil {
    		t.Fatal("after scan:", s.Err())
    	}
    	if c != 0 {
    		t.Fatalf("stopped with %d left to process", c)
    	}
    }
    
    // Make sure we can read a huge token if a big enough buffer is provided.
    func TestHugeBuffer(t *testing.T) {
    	text := strings.Repeat("x", 2*MaxScanTokenSize)
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Sep 22 16:22:42 GMT 2023
    - 14.3K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketExtensions.kt

                        clientMaxWindowBits = value?.toIntOrNull()
                        if (clientMaxWindowBits == null) unexpectedValues = true // Not an int!
                      }
    
                      name.equals("client_no_context_takeover", ignoreCase = true) -> {
                        if (clientNoContextTakeover) unexpectedValues = true // Repeated parameter!
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb/SmbFilenameFilterTest.java

            assertTrue(result, "Filter should accept any provided name");
            verifyNoInteractions(mockDir);
        }
    
        /**
         * Happy-path: a filter that rejects any name.
         */
        @ParameterizedTest
        @DisplayName("rejects every provided name")
        @ValueSource(strings = { "file.txt", "data.DAT", "a", "", "   " })
        void rejectsAnyNameReturnsFalse(String input) throws Exception {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.3K bytes
    - Click Count (0)
Back to Top