- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 23 for makemap (0.22 sec)
-
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) -
src/cmd/vendor/golang.org/x/term/term_unsupported.go
package term import ( "fmt" "runtime" ) type state struct{} func isTerminal(fd int) bool { return false } func makeRaw(fd int) (*State, error) { return nil, fmt.Errorf("terminal: MakeRaw not implemented on %s/%s", runtime.GOOS, runtime.GOARCH) } func getState(fd int) (*State, error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 1.1K bytes - Viewed (0) -
platforms/core-runtime/files/src/test/groovy/org/gradle/api/internal/file/archive/impl/FileZipInputTest.groovy
@Rule TestNameTestDirectoryProvider temporaryFolder = new TestNameTestDirectoryProvider(getClass()) def "selects the correct zip input type"() { def file = makeZip("foo.zip") when: def zipInput = FileZipInput.create(file) then: if (JavaVersion.current().java11Compatible) { assert zipInput instanceof FileZipInput } else {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:55:52 UTC 2023 - 3.4K bytes - Viewed (0) -
tests/test_ws_router.py
async def router_ws_custom_error(websocket: WebSocket): raise CustomError() def make_app(app=None, **kwargs): app = app or FastAPI(**kwargs) app.include_router(router) app.include_router(prefix_router, prefix="/prefix") app.include_router(native_prefix_route) return app app = make_app(app) def test_app(): client = TestClient(app)
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sun Jun 11 19:08:14 UTC 2023 - 7.5K bytes - Viewed (0) -
platforms/jvm/platform-jvm/src/test/groovy/org/gradle/api/java/archives/internal/DefaultManifestMergeSpecTest.groovy
DefaultManifest baseManifest = new DefaultManifest(fileResolver) def baseMap = baseManifest.attributes + ([key1: 'value1', key2: 'value2', key3: 'value3'] as LinkedHashMap) def baseSectionMap = [keysec1: 'valueSec1', keysec2: 'valueSec2', keysec3: 'valueSec3'] baseManifest.attributes(baseMap) baseManifest.attributes(baseSectionMap, 'section')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 7.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/text/language/parse.go
defer func() { if recover() != nil { t = Tag{} err = language.ErrSyntax } }() tt, err := language.Parse(s) if err != nil { return makeTag(tt), err } tt, changed := canonicalize(c, tt) if changed { tt.RemakeString() } return makeTag(tt), err } // Compose creates a Tag from individual parts, which may be of type Tag, Base,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 7.5K bytes - Viewed (0) -
src/cmd/pprof/readlineui.go
if v := strings.ToLower(os.Getenv("TERM")); v == "" || v == "dumb" { return nil } // test if we can use term.ReadLine // that assumes operation in the raw mode. oldState, err := term.MakeRaw(0) if err != nil { return nil } term.Restore(0, oldState) rw := struct { io.Reader io.Writer }{os.Stdin, os.Stderr} return &readlineUI{term: term.NewTerminal(rw, "")} }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 30 18:10:36 UTC 2023 - 3.3K bytes - Viewed (0) -
src/go/constant/example_test.go
import ( "fmt" "go/constant" "go/token" "math" "slices" ) func Example_complexNumbers() { // Create the complex number 2.3 + 5i. ar := constant.MakeFloat64(2.3) ai := constant.MakeImag(constant.MakeInt64(5)) a := constant.BinaryOp(ar, token.ADD, ai) // Compute (2.3 + 5i) * 11. b := constant.MakeUint64(11) c := constant.BinaryOp(a, token.MUL, b) // Convert c into a complex128.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 3.5K bytes - Viewed (0) -
pkg/config/mesh/kubemesh/watcher_test.go
cms, w := setup(t) rev := atomic.NewInt32(1) mkMap := func(m, d string) *v1.ConfigMap { mm := makeConfigMapWithName(m, "1", map[string]string{ key: fmt.Sprintf(`ingressClass: "%s"`, d), }) mm.ResourceVersion = fmt.Sprint(rev.Inc()) return mm } if _, err := cms.Create(context.Background(), mkMap(extraCmName, "init"), metav1.CreateOptions{}); err != nil { t.Fatal(err) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 7.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/term/term_unix.go
import ( "golang.org/x/sys/unix" ) type state struct { termios unix.Termios } func isTerminal(fd int) bool { _, err := unix.IoctlGetTermios(fd, ioctlReadTermios) return err == nil } func makeRaw(fd int) (*State, error) { termios, err := unix.IoctlGetTermios(fd, ioctlReadTermios) if err != nil { return nil, err } oldState := State{state{termios: *termios}}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 2.3K bytes - Viewed (0)