Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 304 for Pair (0.04 seconds)

  1. src/test/java/jcifs/smb/WinErrorTest.java

        interface Handler {
            void handle(int code, String message);
        }
    
        @Mock
        Handler handler;
    
        @Test
        @DisplayName("Interaction: handler called with each code/message pair")
        void interaction_with_mock_handler_is_as_expected() {
            // Interaction test: simulate passing each code/message to a collaborator
            for (int i = 0; i < WinError.WINERR_CODES.length; i++) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  2. tensorflow/c/c_api_function_test.cc

    //      output tensor naming, but it the index is actually an input index)
    struct EdgeSpec : public std::pair<std::string, std::string> {
      typedef std::pair<std::string, std::string> Base;
    
      // Inherit the set of constructors
      using Base::pair;
    
      std::string ToString() const { return absl::StrCat(first, "->", second); }
    };
    
    class CApiFunctionTest : public ::testing::Test {
     protected:
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Jan 07 04:56:09 GMT 2026
    - 63.9K bytes
    - Click Count (1)
  3. android/guava/src/com/google/common/collect/ArrayTable.java

       * column key {@code c}, the returned table contains a mapping with row key {@code r} and column
       * key {@code c}. If that row key / column key pair in not in {@code table}, the pair maps to
       * {@code null} in the generated table.
       *
       * <p>The returned table allows subsequent {@code put} calls with the row keys in {@code
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 13 19:39:21 GMT 2025
    - 26.2K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/ArrayListMultimap.java

     * given key agrees with the order in which the values were added.
     *
     * <p>This multimap allows duplicate key-value pairs. After adding a new key-value pair equal to an
     * existing key-value pair, the {@code ArrayListMultimap} will contain entries for both the new
     * value and the old value.
     *
     * <p>Keys and values may be null. All optional multimap methods are supported, and all returned
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 05 23:15:58 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Headers.kt

     *
     * Instances of this class are immutable. Use [Builder] to create instances.
     */
    @Suppress("NAME_SHADOWING")
    class Headers internal constructor(
      internal val namesAndValues: Array<String>,
    ) : Iterable<Pair<String, String>> {
      /** Returns the last value corresponding to the specified field, or null. */
      operator fun get(name: String): String? = commonHeadersGet(namesAndValues, name)
    
      /**
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java

        assertStringHash(0xb5a4be05, "ABCDefGHI\u0799", UTF_8);
        assertStringHash(0xfc5ba834, "毎月1日,毎週月曜日", UTF_8);
        assertStringHash(0x8a5c3699, "surrogate pair: \uD83D\uDCB0", UTF_8);
    
        assertStringHash(0, "", UTF_16LE);
        assertStringHash(0x288418e4, "k", UTF_16LE);
        assertStringHash(0x5a0cb7c3, "hell", UTF_16LE);
        assertStringHash(0xd7c31989, "hello", UTF_16LE);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  7. src/archive/tar/strconv.go

    		nsecs = -(nsecs - 1e9) // Take that second away from nsecs
    	}
    	return strings.TrimRight(fmt.Sprintf("%s%d.%09d", sign, secs, nsecs), "0")
    }
    
    // parsePAXRecord parses the input PAX record string into a key-value pair.
    // If parsing is successful, it will slice off the currently read record and
    // return the remainder as r.
    func parsePAXRecord(s string) (k, v, r string, err error) {
    	// The size field ends at the first space.
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Dec 30 15:28:53 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  8. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

            fun assertHasAccepted(vararg accepted: String) {
                assertThat("Has accepted", richReport.accepted.map { it.message }, inAnyOrder(accepted))
            }
    
            fun assertHasAccepted(vararg accepted: Pair<String, List<String>>) {
                assertThat("Has accepted", richReport.accepted, inAnyOrder(accepted.map { ReportMessage(it.first, it.second) }))
            }
    
            fun assertHasErrors(vararg errors: List<String>) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Jan 19 11:30:48 GMT 2026
    - 18.3K bytes
    - Click Count (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBadMultiLangSnippets.java

            List<Snippet> pair = snippets.stream()
                .filter(s -> s.lang != Language.UNKNOWN)
                .limit(2)
                .toList();
    
            if (pair.size() == 2 &&
                pair.get(0).lang == Language.GROOVY &&
                pair.get(1).lang == Language.KOTLIN) {
                addError(errors, file, new Error(pair.get(0).line,
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Aug 29 10:12:17 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

                                .collect(Collectors.groupingBy(Pair::getFirst, Collectors.mapping(Pair::getSecond, Collectors.toList())));
                        appendJson("search-field", searchFieldMap, buf).append(',');
                        final Map<String, List<String>> requestHeaderMap = entity.getRequestHeaderList()
                                .stream()
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Nov 24 02:07:40 GMT 2025
    - 32.1K bytes
    - Click Count (0)
Back to Top