Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for plating (0.19 sec)

  1. clause/select.go

    package clause
    
    // Select select attrs when querying, updating, creating
    type Select struct {
    	Distinct   bool
    	Columns    []Column
    	Expression Expression
    }
    
    func (s Select) Name() string {
    	return "SELECT"
    }
    
    func (s Select) Build(builder Builder) {
    	if len(s.Columns) > 0 {
    		if s.Distinct {
    			builder.WriteString("DISTINCT ")
    		}
    
    		for idx, column := range s.Columns {
    			if idx > 0 {
    				builder.WriteByte(',')
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Wed Jul 14 07:51:24 GMT 2021
    - 1.1K bytes
    - Viewed (0)
  2. internal/s3select/sql/funceval.go

    		return x, nil
    	case string:
    		// Parse as number, truncate floating point if
    		// needed.
    		// String might contain trimming spaces, which
    		// needs to be trimmed.
    		res, ok := strToInt(strings.TrimSpace(x))
    		if !ok {
    			return 0, errCastFailure("could not parse as int")
    		}
    		return res, nil
    	case []byte:
    		// Parse as number, truncate floating point if
    		// needed.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 13.2K bytes
    - Viewed (0)
  3. tests/update_test.go

    		t.Fatalf("invalid updating SQL, got %v", stmt.SQL.String())
    	}
    
    	dryDB = DB.Session(&gorm.Session{DryRun: true})
    	stmt = dryDB.Unscoped().Save(&user).Statement
    	if !regexp.MustCompile(`WHERE .id. = [^ ]+$`).MatchString(stmt.SQL.String()) {
    		t.Fatalf("invalid updating SQL, got %v", stmt.SQL.String())
    	}
    
    	user3 := *GetUser("save3", Config{})
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Dec 04 03:50:58 GMT 2023
    - 30.3K bytes
    - Viewed (0)
  4. cmd/erasure-sets.go

    				continue
    			}
    
    			// An online-disk means its a valid disk but it may be a re-connected disk
    			// we verify that here based on LastConn(), however we make sure to avoid
    			// putting it back into the s.erasureDisks by re-placing the disk again.
    			_, setIndex, _ := cdisk.GetDiskLoc()
    			if setIndex != -1 {
    				continue
    			}
    		}
    		if cdisk != nil {
    			// Close previous offline disk.
    			cdisk.Close()
    		}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 37.5K bytes
    - Viewed (5)
  5. src/cmd/asm/internal/arch/arm.go

    func IsARMBFX(op obj.As) bool {
    	switch op {
    	case arm.ABFX, arm.ABFXU, arm.ABFC, arm.ABFI:
    		return true
    	}
    	return false
    }
    
    // IsARMFloatCmp reports whether the op is a floating comparison instruction.
    func IsARMFloatCmp(op obj.As) bool {
    	switch op {
    	case arm.ACMPF, arm.ACMPD:
    		return true
    	}
    	return false
    }
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Nov 18 17:59:44 GMT 2022
    - 6.1K bytes
    - Viewed (0)
  6. cmd/admin-handlers-users.go

    		return
    	}
    
    	user, exists := globalIAMSys.GetUser(ctx, accessKey)
    	if exists && (user.Credentials.IsTemp() || user.Credentials.IsServiceAccount()) {
    		// Updating STS credential is not allowed, and this API does not
    		// support updating service accounts.
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAddUserInvalidArgument), r.URL)
    		return
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 77.3K bytes
    - Viewed (0)
  7. cmd/erasure-multipart.go

    		if errors.Is(err, errVolumeNotFound) {
    			return pi, toObjectErr(err, bucket)
    		}
    		return pi, toObjectErr(err, bucket, object, uploadID)
    	}
    
    	// Write lock for this part ID, only hold it if we are planning to read from the
    	// streamto avoid any concurrent updates.
    	//
    	// Must be held throughout this call.
    	partIDLock := er.NewNSLock(bucket, pathJoin(object, uploadID, strconv.Itoa(partID)))
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  8. src/cmd/cgo/gcc.go

    				}
    			case "fconst":
    				if i >= len(floats) {
    					break
    				}
    				switch base(types[i]).(type) {
    				case *dwarf.IntType, *dwarf.UintType:
    					// This has an integer type so it's
    					// not really a floating point
    					// constant. This can happen when the
    					// C compiler complains about using
    					// the value as an integer constant,
    					// but not as a general constant.
    					// Treat this as a variable of the
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/arch/arch.go

    	register["T6"] = riscv.REG_T6
    
    	// Go runtime register names.
    	register["g"] = riscv.REG_G
    	register["CTXT"] = riscv.REG_CTXT
    	register["TMP"] = riscv.REG_TMP
    
    	// ABI names for floating point register.
    	register["FT0"] = riscv.REG_FT0
    	register["FT1"] = riscv.REG_FT1
    	register["FT2"] = riscv.REG_FT2
    	register["FT3"] = riscv.REG_FT3
    	register["FT4"] = riscv.REG_FT4
    	register["FT5"] = riscv.REG_FT5
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Mar 21 06:51:28 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  10. src/builtin/builtin.go

    // int64 is the set of all signed 64-bit integers.
    // Range: -9223372036854775808 through 9223372036854775807.
    type int64 int64
    
    // float32 is the set of all IEEE 754 32-bit floating-point numbers.
    type float32 float32
    
    // float64 is the set of all IEEE 754 64-bit floating-point numbers.
    type float64 float64
    
    // complex64 is the set of all complex numbers with float32 real and
    // imaginary parts.
    type complex64 complex64
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
Back to top