- Sort Score
- Num 10 results
- Language All
Results 1091 - 1100 of 6,702 for If (0.03 seconds)
-
tests/association_generics_test.go
).Update(ctx) if err != nil { t.Fatalf("Set Update mixed failed: %v", err) } if rows != 1 { t.Fatalf("expected 1 row affected for field update, got %d", rows) } var got User if err := DB.Preload("Pets").First(&got, user.ID).Error; err != nil { t.Fatalf("load user: %v", err) } if got.Age != 30 { t.Fatalf("expected age 30, got %d", got.Age) }
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Fri Sep 12 05:42:26 GMT 2025 - 37.9K bytes - Click Count (0) -
src/bufio/example_test.go
i := bytes.IndexByte(data, ',') if i == -1 { if !atEOF { return 0, nil, nil } // If we have reached the end, return the last token. return 0, data, bufio.ErrFinalToken } // If the token is "STOP", stop the scanning and ignore the rest. if string(data[:i]) == "STOP" { return i + 1, nil, bufio.ErrFinalToken }
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Nov 01 21:52:12 GMT 2024 - 5.5K bytes - Click Count (0) -
cmd/bucket-stats_gen_test.go
v := BucketReplicationStat{} bts, err := v.MarshalMsg(nil) if err != nil { t.Fatal(err) } left, err := v.UnmarshalMsg(bts) if err != nil { t.Fatal(err) } if len(left) > 0 { t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left) } left, err = msgp.Skip(bts) if err != nil { t.Fatal(err) } if len(left) > 0 {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 20.5K bytes - Click Count (0) -
docs/debugging/pprofgoparser/main.go
func main() { flag.Parse() if len(flag.Args()) == 0 { log.Fatal(helpUsage) } var err error goroutinesRE = regexp.MustCompile(`^goroutine [0-9]+ \[[^,]+(, ([0-9]+) minutes)?\]:$`) if searchText != "" { searchRE, err = regexp.Compile(searchText) if err != nil { log.Fatal(err) } } for _, arg := range flag.Args() {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Mar 06 11:43:16 GMT 2024 - 3.4K bytes - Click Count (0) -
docs_src/security/tutorial004_py310.py
def get_user(db, username: str): if username in db: user_dict = db[username] return UserInDB(**user_dict) def authenticate_user(fake_db, username: str, password: str): user = get_user(fake_db, username) if not user: verify_password(password, DUMMY_HASH) return False if not verify_password(password, user.hashed_password): return False
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 18:10:35 GMT 2026 - 4.1K bytes - Click Count (0) -
.github/ISSUE_TEMPLATE/tflite-converter-issue.md
labels: 'TFLiteConverter' --- ### 1. System information - OS Platform and Distribution (e.g., Linux Ubuntu 16.04): - TensorFlow installation (pip package or built from source): - TensorFlow library (version, if pip package or github SHA, if built from source): ### 2. Code Provide code to help us reproduce your issues using one of the following options: #### Option A: Reference colab notebooks
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Jun 15 03:35:58 GMT 2022 - 2.1K bytes - Click Count (0) -
cmd/batch-rotate.go
if r == nil { return nil } if r.APIVersion != batchKeyRotateAPIVersion { return errInvalidArgument } if r.Bucket == "" { return errInvalidArgument } if _, err := o.GetBucketInfo(ctx, r.Bucket, BucketOptions{}); err != nil { if isErrBucketNotFound(err) { return batchKeyRotationJobError{Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 14.7K bytes - Click Count (0) -
src/main/java/jcifs/smb/PreauthIntegrityService.java
* @param expectedHash the expected final hash * @return true if validation passes * @throws CIFSException if validation fails */ public boolean validatePreauthIntegrity(String sessionId, byte[] expectedHash) throws CIFSException { PreauthIntegrityContext context = sessionContexts.get(sessionId); if (context == null) { if (enforceIntegrity) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 12.1K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/SequentialExchangeFinder.kt
} val (_, nextPlan, failure) = connectResult if (failure != null) throw failure if (nextPlan != null) { routePlanner.deferredPlans.addFirst(nextPlan) continue } } return plan.handleSuccess() } catch (e: IOException) { if (firstException == null) { firstException = e } else {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 1.8K bytes - Click Count (0) -
src/main/java/org/codelibs/core/collection/ArrayMap.java
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Nov 22 11:21:59 GMT 2025 - 20.1K bytes - Click Count (0)