- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 1,483 for emplace (0.12 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapReplaceTester.java
public void testReplace_supportedPresent() { assertEquals(v0(), getMap().replace(k0(), v3())); expectReplacement(entry(k0(), v3())); } @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO) public void testReplace_supportedPresentNoChange() { assertEquals(v0(), getMap().replace(k0(), v0())); expectUnchanged(); } @MapFeature.Require(SUPPORTS_PUT)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 20:00:30 UTC 2024 - 3.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceTester.java
try { assertEquals(v0(), getMap().replace(k0(), v3())); expectReplacement(entry(k0(), v3())); } catch (ClassCastException tolerated) { // for ClassToInstanceMap expectUnchanged(); } } @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO) public void testReplace_supportedPresentNoChange() { assertEquals(v0(), getMap().replace(k0(), v0())); expectUnchanged(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 4K bytes - Viewed (0) -
api/go1.18.txt
pkg testing, type InternalFuzzTarget struct, Name string pkg text/template/parse, const NodeBreak = 21 pkg text/template/parse, const NodeBreak NodeType pkg text/template/parse, const NodeContinue = 22 pkg text/template/parse, const NodeContinue NodeType pkg text/template/parse, method (*BreakNode) Copy() Node pkg text/template/parse, method (*BreakNode) String() string pkg text/template/parse, method (*ContinueNode) Copy() Node
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Feb 17 20:31:46 UTC 2023 - 13K bytes - Viewed (0) -
helm/minio/templates/servicemonitor.yaml
apiVersion: monitoring.coreos.com/v1 kind: ServiceMonitor metadata: name: {{ template "minio.fullname" . }} {{- if .Values.metrics.serviceMonitor.namespace }} namespace: {{ .Values.metrics.serviceMonitor.namespace }} {{- end }} labels: app: {{ template "minio.name" . }} chart: {{ template "minio.chart" . }} release: {{ .Release.Name }} heritage: {{ .Release.Service }}
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Apr 17 06:04:15 UTC 2023 - 3.8K bytes - Viewed (0) -
compat/maven-plugin-api/pom.xml
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbResourceLocatorImpl.java
this.unc = '\\' + name.replace('/', '\\') + ( trailingSlash ? "\\" : "" ); this.canon = context.getURLPath() + name + ( trailingSlash ? "/" : "" ); this.share = shr; } else { this.unc = uncPath + name.replace('/', '\\') + ( trailingSlash ? "\\" : "" );
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sat Jul 20 08:24:53 UTC 2019 - 23.9K bytes - Viewed (0) -
tests/multi_primary_keys_test.go
t.Fatalf("Preload many2many relations") } // Replace tag5 := &Tag{Locale: "ZH", Value: "tag5"} tag6 := &Tag{Locale: "ZH", Value: "tag6"} DB.Model(&blog).Association("Tags").Replace(tag5, tag6) var tags2 []Tag DB.Model(&blog).Association("Tags").Find(&tags2) if !compareTags(tags2, []string{"tag5", "tag6"}) { t.Fatalf("Should find 2 tags after Replace") } if DB.Model(&blog).Association("Tags").Count() != 2 {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Jan 06 07:02:53 UTC 2022 - 12.8K bytes - Viewed (0) -
tests/associations_many2many_test.go
languages2_1 := []*Language{ {Code: "language-slice-replace-1-1", Name: "language-slice-replace-1-1"}, {Code: "language-slice-replace-1-2", Name: "language-slice-replace-1-2"}, } languages2_2 := []*Language{ {Code: "language-slice-replace-2-1", Name: "language-slice-replace-2-1"}, {Code: "language-slice-replace-2-2", Name: "language-slice-replace-2-2"}, }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Sat Jun 10 13:05:19 UTC 2023 - 13.2K bytes - Viewed (0) -
tests/associations_has_many_test.go
) AssertAssociationCount(t, users, "Pets", 10, "After Append") // Replace -> same as append DB.Model(&users).Association("Pets").Replace( []*Pet{{Name: "pet-slice-replace-1-1"}, {Name: "pet-slice-replace-1-2"}}, []*Pet{{Name: "pet-slice-replace-2-1"}, {Name: "pet-slice-replace-2-2"}}, &Pet{Name: "pet-slice-replace-3"}, ) AssertAssociationCount(t, users, "Pets", 5, "After Append") // Delete
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Jun 12 10:49:45 UTC 2024 - 16K bytes - Viewed (0) -
src/main/webapp/js/admin/plugins/form-validator/color.js
n!1},errorMessage:"",errorMessageKey:"badHex"}),a.formUtils.addValidator({name:"rgb",validatorFunction:function(a,b){if("true"===b.valAttr("allow-transparent")&&"transparent"===a)return!0;var c=a.replace(/ /g,""),d=/\([0-9]{1,3},[0-9]{1,3},[0-9]{1,3}\)/i;if(c.match(d)){var e=c.replace(/\(/g,"").replace(/\)/g,""),f=e.split(","),g=!0;return f.forEach(function(a){var b=parseInt(a);(Number.isInteger(b)&&0<=b&&b<=255)===!1&&(g=!1)}),g}return!1},errorMessage:"",errorMessageKey:"badRgb"}),a.formUtils.a...
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Mon Jan 01 05:12:47 UTC 2018 - 2.8K bytes - Viewed (0)