Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 412 for Gable (0.16 sec)

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

        table.put("cat", 1, 'b');
        table.clear();
        populate(table, data);
        return table;
      }
    
      public void testCreateExplicitComparators() {
        table = TreeBasedTable.create(Collections.reverseOrder(), Ordering.usingToString());
        table.put("foo", 3, 'a');
        table.put("foo", 12, 'b');
        table.put("bar", 5, 'c');
        table.put("cat", 8, 'd');
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 15K bytes
    - Viewed (0)
  2. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocRendererTest.groovy

            def methodsSection = withCategories { content.section.find { it.title[0].text().trim() == 'Methods' } }
            def methodDetailsSection = withCategories { content.section.find { it.title[0].text().trim() == 'Method details' } }
            def methodsTable = withCategories { methodsSection ? methodsSection.table[0] : parse('<table/>') }
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 40.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/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.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  4. internal/event/target/postgresql.go

    }
    
    // Validate PostgreSQLArgs fields
    func (p PostgreSQLArgs) Validate() error {
    	if !p.Enable {
    		return nil
    	}
    	if p.Table == "" {
    		return fmt.Errorf("empty table name")
    	}
    	if err := validatePsqlTableName(p.Table); err != nil {
    		return err
    	}
    
    	if p.Format != "" {
    		f := strings.ToLower(p.Format)
    		if f != event.NamespaceFormat && f != event.AccessFormat {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:51:07 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/Crc32cHashFunction.java

        static int computeForWord(int word) {
          return STRIDE_TABLE[3][word & 0xFF]
              ^ STRIDE_TABLE[2][(word >>> 8) & 0xFF]
              ^ STRIDE_TABLE[1][(word >>> 16) & 0xFF]
              ^ STRIDE_TABLE[0][word >>> 24];
        }
    
        static int combine(int csum, int crc) {
          csum ^= crc;
          for (int i = 0; i < 4; i++) {
            csum = (csum >>> 8) ^ BYTE_TABLE[csum & 0xFF];
          }
          return csum;
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 21.3K bytes
    - Viewed (0)
  6. tests/create_test.go

    	}
    
    	// case 3: create from []map[string]interface{}
    	records := []map[string]interface{}{
    		{"name": "create_from_map_with_table_2", "age": 19},
    		{"name": "create_from_map_with_table_3", "age": 20},
    	}
    
    	tableDB = DB.Table("users")
    	if err := tableDB.Create(&records).Error; err != nil {
    		t.Fatalf("failed to create data from slice of map, got error: %v", err)
    	}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue Mar 19 03:50:28 GMT 2024
    - 26.4K bytes
    - Viewed (0)
  7. tests/sql_builder_test.go

    	}
    
    	DB.Table(table).Where(map[string]interface{}{"name": user2.Name}).Update("age", 20)
    
    	row = DB.Table(table+" as u").Where("u.name = ?", user2.Name).Select("age").Row()
    	if err := row.Scan(&age); err != nil {
    		t.Fatalf("Failed to scan age, got %v", err)
    	}
    
    	if age != 20 {
    		t.Errorf("Scan with Row, age expects: %v, got %v", user2.Age, age)
    	}
    }
    
    func TestRows(t *testing.T) {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Jan 12 08:42:21 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  8. internal/event/target/mysql.go

    	mysqlCreateNamespaceTable = `CREATE TABLE %s (
                 key_name VARCHAR(3072) NOT NULL,
                 key_hash CHAR(64) GENERATED ALWAYS AS (SHA2(key_name, 256)) STORED NOT NULL PRIMARY KEY,
                 value JSON)
               CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Dynamic;`
    	mysqlCreateAccessTable = `CREATE TABLE %s (event_time DATETIME NOT NULL, event_data JSON)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Oct 07 15:07:38 GMT 2023
    - 11.5K bytes
    - Viewed (0)
  9. android/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.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        int result = 0;
        for (Segment<K, V, ?, ?> segment : map.segments) {
          AtomicReferenceArray<? extends InternalEntry<K, V, ?>> table = segment.table;
          for (int i = 0; i < table.length(); i++) {
            for (InternalEntry<K, V, ?> e = table.get(i); e != null; e = e.getNext()) {
              if (map.isLiveForTesting(e)) {
                result++;
              }
            }
          }
        }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 35.1K bytes
    - Viewed (0)
Back to top