- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 82 for makemap (0.27 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) -
tensorflow/cc/framework/scope.cc
return Scope(new Impl(graph, new Status, new Impl::NameMap, refiner, /* disable_shape_inference */ false)); } Scope Scope::DisabledShapeInferenceScope() { Graph* graph = new Graph(OpRegistry::Global()); ShapeRefiner* refiner = new ShapeRefiner(graph->versions(), graph->op_registry()); return Scope(new Impl(graph, new Status, new Impl::NameMap, refiner,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 13 05:57:22 UTC 2024 - 20.9K bytes - Viewed (0) -
src/go/constant/value.go
} case unknownVal: break default: panic(fmt.Sprintf("%v not Int or Float", x)) } return unknownVal{} } // MakeImag returns the [Complex] value x*i; // x must be [Int], [Float], or [Unknown]. // If x is [Unknown], the result is [Unknown]. func MakeImag(x Value) Value { switch x.(type) { case unknownVal: return x case int64Val, intVal, ratVal, floatVal: return makeComplex(int64Val(0), x)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 34K 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)