Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 1,077 for Stable (0.12 sec)

  1. android/guava-tests/test/com/google/common/collect/TreeBasedTableRowMapInterfaceTest.java

        table.put("c", "b", "a");
        table.put("b", "b", "x");
        table.put("b", "c", "y");
        table.put("b", "x", "n");
        table.put("a", "a", "d");
        table.row("b").subMap("c", "x").clear();
        assertEquals(table.row("b"), ImmutableMap.of("b", "x", "x", "n"));
        table.row("b").subMap("b", "y").clear();
        assertEquals(table.row("b"), ImmutableMap.of());
        assertFalse(table.backingMap.containsKey("b"));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Mar 29 15:15:31 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  2. tests/scan_test.go

    		ID   uint
    		Name string
    		Age  int
    	}
    
    	var res result
    	DB.Table("users").Select("id, name, age").Where("id = ?", user3.ID).Scan(&res)
    	if res.ID != user3.ID || res.Name != user3.Name || res.Age != int(user3.Age) {
    		t.Fatalf("Scan into struct should work, got %#v, should %#v", res, user3)
    	}
    
    	var resPointer *result
    	if err := DB.Table("users").Select("id, name, age").Where("id = ?", user3.ID).Scan(&resPointer).Error; err != nil {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:57:36 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/CompactHashing.java

        }
      }
    
      static void tableClear(Object table) {
        if (table instanceof byte[]) {
          Arrays.fill((byte[]) table, (byte) 0);
        } else if (table instanceof short[]) {
          Arrays.fill((short[]) table, (short) 0);
        } else {
          Arrays.fill((int[]) table, 0);
        }
      }
    
      /**
       * Returns {@code table[index]}, where {@code table} is actually a {@code byte[]}, {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 15:34:52 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  4. 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
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Mar 09 09:31:28 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  5. javadoc-stylesheet.css

    .contentContainer .description table, .contentContainer .details table {
        border-bottom:none;
    }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 17 21:01:06 UTC 2013
    - 11.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/hash/Striped64.java

       * failed CAS on base update), the table is initialized to size 2.
       * The table size is doubled upon further contention until
       * reaching the nearest power of two greater than or equal to the
       * number of CPUS. Table slots remain empty (null) until they are
       * needed.
       *
       * A single spinlock ("busy") is used for initializing and
       * resizing the table, as well as populating slots with new Cells.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 17:55:55 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  7. callbacks/delete.go

    					relForeignKeys = make([]string, 0, len(rel.References))
    					modelValue     = reflect.New(rel.JoinTable.ModelType).Interface()
    					table          = rel.JoinTable.Table
    					tx             = db.Session(&gorm.Session{NewDB: true}).Model(modelValue).Table(table)
    				)
    
    				for _, ref := range rel.References {
    					if ref.OwnPrimaryKey {
    						foreignFields = append(foreignFields, ref.PrimaryKey)
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Feb 25 02:48:23 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/TablesTransformValuesRowTest.java

      }
    
      @Override
      Table<Character, String, Integer> makeTable() {
        Table<Character, String, Integer> table = HashBasedTable.create();
        return transformValues(table, TableCollectionTest.DIVIDE_BY_2);
      }
    
      @Override
      protected Map<String, Integer> makePopulatedMap() {
        Table<Character, String, Integer> table = HashBasedTable.create();
        table.put('a', "one", 2);
        table.put('a', "two", 4);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/UnmodifiableTableColumnTest.java

      }
    
      @Override
      Table<String, Character, Integer> makeTable() {
        Table<String, Character, Integer> table = HashBasedTable.create();
        return unmodifiableTable(table);
      }
    
      @Override
      protected Map<String, Integer> makePopulatedMap() {
        Table<String, Character, Integer> table = HashBasedTable.create();
        table.put("one", 'a', 1);
        table.put("two", 'a', 2);
        table.put("three", 'a', 3);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. association.go

    	Unscope      bool
    	Error        error
    }
    
    func (db *DB) Association(column string) *Association {
    	association := &Association{DB: db}
    	table := db.Statement.Table
    
    	if err := db.Statement.Parse(db.Statement.Model); err == nil {
    		db.Statement.Table = table
    		association.Relationship = db.Statement.Schema.Relationships.Relations[column]
    
    		if association.Relationship == nil {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 21.5K bytes
    - Viewed (0)
Back to top