Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 476 for toTable (0.2 sec)

  1. android/guava/src/com/google/common/collect/TableCollectors.java

        final Table<R, C, MutableCell<R, C, V>> table = HashBasedTable.create();
    
        void put(R row, C column, V value, BinaryOperator<V> merger) {
          MutableCell<R, C, V> oldCell = table.get(row, column);
          if (oldCell == null) {
            MutableCell<R, C, V> cell = new MutableCell<>(row, column, value);
            insertionOrder.add(cell);
            table.put(row, column, cell);
          } else {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Mar 09 00:21:17 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/TableCollectorsTest.java

      public void testToTable() {
        Collector<Cell<String, String, Integer>, ?, Table<String, String, Integer>> collector =
            TableCollectors.toTable(
                Cell::getRowKey, Cell::getColumnKey, Cell::getValue, HashBasedTable::create);
        BiPredicate<Table<String, String, Integer>, Table<String, String, Integer>> equivalence =
            pairwiseOnResultOf(Table::cellSet);
        CollectorTester.of(collector, equivalence)
            .expectCollects(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Mar 05 16:03:18 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Tables.java

       * <p>The returned table will be serializable if the specified table is serializable.
       *
       * @param table the table to be wrapped in a synchronized view
       * @return a synchronized view of the specified table
       * @since 22.0
       */
      public static <R extends @Nullable Object, C extends @Nullable Object, V extends @Nullable Object>
          Table<R, C, V> synchronizedTable(Table<R, C, V> table) {
        return Synchronized.table(table, null);
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Mar 04 22:45:41 GMT 2024
    - 26.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Table.java

      /**
       * Copies all mappings from the specified table to this table. The effect is equivalent to calling
       * {@link #put} with each row key / column key / value mapping in {@code table}.
       *
       * @param table the table to add to this table
       */
      void putAll(Table<? extends R, ? extends C, ? extends V> table);
    
      /**
       * Removes the mapping, if any, associated with the given keys.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 10.7K bytes
    - Viewed (0)
  5. migrator/table_type.go

    package migrator
    
    import (
    	"database/sql"
    )
    
    // TableType table type implements TableType interface
    type TableType struct {
    	SchemaValue  string
    	NameValue    string
    	TypeValue    string
    	CommentValue sql.NullString
    }
    
    // Schema returns the schema of the table.
    func (ct TableType) Schema() string {
    	return ct.SchemaValue
    }
    
    // Name returns the name of the table.
    func (ct TableType) Name() string {
    	return ct.NameValue
    }
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri May 05 07:58:27 GMT 2023
    - 688 bytes
    - Viewed (0)
  6. tests/table_test.go

    		t.Errorf("Table with escape character, got %v", r.Statement.SQL.String())
    	}
    
    	r = dryDB.Table("`people`").Table("`user`").Find(&User{}).Statement
    	if !regexp.MustCompile("SELECT \\* FROM `user`").MatchString(r.Statement.SQL.String()) {
    		t.Errorf("Table with escape character, got %v", r.Statement.SQL.String())
    	}
    
    	r = dryDB.Table("people as p").Table("user as u").Find(&User{}).Statement
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Sat Mar 09 09:31:28 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  7. .cm/summary_table.cm

      - commit
    
    automations:
    
      summary_table:
        if:
          - {{ is.requested or not pr.author_is_org_member }}
          - {{ author.using_gitstream or not pr.author_is_org_member }}
        run:
          - action: add-comment@v1
            args:
              comment:
                <h3>Change Summary</h3>
                This PR is {{ changes.ratio | round(2) }}% new code.
                <table>
                <tr>
                <td>Platform</td>
    Plain Text
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Thu Feb 08 15:20:44 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  8. .cm/summary_table_platforms.cm

    # its own file.
    
    on:
      - pr_created
      - commit
      - comment_added
    
    automations:
    
      summary_table_platforms:
        if:
          - {{ ('summary_table_platforms' | isEnabledAutomation(pr)) }}
        run:
          - action: add-comment@v1
            args:
              comment: |
                {{ by_platform_comment }}
    
    by_platform_comment: |
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.10.md

        - [Other notable changes](#other-notable-changes)
    - [v1.10.12](#v11012)
      - [Downloads for v1.10.12](#downloads-for-v11012)
        - [Client Binaries](#client-binaries-1)
        - [Server Binaries](#server-binaries-1)
        - [Node Binaries](#node-binaries-1)
      - [Changelog since v1.10.11](#changelog-since-v11011)
        - [Other notable changes](#other-notable-changes-1)
    - [v1.10.11](#v11011)
    Plain Text
    - Registered: Fri May 03 09:05:14 GMT 2024
    - Last Modified: Thu May 05 13:44:43 GMT 2022
    - 341.8K bytes
    - Viewed (0)
  10. tests/test_required_noneable.py

    
    def test_required_nonable_explicit_query_value():
        response = client.get("/explicit-query", params={"q": "foo"})
        assert response.status_code == 200
        assert response.json() == "foo"
    
    
    def test_required_nonable_body_embed_no_content():
        response = client.post("/body-embed")
        assert response.status_code == 422
    
    
    def test_required_nonable_body_embed_invalid():
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat May 14 19:08:31 GMT 2022
    - 1.5K bytes
    - Viewed (0)
Back to top