- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 484 for slices (0.08 sec)
-
internal/logger/targets.go
// This is always set represent /dev/console target consoleTgt Target ) // SystemTargets returns active targets. // Returned slice may not be modified in any way. func SystemTargets() []Target { return systemTargets.get() } // AuditTargets returns active audit targets. // Returned slice may not be modified in any way. func AuditTargets() []Target { return auditTargets.get() }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jun 03 15:44:50 UTC 2024 - 6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharSourceTester.java
TestSuite suite = suiteForString(factory, new String(bytes, UTF_8), name, desc); ByteSourceFactory byteSourceFactory = SourceSinkFactories.asByteSourceFactory(factory); suite.addTest( ByteSourceTester.suiteForBytes( byteSourceFactory, bytes, name + ".asByteSource[Charset]", desc, slice)); return suite; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 6.8K bytes - Viewed (0) -
callbacks/create.go
} insertID += schema.DefaultAutoIncrementIncrement } default: if pkField == nil { return } switch db.Statement.ReflectValue.Kind() { case reflect.Slice, reflect.Array: if config.LastInsertIDReversed { for i := db.Statement.ReflectValue.Len() - 1; i >= 0; i-- { rv := db.Statement.ReflectValue.Index(i) if reflect.Indirect(rv).Kind() != reflect.Struct {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Apr 08 03:29:55 UTC 2024 - 12.5K bytes - Viewed (0) -
docs/distributed/samples/bootstrap-partial.ldif
ou: hwengg # Create people sub-org dn: ou=people,ou=hwengg,dc=min,dc=io objectClass: organizationalUnit ou: people # Create Alice, Bob and Cody in hwengg dn: uid=alice1,ou=people,ou=hwengg,dc=min,dc=io objectClass: inetOrgPerson cn: Alice Smith sn: Smith uid: alice1 mail: alice@example.io userPassword: {SSHA}Yeh2/IV/q/HjG2yzN3YdE9CAF3EJFCLu dn: uid=bobfisher,ou=people,ou=hwengg,dc=min,dc=io objectClass: inetOrgPerson
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 12 15:59:00 UTC 2024 - 1.4K bytes - Viewed (0) -
cmd/metacache-entries.go
// Order is preserved, but the underlying slice is modified. func (m *metaCacheEntriesSorted) filterObjectsOnly() { dst := m.o[:0] for _, o := range m.o { if !o.isDir() { dst = append(dst, o) } } m.o = dst } // filterPrefixesOnly will remove objects. // Order is preserved, but the underlying slice is modified. func (m *metaCacheEntriesSorted) filterPrefixesOnly() {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 08 15:29:58 UTC 2024 - 24.1K bytes - Viewed (0) -
clause/set_test.go
}) } } func TestAssignments(t *testing.T) { set := clause.Assignments(map[string]interface{}{ "name": "jinzhu", "age": 18, }) assignments := []clause.Assignment(set) sort.Slice(assignments, func(i, j int) bool { return strings.Compare(assignments[i].Column.Name, assignments[j].Column.Name) > 0 })
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Jan 06 07:02:53 UTC 2022 - 1.4K bytes - Viewed (0) -
src/bytes/buffer_test.go
}() buf := NewBuffer(make([]byte, 1)) const maxInt = int(^uint(0) >> 1) buf.Grow(maxInt) } // Was a bug: used to give EOF reading empty slice at EOF. func TestReadEmptyAtEOF(t *testing.T) { b := new(Buffer) slice := make([]byte, 0) n, err := b.Read(slice) if err != nil { t.Errorf("read error: %v", err) } if n != 0 { t.Errorf("wrong count; got %d want 0", n) } }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Sep 03 20:55:15 UTC 2024 - 18.6K bytes - Viewed (0) -
statement.go
subdb.callbacks.Query().Execute(subdb) } writer.WriteString(subdb.Statement.SQL.String()) stmt.Vars = subdb.Statement.Vars default: switch rv := reflect.ValueOf(v); rv.Kind() { case reflect.Slice, reflect.Array: if rv.Len() == 0 { writer.WriteString("(NULL)") } else if rv.Type().Elem() == reflect.TypeOf(uint8(0)) { stmt.Vars = append(stmt.Vars, v) stmt.DB.Dialector.BindVarTo(writer, stmt, v)
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Jun 24 09:42:59 UTC 2024 - 19.9K bytes - Viewed (0) -
doc/next/6-stdlib/99-minor/bytes/61901.md
The [bytes] package adds several functions that work with iterators: - [Lines] returns an iterator over the newline-terminated lines in the byte slice s. - [SplitSeq] returns an iterator over all substrings of s separated by sep. - [SplitAfterSeq] returns an iterator over substrings of s split after each instance of sep. - [FieldsSeq] returns an iterator over substrings of s split around runs of whitespace characters, as defined by unicode.IsSpace.
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Aug 14 18:23:13 UTC 2024 - 582 bytes - Viewed (0) -
docs/distributed/samples/bootstrap-complete.ldif
ou: hwengg # Create people sub-org dn: ou=people,ou=hwengg,dc=min,dc=io objectClass: organizationalUnit ou: people # Create Alice, Bob and Cody in hwengg dn: uid=alice1,ou=people,ou=hwengg,dc=min,dc=io objectClass: inetOrgPerson cn: Alice Smith sn: Smith uid: alice1 mail: alice@example.io userPassword: {SSHA}Yeh2/IV/q/HjG2yzN3YdE9CAF3EJFCLu dn: uid=bobfisher,ou=people,ou=hwengg,dc=min,dc=io objectClass: inetOrgPerson
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 12 15:59:00 UTC 2024 - 3.2K bytes - Viewed (0)