- Sort Score
- Result 10 results
- Languages All
Results 661 - 670 of 908 for var2 (0.48 sec)
-
cmd/api-headers_test.go
import ( "testing" ) func TestNewRequestID(t *testing.T) { // Ensure that it returns an alphanumeric result of length 16. id := mustGetRequestID(UTCNow()) if len(id) != 16 { t.Fail() } var e rune for _, char := range id { e = char // Ensure that it is alphanumeric, in this case, between 0-9 and A-Z. isAlnum := ('0' <= e && e <= '9') || ('A' <= e && e <= 'Z') if !isAlnum { t.Fail() }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 1.2K bytes - Viewed (0) -
tests/generics_test.go
t.Fatalf("Create failed: %v", err) } row := gorm.G[User](DB).Raw("SELECT name FROM ? WHERE id = ?", clause.Table{Name: clause.CurrentTable}, user.ID).Row(ctx) var name string if err := row.Scan(&name); err != nil { t.Fatalf("Row scan failed: %v", err) } if name != user.Name { t.Errorf("expected %s, got %s", user.Name, name) }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Sep 04 13:13:16 UTC 2025 - 28K bytes - Viewed (0) -
guava/src/com/google/common/collect/BiMap.java
@Nullable V forcePut(@ParametricNullness K key, @ParametricNullness V value); // Bulk Operations /** * {@inheritDoc} * * <p><b>Warning:</b> the results of calling this method may vary depending on the iteration order * of {@code map}. * * @throws IllegalArgumentException if an attempt to {@code put} any entry fails. Note that some
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 17:32:30 UTC 2025 - 4.2K bytes - Viewed (0) -
tests/table_test.go
t.Errorf("Table with escape character, got %v", r.Statement.SQL.String()) } AssertEqual(t, r.Statement.Vars, []interface{}{2, 4, 1, 3}) } func TestTableWithAllFields(t *testing.T) { dryDB := DB.Session(&gorm.Session{DryRun: true, QueryFields: true})
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Jul 21 02:46:58 UTC 2025 - 12.7K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/admin/backup/admin_backup.jsp
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Wed Feb 12 20:25:27 UTC 2020 - 5.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/StatusLine.kt
"Unexpected status line: $statusLine", ) // Parse an optional response message like "OK" or "Not Modified". If it // exists, it is separated from the response code by a space. var message = "" if (statusLine.length > codeStart + 3) { if (statusLine[codeStart + 3] != ' ') { throw ProtocolException("Unexpected status line: $statusLine") }Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.3K bytes - Viewed (0) -
cmd/is-dir-empty_linux.go
// On filesystems such as btrfs, nfs this is not true, so fallback // to performing readdir() instead. entries, err := readDirN(dirname, 1) if err != nil { return false } return len(entries) == 0 } var stat syscall.Stat_t if err := syscall.Stat(dirname, &stat); err != nil { return false } return stat.Mode&syscall.S_IFMT == syscall.S_IFDIR && stat.Nlink == 2
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Apr 05 15:17:08 UTC 2024 - 1.4K bytes - Viewed (0) -
misc/cgo/gmp/pi.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build ignore package main import ( big "." "fmt" "runtime" ) var ( tmp1 = big.NewInt(0) tmp2 = big.NewInt(0) numer = big.NewInt(1) accum = big.NewInt(0) denom = big.NewInt(1) ten = big.NewInt(10) ) func extractDigit() int64 { if big.CmpInt(numer, accum) > 0 {
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Apr 10 22:32:35 UTC 2023 - 1.3K bytes - Viewed (0) -
api/go1.18.txt
pkg debug/dwarf, type BasicType struct, DataBitOffset int64 pkg debug/dwarf, type StructField struct, DataBitOffset int64 pkg debug/elf, const R_PPC64_RELATIVE = 22 pkg debug/elf, const R_PPC64_RELATIVE R_PPC64 pkg debug/plan9obj, var ErrNoSymbols error pkg go/ast, method (*IndexListExpr) End() token.Pos pkg go/ast, method (*IndexListExpr) Pos() token.Pos pkg go/ast, type FuncType struct, TypeParams *FieldList pkg go/ast, type IndexListExpr struct
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Feb 17 20:31:46 UTC 2023 - 13K bytes - Viewed (0) -
okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceRecorder.kt
import okhttp3.sse.EventSource import okhttp3.sse.EventSourceListener class EventSourceRecorder : EventSourceListener() { private val events = LinkedBlockingDeque<Any>() private var cancel = false fun enqueueCancel() { cancel = true } override fun onOpen( eventSource: EventSource, response: Response, ) { get().log("[ES] onOpen", Platform.INFO, null)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 11:32:52 UTC 2025 - 3.2K bytes - Viewed (0)