- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 2,306 for mapOps (0.2 sec)
-
src/sync/map_test.go
"testing" "testing/quick" ) type mapOp string const ( opLoad = mapOp("Load") opStore = mapOp("Store") opLoadOrStore = mapOp("LoadOrStore") opLoadAndDelete = mapOp("LoadAndDelete") opDelete = mapOp("Delete") opSwap = mapOp("Swap") opCompareAndSwap = mapOp("CompareAndSwap") opCompareAndDelete = mapOp("CompareAndDelete") opClear = mapOp("Clear")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 01 15:34:22 UTC 2024 - 8.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/Maps.java
* "https://github.com/google/guava/wiki/CollectionUtilitiesExplained#maps">{@code Maps}</a>. * * @author Kevin Bourrillion * @author Mike Bostock * @author Isaac Shum * @author Louis Wasserman * @since 2.0 */ @GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault public final class Maps { private Maps() {} private enum EntryFunction implements Function<Entry<?, ?>, @Nullable Object> {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Apr 24 19:38:27 UTC 2024 - 165.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Maps.java
* "https://github.com/google/guava/wiki/CollectionUtilitiesExplained#maps">{@code Maps}</a>. * * @author Kevin Bourrillion * @author Mike Bostock * @author Isaac Shum * @author Louis Wasserman * @since 2.0 */ @GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault public final class Maps { private Maps() {} private enum EntryFunction implements Function<Entry<?, ?>, @Nullable Object> {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sun Jun 02 13:36:19 UTC 2024 - 159.5K bytes - Viewed (0) -
src/testing/fstest/mapfs.go
// is redundant and unnecessary, but having the methods may make // MapFS exercise more code paths when used in tests.) type fsOnly struct{ fs.FS } func (fsys MapFS) ReadFile(name string) ([]byte, error) { return fs.ReadFile(fsOnly{fsys}, name) } func (fsys MapFS) Stat(name string) (fs.FileInfo, error) { return fs.Stat(fsOnly{fsys}, name) } func (fsys MapFS) ReadDir(name string) ([]fs.DirEntry, error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 7.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/Maps.java
* @return 指定されたキーと値を持つ{@link HashMap}を構築するための{@literal Maps} */ public static <KEY, VALUE> Maps<KEY, VALUE> hashMap(final KEY key, final VALUE value) { return new Maps<>(new HashMap<KEY, VALUE>()).$(key, value); } /** * 指定されたキーと値を持つ{@link Hashtable}を構築するための{@literal Maps}を返します。 * * @param <KEY> * <code>Map</code>のキーの型 * @param <VALUE>
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 8K bytes - Viewed (0) -
pkg/maps/maps.go
// See the License for the specific language governing permissions and // limitations under the License. package maps import "maps" // nolint: depguard // Equal reports whether two maps contain the same key/value pairs. // Values are compared using ==. func Equal[M1, M2 ~map[K]V, K, V comparable](m1 M1, m2 M2) bool { return maps.Equal(m1, m2) } // Clone returns a copy of the map.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 01 22:48:35 UTC 2024 - 2.5K bytes - Viewed (0) -
src/maps/maps.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package maps defines various functions useful with maps of any type. package maps import ( _ "unsafe" ) // Equal reports whether two maps contain the same key/value pairs. // Values are compared using ==. func Equal[M1, M2 ~map[K]V, K, V comparable](m1 M1, m2 M2) bool { if len(m1) != len(m2) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 28 20:35:05 UTC 2024 - 1.8K bytes - Viewed (0) -
cmd/kube-controller-manager/app/apps.go
dsc, err := daemon.NewDaemonSetsController( ctx, controllerContext.InformerFactory.Apps().V1().DaemonSets(), controllerContext.InformerFactory.Apps().V1().ControllerRevisions(), controllerContext.InformerFactory.Core().V1().Pods(), controllerContext.InformerFactory.Core().V1().Nodes(),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 26 06:51:56 UTC 2024 - 4.5K bytes - Viewed (0) -
test/codegen/maps.go
// amd64:-`.*runtime\.mapclear` for k = range m { delete(m, k) } return k } func MapLiteralSizing(x int) (map[int]int, map[int]int) { // This is tested for internal/abi/maps.go:MapBucketCountBits={3,4,5} // amd64:"MOVL\t[$]33," m := map[int]int{ 0: 0, 1: 1, 2: 2, 3: 3, 4: 4, 5: 5, 6: 6, 7: 7, 8: 8, 9: 9, 10: 10,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 23 15:51:32 UTC 2023 - 3.6K bytes - Viewed (0) -
test/typeparam/maps.go
func _Values[K comparable, V any](m map[K]V) []V { r := make([]V, 0, len(m)) for _, v := range m { r = append(r, v) } return r } // _Equal reports whether two maps contain the same key/value pairs. // _Values are compared using ==. func _Equal[K, V comparable](m1, m2 map[K]V) bool { if len(m1) != len(m2) { return false } for k, v1 := range m1 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 01 19:45:34 UTC 2022 - 5.9K bytes - Viewed (0)