- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 100 for makemap (0.19 sec)
-
src/reflect/all_test.go
func TestMap(t *testing.T) { m := map[string]int{"a": 1, "b": 2} mv := ValueOf(m) if n := mv.Len(); n != len(m) { t.Errorf("Len = %d, want %d", n, len(m)) } keys := mv.MapKeys() newmap := MakeMap(mv.Type()) for k, v := range m { // Check that returned Keys match keys in range. // These aren't required to be in the same order. seen := false for _, kv := range keys { if kv.String() == k {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 218.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/MimeMap.java
import java.io.IOException; public class MimeMap { private static final int IN_SIZE = 7000; private static final int ST_START = 1; private static final int ST_COMM = 2; private static final int ST_TYPE = 3; private static final int ST_GAP = 4; private static final int ST_EXT = 5; private byte[] in; private int inLen; public MimeMap() throws IOException { int n;
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 4.2K bytes - Viewed (0) -
pkg/apis/core/v1/defaults_test.go
break } // if we don't already have a value, and contain structs, add an empty item so we can recurse item := reflect.New(visit.value.Type().Elem()).Elem() visit.value.Set(reflect.MakeMap(visit.value.Type())) visit.value.SetMapIndex(reflect.New(visit.value.Type().Key()).Elem(), item) toVisit = append(toVisit, testPath{path: visit.path + "[*]", value: item})
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 84.4K bytes - Viewed (0) -
.mailmap
Pepper Lebeck-Jobe <******@****.***> 1506953311 +0200
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 03 06:34:28 UTC 2017 - 3.3K bytes - Viewed (0) -
.mailmap
kannappanr <******@****.***> 1554835182 -0700
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Apr 09 18:39:42 UTC 2019 - 835 bytes - Viewed (0) -
guava/src/com/google/common/collect/MapMakerInternalMap.java
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException { in.defaultReadObject(); MapMaker mapMaker = readMapMaker(in); delegate = mapMaker.makeMap(); readEntries(in); } private Object readResolve() { return delegate; } }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sat May 18 03:24:34 UTC 2024 - 90.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MapMakerInternalMap.java
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException { in.defaultReadObject(); MapMaker mapMaker = readMapMaker(in); delegate = mapMaker.makeMap(); readEntries(in); } private Object readResolve() { return delegate; } }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sat May 18 03:24:34 UTC 2024 - 90.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/mremap.go
import "unsafe" type mremapMmapper struct { mmapper mremap func(oldaddr uintptr, oldlength uintptr, newlength uintptr, flags int, newaddr uintptr) (xaddr uintptr, err error) } var mapper = &mremapMmapper{ mmapper: mmapper{ active: make(map[*byte][]byte), mmap: mmap, munmap: munmap, }, mremap: mremap, } func (m *mremapMmapper) Mremap(oldData []byte, newLength int, flags int) (data []byte, err error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 1.4K bytes - Viewed (0) -
pkg/revisions/tag_watcher_test.go
whs.Create(makeTag("revision", "tag-foo")) track.WaitOrdered("revision,tag-foo") assert.Equal(t, tw.GetMyTags(), sets.New("revision", "tag-foo")) whs.Create(makeTag("revision", "tag-bar")) track.WaitOrdered("revision,tag-bar,tag-foo") assert.Equal(t, tw.GetMyTags(), sets.New("revision", "tag-foo", "tag-bar")) whs.Update(makeTag("not-revision", "tag-bar"))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Nov 16 01:18:03 UTC 2023 - 2.5K bytes - Viewed (0) -
pilot/pkg/serviceregistry/mock/discovery_test.go
}) HelloInstanceV0 := MakeIP(HelloService, 0) if HelloInstanceV0 != "10.1.1.0" { t.Fatalf("MakeIP() can not handle ip4 address.") } HelloService1 := MakeService(ServiceArgs{ Hostname: "hello.default.svc.cluster.local", Address: "asa", ServiceAccounts: []string{}, ClusterID: "cluster-1", }) HelloInstanceV1 := MakeIP(HelloService1, 0) if HelloInstanceV1 != "" {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jan 09 17:33:49 UTC 2023 - 1.6K bytes - Viewed (0)