Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 76 for uint (0.04 sec)

  1. tests/migrate_test.go

    		db.Logger = db.Logger.LogMode(logger.Silent)
    	}
    
    	type Object1 struct {
    		ID uint
    	}
    	type Object2 struct {
    		ID     uint
    		Field1 int `gorm:"type:int8"`
    	}
    	type Object3 struct {
    		ID     uint
    		Field1 int `gorm:"type:int4"`
    	}
    	type Object4 struct {
    		ID     uint
    		Field2 int
    	}
    	db.Migrator().DropTable("objects")
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Mar 18 11:24:16 UTC 2024
    - 56.2K bytes
    - Viewed (0)
  2. tests/query_test.go

    			t.Errorf("Unexpected result on pluck name, got %+v", names)
    		}
    	}
    
    	for idx, id := range ids {
    		if int(id) != int(users[idx].ID) {
    			t.Errorf("Unexpected result on pluck id, got %+v", ids)
    		}
    	}
    
    	for idx, id := range ids2 {
    		if int(id) != int(users[idx].ID+1) {
    			t.Errorf("Unexpected result on pluck id, got %+v", ids)
    		}
    	}
    
    	var times []time.Time
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  3. src/cmd/cgo/gcc.go

    var dwarfToName = map[string]string{
    	"long int":               "long",
    	"long unsigned int":      "ulong",
    	"unsigned int":           "uint",
    	"short unsigned int":     "ushort",
    	"unsigned short":         "ushort", // Used by Clang; issue 13129.
    	"short int":              "short",
    	"long long int":          "longlong",
    	"long long unsigned int": "ulonglong",
    	"signed char":            "schar",
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 18 15:07:34 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  4. src/bytes/bytes_test.go

    }
    
    func bmIndexRuneASCII(index func([]byte, rune) int) func(b *testing.B, n int) {
    	return func(b *testing.B, n int) {
    		buf := bmbuf[0:n]
    		buf[n-1] = 'x'
    		for i := 0; i < b.N; i++ {
    			j := index(buf, 'x')
    			if j != n-1 {
    				b.Fatal("bad index", j)
    			}
    		}
    		buf[n-1] = '\x00'
    	}
    }
    
    func bmIndexRune(index func([]byte, rune) int) func(b *testing.B, n int) {
    	return func(b *testing.B, n int) {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Aug 19 19:09:04 UTC 2024
    - 61.2K bytes
    - Viewed (0)
  5. cmd/xl-storage-format-v2_gen.go

    func (z *ChecksumAlgo) DecodeMsg(dc *msgp.Reader) (err error) {
    	{
    		var zb0001 uint8
    		zb0001, err = dc.ReadUint8()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		(*z) = ChecksumAlgo(zb0001)
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z ChecksumAlgo) EncodeMsg(en *msgp.Writer) (err error) {
    	err = en.WriteUint8(uint8(z))
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  6. .teamcity/test-buckets.json

    				},
    				"subprojects":[
    					"kotlin-dsl-integ-tests",
    					"toolchains-jvm",
    					"execution",
    					"resources",
    					"resources-http",
    					"internal-performance-testing",
    					"unit-test-fixtures",
    					"wrapper-shared",
    					"platform-jvm",
    					"build-cache-spi",
    					"snapshots"
    				]
    			},
    			{
    				"parallelizationMethod":{
    					"name":"TestDistribution"
    				},
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Oct 08 11:14:16 UTC 2024
    - 87.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/cache/CacheBuilder.java

      @CanIgnoreReturnValue
      public CacheBuilder<K, V> refreshAfterWrite(long duration, TimeUnit unit) {
        checkNotNull(unit);
        checkState(refreshNanos == UNSET_INT, "refresh was already set to %s ns", refreshNanos);
        checkArgument(duration > 0, "duration must be positive: %s %s", duration, unit);
        this.refreshNanos = unit.toNanos(duration);
        return this;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 52K bytes
    - Viewed (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                                + "'. Value must be positive.");
                    }
    
                    int procs = Runtime.getRuntime().availableProcessors();
                    int threads = (int) (coreMultiplier * procs);
                    return threads == 0 ? 1 : threads;
                } else {
                    int threads = Integer.parseInt(threadConfiguration);
                    if (threads <= 0) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
  9. cmd/xl-storage-format-v2.go

    		flags |= xlFlagUsesDataDir
    	}
    	if j.Type == ObjectType && j.ObjectV2.InlineData() {
    		flags |= xlFlagInlineData
    	}
    	var ecM, ecN uint8
    	if j.Type == ObjectType && j.ObjectV2 != nil {
    		ecM, ecN = uint8(j.ObjectV2.ErasureM), uint8(j.ObjectV2.ErasureN)
    	}
    	return xlMetaV2VersionHeader{
    		VersionID: j.getVersionID(),
    		ModTime:   j.getModTime().UnixNano(),
    		Signature: j.getSignature(),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  10. guava/src/com/google/common/cache/CacheBuilder.java

      @CanIgnoreReturnValue
      public CacheBuilder<K, V> refreshAfterWrite(long duration, TimeUnit unit) {
        checkNotNull(unit);
        checkState(refreshNanos == UNSET_INT, "refresh was already set to %s ns", refreshNanos);
        checkArgument(duration > 0, "duration must be positive: %s %s", duration, unit);
        this.refreshNanos = unit.toNanos(duration);
        return this;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 51.6K bytes
    - Viewed (0)
Back to top