Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 4,244 for Kint (0.36 sec)

  1. cmd/xl-storage-format-v1_gen.go

    func (z *BitrotAlgorithm) DecodeMsg(dc *msgp.Reader) (err error) {
    	{
    		var zb0001 uint
    		zb0001, err = dc.ReadUint()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		(*z) = BitrotAlgorithm(zb0001)
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z BitrotAlgorithm) EncodeMsg(en *msgp.Writer) (err error) {
    	err = en.WriteUint(uint(z))
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Mar 21 17:21:35 GMT 2024
    - 40.2K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelProblemCollector.java

     * the fact that the problem reporter has/should not have information about the calling context and hence cannot provide
     * an expressive source hint for the model problem. Instead, the source hint is configured by the model builder before
     * it delegates to other components that potentially encounter problems. Then, the problem reporter can focus on
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/InternersTest.java

        Interner<Integer> pool = Interners.newWeakInterner();
        assertSame(canonical, pool.intern(canonical));
    
        WeakReference<Integer> signal = new WeakReference<>(canonical);
        canonical = null; // Hint to the JIT that canonical is unreachable
    
        GcFinalization.awaitClear(signal);
        assertSame(not, pool.intern(not));
      }
    
      public void testAsFunction_simplistic() {
        String canonical = "a";
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4K bytes
    - Viewed (0)
  4. tests/joins_table_test.go

    	"time"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/clause"
    )
    
    type Person struct {
    	ID        int
    	Name      string
    	Addresses []Address `gorm:"many2many:person_addresses;"`
    	DeletedAt gorm.DeletedAt
    }
    
    type Address struct {
    	ID   uint
    	Name string
    }
    
    type PersonAddress struct {
    	PersonID  int
    	AddressID int
    	CreatedAt time.Time
    	DeletedAt gorm.DeletedAt
    }
    
    func TestOverrideJoinTable(t *testing.T) {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Thu Sep 10 13:46:18 GMT 2020
    - 3.5K bytes
    - Viewed (0)
  5. utils/utils.go

    	switch v := value.(type) {
    	case string:
    		return v
    	case int:
    		return strconv.FormatInt(int64(v), 10)
    	case int8:
    		return strconv.FormatInt(int64(v), 10)
    	case int16:
    		return strconv.FormatInt(int64(v), 10)
    	case int32:
    		return strconv.FormatInt(int64(v), 10)
    	case int64:
    		return strconv.FormatInt(v, 10)
    	case uint:
    		return strconv.FormatUint(uint64(v), 10)
    	case uint8:
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Apr 22 06:43:02 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  6. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerWriter.kt

       */
      var constructed = false
    
      fun write(
        name: String,
        tagClass: Int,
        tag: Long,
        block: (BufferedSink) -> Unit,
      ) {
        val constructedBit: Int
        val content = Buffer()
    
        stack.add(content)
        constructed = false // The enclosed object written in block() is not constructed.
        path += name
        try {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  7. docs/bucket/versioning/DESIGN.md

    | ----------------|-----------------------------|----------------------------------------
    | xlHeaderVersion | msgp uint                   | header version identifier
    | xlMetaVersion   | msgp uint                   | metadata version identifier
    | versions        | msgp int                    | Number of versions following
    | header_1        | msgp bin array              | Header of version 1
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Jul 17 15:43:14 GMT 2022
    - 5.8K bytes
    - Viewed (1)
  8. utils/utils_test.go

    	tests := []struct {
    		name string
    		in   interface{}
    		out  string
    	}{
    		{"int", math.MaxInt64, "9223372036854775807"},
    		{"int8", int8(math.MaxInt8), "127"},
    		{"int16", int16(math.MaxInt16), "32767"},
    		{"int32", int32(math.MaxInt32), "2147483647"},
    		{"int64", int64(math.MaxInt64), "9223372036854775807"},
    		{"uint", uint(math.MaxUint64), "18446744073709551615"},
    		{"uint8", uint8(math.MaxUint8), "255"},
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Feb 19 03:42:25 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  9. internal/dsync/drwmutex.go

    func checkQuorumLocked(locks *[]string, quorum int) bool {
    	count := 0
    	for _, uid := range *locks {
    		if isLocked(uid) {
    			count++
    		}
    	}
    
    	return count >= quorum
    }
    
    // releaseAll releases all locks that are marked as locked
    func releaseAll(ctx context.Context, ds *Dsync, tolerance int, owner string, locks *[]string, isReadLock bool, restClnts []NetLocker, names ...string) bool {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  10. cmd/xl-storage-format-v1.go

    	DataBlocks int `json:"data"`
    	// ParityBlocks is the number of parity blocks for erasure-coding
    	ParityBlocks int `json:"parity"`
    	// BlockSize is the size of one erasure-coded block
    	BlockSize int64 `json:"blockSize"`
    	// Index is the index of the current disk
    	Index int `json:"index"`
    	// Distribution is the distribution of the data and parity blocks
    	Distribution []int `json:"distribution"`
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 8.2K bytes
    - Viewed (0)
Back to top