- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 303 for oidx (0.02 seconds)
-
cmd/dummy-data-generator_test.go
} } func (d *DummyDataGen) Read(b []byte) (n int, err error) { k := len(b) numLetters := int64(len(d.b)) for k > 0 && d.idx < d.length { w := copy(b[len(b)-k:], d.b[d.idx%numLetters:]) k -= w d.idx += int64(w) n += w } if d.idx >= d.length { extraBytes := d.idx - d.length n -= int(extraBytes) if n < 0 { n = 0 } err = io.EOF } return n, err }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 4.8K bytes - Click Count (0) -
clause/set.go
} sort.Strings(keys) assignments := make([]Assignment, len(keys)) for idx, key := range keys { assignments[idx] = Assignment{Column: Column{Name: key}, Value: values[key]} } return assignments } func AssignmentColumns(values []string) Set { assignments := make([]Assignment, len(values)) for idx, value := range values { assignments[idx] = Assignment{Column: Column{Name: value}, Value: Column{Table: "excluded", Name: value}}
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Tue Sep 09 01:34:33 GMT 2025 - 1.7K bytes - Click Count (0) -
migrator/index.go
// Table return the table name of the index. func (idx Index) Table() string { return idx.TableName } // Name return the name of the index. func (idx Index) Name() string { return idx.NameValue } // Columns return the columns of the index func (idx Index) Columns() []string { return idx.ColumnList } // PrimaryKey returns the index is primary key or not. func (idx Index) PrimaryKey() (isPrimaryKey bool, ok bool) {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Tue Apr 11 02:32:46 GMT 2023 - 1023 bytes - Click Count (0) -
scan.go
} else { values[idx] = new(interface{}) } } } else { for idx := range columns { values[idx] = new(interface{}) } } } func scanIntoMap(mapValue map[string]interface{}, values []interface{}, columns []string) { for idx, column := range columns { if reflectValue := reflect.Indirect(reflect.Indirect(reflect.ValueOf(values[idx]))); reflectValue.IsValid() {Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sun May 25 07:40:40 GMT 2025 - 10.4K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/NtTransQuerySecurityDescTest.java
final int idx = i; assertEquals(expected[i], dst[offset + i], () -> "byte index " + idx); } // The region before offset and after the payload must remain untouched. for (int i = 0; i < offset; i++) { final int idx = i; assertEquals(0, dst[i], () -> "pre-offset byte " + idx + " modified"); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.6K bytes - Click Count (0) -
schema/relationship.go
if r != rel && r.FieldSchema == rel.Schema && len(rel.References) == len(r.References) { matched := true for idx, ref := range r.References { if rel.References[idx].PrimaryKey != ref.PrimaryKey || rel.References[idx].ForeignKey != ref.ForeignKey || rel.References[idx].PrimaryValue != ref.PrimaryValue { matched = false break } } if matched { return nil
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sun Nov 16 04:11:05 GMT 2025 - 23.1K bytes - Click Count (1) -
tests/hooks_test.go
} } DB.Model(&products2).Update("Name", "product-name") // will set all product's price to last product's price + 10 for idx, value := range []int64{410, 410, 410} { if products2[idx].Price != value { t.Errorf("invalid price for product #%v, expects: %v, got %v", idx, value, products2[idx].Price) } } } type Product4 struct { gorm.Model Name string
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Mon Jun 17 03:59:06 GMT 2024 - 16.7K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy
for (int idx = 0; idx < oldParametersNullability.size(); idx++) { def oldNullability = oldParametersNullability[idx] def newNullability = newParametersNullability[idx] if (oldNullability && !newNullability) { errors << "Parameter $idx from null accepting to non-null accepting breaking change".toString()Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Oct 27 09:26:32 GMT 2025 - 15.4K bytes - Click Count (0) -
internal/s3select/csv/recordtransform.go
if len(rr.recordDelimiter) == 1 { for idx := 0; idx < len(p); { i := bytes.Index(p[idx:], rr.recordDelimiter) if i < 0 { break } idx += i p[idx] = '\n' } return n, nil } // 2 characters... for idx := 0; idx < len(p); { i := bytes.Index(p[idx:], rr.recordDelimiter) if i < 0 { break } idx += i p[idx] = '\n' p = append(p[:idx+1], p[idx+2:]...) n--
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 2.1K bytes - Click Count (0) -
clause/values.go
if len(values.Columns) > 0 { builder.WriteByte('(') for idx, column := range values.Columns { if idx > 0 { builder.WriteByte(',') } builder.WriteQuoted(column) } builder.WriteByte(')') builder.WriteString(" VALUES ") for idx, value := range values.Values { if idx > 0 { builder.WriteByte(',') } builder.WriteByte('(')
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sun May 24 03:35:19 GMT 2020 - 849 bytes - Click Count (0)