Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for Staples (4.97 sec)

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

     *
     * <p>See the Guava User Guide article on <a href=
     * "https://github.com/google/guava/wiki/CollectionUtilitiesExplained#tables">{@code Tables}</a>.
     *
     * @author Jared Levy
     * @author Louis Wasserman
     * @since 7.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class Tables {
      private Tables() {}
    
      /**
       * Returns a {@link Collector} that accumulates elements into a {@code Table} created using the
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  2. src/encoding/xml/read_test.go

    			`</Tables>`,
    		tab: Tables{"hello", "world"},
    	},
    	{
    		xml: `<Tables>` +
    			`<table>bogus</table>` +
    			`</Tables>`,
    		tab: Tables{},
    	},
    	{
    		xml: `<Tables>` +
    			`<table>only</table>` +
    			`</Tables>`,
    		tab: Tables{HTable: "only"},
    		ns:  "http://www.w3.org/TR/html4/",
    	},
    	{
    		xml: `<Tables>` +
    			`<table>only</table>` +
    			`</Tables>`,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableTable.java

        return Tables.immutableCell(
            checkNotNull(rowKey, "rowKey"),
            checkNotNull(columnKey, "columnKey"),
            checkNotNull(value, "value"));
      }
    
      /**
       * A builder for creating immutable table instances, especially {@code public static final} tables
       * ("constant tables"). Example:
       *
       * <pre>{@code
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  4. src/database/sql/fakedb_test.go

    	return db
    }
    
    func (db *fakeDB) wipe() {
    	db.mu.Lock()
    	defer db.mu.Unlock()
    	db.tables = nil
    }
    
    func (db *fakeDB) createTable(name string, columnNames, columnTypes []string) error {
    	db.mu.Lock()
    	defer db.mu.Unlock()
    	if db.tables == nil {
    		db.tables = make(map[string]*table)
    	}
    	if _, exist := db.tables[name]; exist {
    		return fmt.Errorf("fakedb: table %q already exists", name)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 01 12:38:07 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  5. chainable_api.go

    			if results[1] != "" {
    				tx.Statement.Table = results[1]
    			} else {
    				tx.Statement.Table = results[2]
    			}
    		}
    	} else if tables := strings.Split(name, "."); len(tables) == 2 {
    		tx.Statement.TableExpr = &clause.Expr{SQL: tx.Statement.Quote(name)}
    		tx.Statement.Table = tables[1]
    	} else if name != "" {
    		tx.Statement.TableExpr = &clause.Expr{SQL: tx.Statement.Quote(name)}
    		tx.Statement.Table = name
    	} else {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 09:47:34 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  6. callbacks/query.go

    	// clear the joins after query because preload need it
    	if v, ok := db.Statement.Clauses["FROM"].Expression.(clause.From); ok {
    		fromClause := db.Statement.Clauses["FROM"]
    		fromClause.Expression = clause.From{Tables: v.Tables, Joins: v.Joins[:len(v.Joins)-len(db.Statement.Joins)]} // keep the original From Joins
    		db.Statement.Clauses["FROM"] = fromClause
    	}
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 09:51:44 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  7. src/crypto/aes/block.go

    	s2 := byteorder.BeUint32(src[8:12])
    	s3 := byteorder.BeUint32(src[12:16])
    
    	// First round just XORs input with key.
    	s0 ^= xk[0]
    	s1 ^= xk[1]
    	s2 ^= xk[2]
    	s3 ^= xk[3]
    
    	// Middle rounds shuffle using tables.
    	// Number of rounds is set by length of expanded key.
    	nr := len(xk)/4 - 2 // - 2: one above, one more below
    	k := 4
    	var t0, t1, t2, t3 uint32
    	for r := 0; r < nr; r++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. schema/naming.go

    }
    
    // Replacer replacer interface like strings.Replacer
    type Replacer interface {
    	Replace(name string) string
    }
    
    var _ Namer = (*NamingStrategy)(nil)
    
    // NamingStrategy tables, columns naming strategy
    type NamingStrategy struct {
    	TablePrefix         string
    	SingularTable       bool
    	NameReplacer        Replacer
    	NoLowerCase         bool
    	IdentifierMaxLength int
    }
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 03:46:59 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. src/crypto/aes/aes_test.go

    			t.Errorf("sbox0[sbox1[%#x]] = %#x", i, j)
    		}
    		if j := sbox1[sbox0[i]]; j != byte(i) {
    			t.Errorf("sbox1[sbox0[%#x]] = %#x", i, j)
    		}
    	}
    }
    
    // Test that encryption tables are correct.
    // (Can adapt this code to generate them too.)
    func TestTe(t *testing.T) {
    	for i := 0; i < 256; i++ {
    		s := uint32(sbox0[i])
    		s2 := mul(s, 2)
    		s3 := mul(s, 3)
    		w := s2<<24 | s<<16 | s<<8 | s3
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 14:58:19 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

    import com.google.common.collect.SortedMapDifference;
    import com.google.common.collect.SortedMultiset;
    import com.google.common.collect.SortedSetMultimap;
    import com.google.common.collect.Table;
    import com.google.common.collect.Tables;
    import com.google.common.collect.TreeBasedTable;
    import com.google.common.collect.TreeMultimap;
    import com.google.common.io.ByteSink;
    import com.google.common.io.ByteSource;
    import com.google.common.io.ByteStreams;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 17 16:33:44 UTC 2024
    - 20.5K bytes
    - Viewed (0)
Back to top