- Sort Score
- Result 10 results
- Languages All
Results 341 - 350 of 6,241 for if (0.02 sec)
-
tests/hooks_test.go
if err != nil { t.Fatalf("should update success, but got err %v", err) } if beforeUpdateCall != 1 { t.Fatalf("before update should be called") } err = DB.Model(Product5{}).Where("id", p.ID).Update("name", "update_name_2").Error if !errors.Is(err, gorm.ErrInvalidValue) { t.Fatalf("should got RecordNotFound, but got %v", err) } if beforeUpdateCall != 1 {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Jun 17 03:59:06 UTC 2024 - 16.7K bytes - Viewed (0) -
cmd/bucket-replication-metrics_gen_test.go
v := ActiveWorkerStat{} 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 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Feb 06 06:00:45 UTC 2024 - 17.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/cbean/ca/bs/BsFileConfigCA.java
FileConfigCQ cq = new FileConfigCQ(); if (queryLambda != null) { queryLambda.callback(cq); } FilterAggregationBuilder builder = regFilterA(name, cq.getQuery()); if (opLambda != null) { opLambda.callback(builder); } if (aggsLambda != null) { FileConfigCA ca = new FileConfigCA();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 144.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/FilteredEntryMultimap.java
checkNonnegative(occurrences, "occurrences"); if (occurrences == 0) { return count(key); } Collection<V> collection = unfiltered.asMap().get(key); if (collection == null) { return 0; } @SuppressWarnings("unchecked") // key is equal to a K, if not a K itself K k = (K) key; int oldCount = 0;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 12.1K bytes - Viewed (0) -
docs/en/docs/tutorial/path-params-numeric-validations.md
//// //// tab | Python 3.10+ non-Annotated /// tip Prefer to use the `Annotated` version if possible. /// ```Python hl_lines="1" {!> ../../docs_src/path_params_numeric_validations/tutorial001_py310.py!} ``` //// //// tab | Python 3.8+ non-Annotated /// tip Prefer to use the `Annotated` version if possible. /// ```Python hl_lines="3"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 8.8K bytes - Viewed (0) -
android/guava/src/com/google/common/base/internal/Finalizer.java
* queue, false if the associated FinalizableReferenceQueue is no longer referenced. */ private boolean cleanUp(Reference<?> firstReference) { Method finalizeReferentMethod = getFinalizeReferentMethod(); if (finalizeReferentMethod == null) { return false; } if (!finalizeReference(firstReference, finalizeReferentMethod)) { return false; } /*
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Aug 23 12:54:09 UTC 2023 - 9.4K bytes - Viewed (0) -
internal/event/target/elasticsearch.go
func (a ElasticsearchArgs) Validate() error { if !a.Enable { return nil } if a.URL.IsEmpty() { return errors.New("empty URL") } if a.Format != "" { f := strings.ToLower(a.Format) if f != event.NamespaceFormat && f != event.AccessFormat { return errors.New("format value unrecognized") } } if a.Index == "" { return errors.New("empty index value") }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 15K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/cbean/ca/bs/BsScheduledJobCA.java
ScheduledJobCQ cq = new ScheduledJobCQ(); if (queryLambda != null) { queryLambda.callback(cq); } FilterAggregationBuilder builder = regFilterA(name, cq.getQuery()); if (opLambda != null) { opLambda.callback(builder); } if (aggsLambda != null) { ScheduledJobCA ca = new ScheduledJobCA();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 89.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/bsentity/BsLabelType.java
if (createdBy != null) { addFieldToSource(sourceMap, "createdBy", createdBy); } if (createdTime != null) { addFieldToSource(sourceMap, "createdTime", createdTime); } if (excludedPaths != null) { addFieldToSource(sourceMap, "excludedPaths", excludedPaths); } if (includedPaths != null) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 8.5K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingException.java
* * @return The interim model building result or {@code null} if not available. */ public ModelBuildingResult getResult() { return result; } /** * Gets the model that could not be built properly. * * @return The erroneous model or {@code null} if not available. */ public Model getModel() { if (result == null) { return null; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.6K bytes - Viewed (0)