Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 164 for table_1 (0.12 sec)

  1. docs/en/docs/how-to/async-sql-encode-databases.md

    ## Create the tables
    
    In this case, we are creating the tables in the same Python file, but in production, you would probably want to create them with Alembic, integrated with migrations, etc.
    
    Here, this section would run directly, right before starting your **FastAPI** application.
    
    * Create an `engine`.
    * Create all the tables from the `metadata` object.
    
    ```Python hl_lines="25-28"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_test.go

    	}
    	for _, testCase := range table2 {
    		q1 := Quantity{d: infDecAmount{testCase.x}, Format: DecimalSI}
    		q2 := Quantity{d: infDecAmount{testCase.y}, Format: DecimalSI}
    		if result := q1.Cmp(q2); result != testCase.expect {
    			t.Errorf("X: %v, Y: %v, Expected: %v, Actual: %v", testCase.x, testCase.y, testCase.expect, result)
    		}
    	}
    }
    
    func TestParseQuantityString(t *testing.T) {
    	table := []struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/cache/LocalCache.java

            long now = map.ticker.read();
            preWriteCleanup(now);
    
            int newCount = this.count - 1;
            AtomicReferenceArray<ReferenceEntry<K, V>> table = this.table;
            int index = hash & (table.length() - 1);
            ReferenceEntry<K, V> first = table.get(index);
    
            for (e = first; e != null; e = e.getNext()) {
              K entryKey = e.getKey();
              if (e.getHash() == hash
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 143.6K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/css/javadoc.css

    }
    table.borderless > caption,
    table.plain > caption,
    table.striped > caption {
        font-weight: bold;
        font-size: smaller;
    }
    table.borderless th, table.borderless td,
    table.plain th, table.plain td,
    table.striped th, table.striped td {
        padding: 2px 5px;
    }
    table.borderless,
    table.borderless > thead > tr > th, table.borderless > tbody > tr > th, table.borderless > tr > th,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 09 14:25:49 UTC 2024
    - 50.5K bytes
    - Viewed (0)
  5. tests/joins_test.go

    		t.Errorf("joins should be ordered, but got %v", stmt.SQL.String())
    	}
    
    	iv := DB.Table(`table_invoices`).Select(`seller, SUM(total) as total, SUM(paid) as paid, SUM(balance) as balance`).Group(`seller`)
    	stmt = dryDB.Table(`table_employees`).Select(`id, name, iv.total, iv.paid, iv.balance`).Joins(`LEFT JOIN (?) AS iv ON iv.seller = table_employees.id`, iv).Scan(&user).Statement
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:52:33 UTC 2024
    - 15K bytes
    - Viewed (0)
  6. src/hash/crc32/crc32_ppc64le.s

    #define mask_64bit	V28
    #define zeroes		V29
    
    #define MAX_SIZE	32*1024
    #define REFLECT
    
    TEXT ·ppc64SlicingUpdateBy8(SB), NOSPLIT|NOFRAME, $0-44
    	MOVWZ	crc+0(FP), R3   // incoming crc
    	MOVD    table8+8(FP), R4   // *Table
    	MOVD    p+16(FP), R5
    	MOVD    p_len+24(FP), R6 // p len
    
    	CMP     $0,R6           // len == 0?
    	BNE     start
    	MOVW    R3,ret+40(FP)   // return crc
    	RET
    
    start:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 12:09:50 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableSet.java

      }
    
      // We use power-of-2 tables, and this is the highest int that's a power of 2
      static final int MAX_TABLE_SIZE = Ints.MAX_POWER_OF_TWO;
    
      // Represents how tightly we can pack things, as a maximum.
      private static final double DESIRED_LOAD_FACTOR = 0.7;
    
      // If the set has this many elements, it will "max out" the table size
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  8. tools/istio-iptables/pkg/builder/testdata/append-insert-multi.golden

    -t table -N chain
    -t table -A chain -f foo -b bar
    -t table -I chain 2 -f foo -b bar
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 14:29:54 UTC 2024
    - 115 bytes
    - Viewed (0)
  9. tools/istio-iptables/pkg/builder/testdata/multi-rules-new-chain-v6.golden

    -t table -N chain
    -t table -A chain -f foo -b bar
    -t table -I chain 2 -f foo -b bar
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 14:29:54 UTC 2024
    - 117 bytes
    - Viewed (0)
  10. android/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.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top