Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 567 for Rashed (0.75 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/KtFirConstructorSymbol.kt

    ) : KtConstructorSymbol(), KtFirSymbol<FirConstructorSymbol> {
        override val psi: PsiElement? by cached { firSymbol.findPsi() }
    
        override val returnType: KtType get() = withValidityAssertion { firSymbol.returnType(builder) }
    
        override val valueParameters: List<KtValueParameterSymbol> by cached { firSymbol.createKtValueParameters(builder) }
    
        override val hasStableParameterNames: Boolean
    Plain Text
    - Registered: Fri Feb 23 08:18:11 GMT 2024
    - Last Modified: Tue Nov 07 09:06:00 GMT 2023
    - 4K bytes
    - Viewed (0)
  9. docs_src/sql_databases_peewee/sql_app/models.py

    import peewee
    
    from .database import db
    
    
    class User(peewee.Model):
        email = peewee.CharField(unique=True, index=True)
        hashed_password = peewee.CharField()
        is_active = peewee.BooleanField(default=True)
    
        class Meta:
            database = db
    
    
    class Item(peewee.Model):
        title = peewee.CharField(index=True)
        description = peewee.CharField(index=True)
        owner = peewee.ForeignKeyField(User, backref="items")
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Mar 26 19:09:53 GMT 2020
    - 465 bytes
    - Viewed (0)
  10. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/psiBased/KtFe10PsiValueParameterSymbol.kt

        override val descriptor: VariableDescriptor? by cached {
            val bindingContext = analysisContext.analyze(psi, AnalysisMode.PARTIAL)
            bindingContext[BindingContext.VALUE_PARAMETER, psi]
        }
    
        override val generatedPrimaryConstructorProperty: KtKotlinPropertySymbol? by cached {
            val bindingContext = analysisContext.analyze(psi, AnalysisMode.PARTIAL)
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:46 GMT 2024
    - 4.1K bytes
    - Viewed (0)
Back to top