Search Options

Results per page
Sort
Preferred Languages
Advance

Results 411 - 420 of 1,332 for iNdEx (0.1 sec)

  1. docs_src/sql_databases/tutorial001.py

    from sqlmodel import Field, Session, SQLModel, create_engine, select
    
    
    class Hero(SQLModel, table=True):
        id: Union[int, None] = Field(default=None, primary_key=True)
        name: str = Field(index=True)
        age: Union[int, None] = Field(default=None, index=True)
        secret_name: str
    
    
    sqlite_file_name = "database.db"
    sqlite_url = f"sqlite:///{sqlite_file_name}"
    
    connect_args = {"check_same_thread": False}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. docs_src/sql_databases/tutorial001_py310.py

    from sqlmodel import Field, Session, SQLModel, create_engine, select
    
    
    class Hero(SQLModel, table=True):
        id: int | None = Field(default=None, primary_key=True)
        name: str = Field(index=True)
        age: int | None = Field(default=None, index=True)
        secret_name: str
    
    
    sqlite_file_name = "database.db"
    sqlite_url = f"sqlite:///{sqlite_file_name}"
    
    connect_args = {"check_same_thread": False}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

          int hash = map.hash(key);
          int index = hash & (table.length() - 1);
          ReferenceEntry<Object, Object> first = table.get(index);
          entry = map.newEntry(key, hash, first);
          ValueReference<Object, Object> valueRef = map.newValueReference(entry, value, 1);
          entry.setValueReference(valueRef);
          segment.recordWrite(entry, 1, map.ticker.read());
          table.set(index, entry);
          originalMap.put(key, value);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/cache/LocalCacheTest.java

          int hash = map.hash(key);
          int index = hash & (table.length() - 1);
          ReferenceEntry<Object, Object> first = table.get(index);
          entry = map.newEntry(key, hash, first);
          ValueReference<Object, Object> valueRef = map.newValueReference(entry, value, 1);
          entry.setValueReference(valueRef);
          segment.recordWrite(entry, 1, map.ticker.read());
          table.set(index, entry);
          originalMap.put(key, value);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
  5. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

                int index1 = process.indexOf(')');
                int index2 = process.indexOf(']');
    
                int index = index2;
                if (index2 < 0 || index1 < index2) {
                    if (index1 >= 0) {
                        index = index1;
                    }
                }
    
                if (index < 0) {
                    throw new InvalidVersionSpecificationException("Unbounded range: " + spec);
                }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 19K bytes
    - Viewed (0)
  6. cmd/xl-storage-format_test.go

    	}
    	if unMarshalXLMeta.Erasure.Index != jsoniterXLMeta.Erasure.Index {
    		t.Errorf("Expected the erasure index to be %v, but got %v.", unMarshalXLMeta.Erasure.Index, jsoniterXLMeta.Erasure.Index)
    	}
    	if len(unMarshalXLMeta.Erasure.Distribution) != len(jsoniterXLMeta.Erasure.Distribution) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

      /**
       * Returns the {@code double} value present at the given index.
       *
       * @throws IndexOutOfBoundsException if {@code index} is negative, or greater than or equal to
       *     {@link #length}
       */
      public double get(int index) {
        Preconditions.checkElementIndex(index, length());
        return array[start + index];
      }
    
      /**
       * Returns the smallest index for which {@link #get} returns {@code target}, or {@code -1} if no
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 23K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/RegularImmutableList.java

      // The fake cast to E is safe because the creation methods only allow E's
      @Override
      @SuppressWarnings("unchecked")
      public E get(int index) {
        checkElementIndex(index, size);
        // requireNonNull is safe because we guarantee that the first `size` elements are non-null.
        return (E) requireNonNull(array[index]);
      }
    
      // TODO(lowasser): benchmark optimizations for equals() and see if they're worthwhile
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. src/main/resources/fess_indices/_aws/fess/doc.json

            "term_vector": "with_positions_offsets"
          },
          "content_minhash": {
            "type": "keyword",
            "index": false
          },
          "content_minhash_bits": {
            "type": "keyword",
            "index": false
          },
          "content_length": {
            "type": "long"
          },
          "created": {
            "type": "date",
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Tue Aug 15 11:50:35 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  10. cmd/dynamic-timeouts.go

    // logEntry stores a log entry
    func (dt *dynamicTimeout) logEntry(duration time.Duration) {
    	if duration < 0 {
    		return
    	}
    	entries := int(atomic.AddInt64(&dt.entries, 1))
    	index := entries - 1
    	if index < dynamicTimeoutLogSize {
    		dt.mutex.Lock()
    		dt.log[index] = duration
    
    		// We leak entries while we copy
    		if entries == dynamicTimeoutLogSize {
    
    			// Make copy on stack in order to call adjust()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 19 23:21:05 UTC 2022
    - 4.5K bytes
    - Viewed (0)
Back to top