Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 497 for Rashed (0.19 sec)

  1. android/guava-tests/test/com/google/common/hash/AbstractByteHasherTest.java

        hasher.putShort((short) 0x0201);
        hasher.assertBytes(new byte[] {1, 2});
      }
    
      public void testInt() {
        TestHasher hasher = new TestHasher();
        hasher.putInt(0x04030201);
        hasher.assertBytes(new byte[] {1, 2, 3, 4});
      }
    
      public void testLong() {
        TestHasher hasher = new TestHasher();
        hasher.putLong(0x0807060504030201L);
        hasher.assertBytes(new byte[] {1, 2, 3, 4, 5, 6, 7, 8});
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/KtFirAnonymousFunctionSymbol.kt

        override val contextReceivers: List<KtContextReceiver> by cached { firSymbol.createContextReceivers(builder) }
    
        override val valueParameters: List<KtValueParameterSymbol> by cached { firSymbol.createKtValueParameters(builder) }
    
        override val hasStableParameterNames: Boolean
            get() = withValidityAssertion {
    Plain Text
    - Registered: Fri Mar 22 08:18:09 GMT 2024
    - Last Modified: Tue Nov 07 09:06:00 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  3. docs/ja/docs/advanced/nosql-databases.md

    ```
    
    このモデルは*path operation*に使用するので`hashed_password`は含めません。
    
    ### `UserInDB` モデル
    
    それでは`UserInDB`モデルを作成しましょう。
    
    こちらは実際にデータベースに保存されるデータを保持します。
    
    `User`モデルの持つ全ての属性に加えていくつかの属性を追加するのでPydanticの`BaseModel`を継承せずに`User`のサブクラスとして定義します:
    
    ```Python hl_lines="31-33"
    {!../../../docs_src/nosql_databases/tutorial001.py!}
    ```
    
    !!! note "備考"
        データベースに保存される`hashed_password`と`type`フィールドを`UserInDB`モデルに保持させていることに注意してください。
    
    Plain Text
    - Registered: Sun Mar 31 07:19:09 GMT 2024
    - Last Modified: Thu Aug 18 15:54:22 GMT 2022
    - 7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/hash/Fingerprint2011Test.java

        assertEquals(hashCode, hasher.hash().asLong());
    
        hasher = HASH_FN.newHasher();
        hasher.putBytes(new byte[] {0x01, 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00});
        assertEquals(hashCode, hasher.hash().asLong());
    
        hasher = HASH_FN.newHasher();
        hasher.putLong(0x0000000001000101L);
        assertEquals(hashCode, hasher.hash().asLong());
    
        hasher = HASH_FN.newHasher();
        hasher
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Dec 29 14:55:25 GMT 2021
    - 7.6K bytes
    - Viewed (0)
  5. internal/cachevalue/cache.go

    	"sync/atomic"
    	"time"
    )
    
    // Opts contains options for the cache.
    type Opts struct {
    	// When set to true, return the last cached value
    	// even if updating the value errors out.
    	// Returns the last good value AND the error.
    	ReturnLastGood bool
    
    	// If CacheError is set, errors will be cached as well
    	// and not continuously try to update.
    	// Should not be combined with ReturnLastGood.
    	CacheError bool
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Mar 01 16:00:42 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/AbstractByteHasher.java

      private final ByteBuffer scratch = ByteBuffer.allocate(8).order(ByteOrder.LITTLE_ENDIAN);
    
      /** Updates this hasher with the given byte. */
      protected abstract void update(byte b);
    
      /** Updates this hasher with the given bytes. */
      protected void update(byte[] b) {
        update(b, 0, b.length);
      }
    
      /** Updates this hasher with {@code len} bytes starting at {@code off} in the given buffer. */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 3.5K bytes
    - Viewed (0)
  7. docs_src/sql_databases/sql_app_py39/models.py

    from sqlalchemy.orm import relationship
    
    from .database import Base
    
    
    class User(Base):
        __tablename__ = "users"
    
        id = Column(Integer, primary_key=True)
        email = Column(String, unique=True, index=True)
        hashed_password = Column(String)
        is_active = Column(Boolean, default=True)
    
        items = relationship("Item", back_populates="owner")
    
    
    class Item(Base):
        __tablename__ = "items"
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Jan 09 14:35:33 GMT 2024
    - 710 bytes
    - Viewed (0)
  8. cmd/metacache-entries.go

    		return selected, true
    	}
    
    	// If cached is nil we shall skip the entry.
    	if selected.cached == nil {
    		return nil, false
    	}
    
    	// Merge if we have disagreement.
    	// Create a new merged result.
    	selected = &metaCacheEntry{
    		name:     selected.name,
    		reusable: true,
    		cached:   &xlMetaV2{metaV: selected.cached.metaV},
    	}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  9. internal/hash/checksum.go

    }
    
    // Matches returns whether given content matches c.
    func (c Checksum) Matches(content []byte) error {
    	if len(c.Encoded) == 0 {
    		return nil
    	}
    	hasher := c.Type.Hasher()
    	_, err := hasher.Write(content)
    	if err != nil {
    		return err
    	}
    	sum := hasher.Sum(nil)
    	if !bytes.Equal(sum, c.Raw) {
    		return ChecksumMismatch{
    			Want: c.Encoded,
    			Got:  base64.StdEncoding.EncodeToString(sum),
    		}
    	}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/KtFirDelegatingNamesAwareScope.kt

     */
    
    package org.jetbrains.kotlin.analysis.api.fir.scopes
    
    import org.jetbrains.kotlin.analysis.api.fir.KtSymbolByFirBuilder
    import org.jetbrains.kotlin.analysis.api.fir.utils.cached
    import org.jetbrains.kotlin.analysis.api.lifetime.withValidityAssertion
    import org.jetbrains.kotlin.fir.scopes.FirContainingNamesAwareScope
    import org.jetbrains.kotlin.name.Name
    
    Plain Text
    - Registered: Fri Mar 22 08:18:09 GMT 2024
    - Last Modified: Fri May 19 11:53:15 GMT 2023
    - 1.3K bytes
    - Viewed (0)
Back to top