- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 25 for xstr (0.07 sec)
-
samples/wasm_modules/header_injector/plugin.cc
// limitations under the License. #include "plugin.h" #ifndef INJECTION_VERSION #error INJECTION_VERSION must be defined #endif // INJECTION_VERSION #define xstr(s) str(s) #define str(s) #s // Boilderplate code to register the extension implementation. static RegisterContextFactory register_HeaderInjector(CONTEXT_FACTORY(HeaderInjectorContext),
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Aug 24 21:22:06 UTC 2022 - 1.4K bytes - Viewed (0) -
src/cmd/go/internal/str/str.go
// Copyright 2017 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package str provides string manipulation utilities. package str import ( "fmt" "strings" "unicode" "unicode/utf8" ) // StringList flattens its arguments into a single []string. // Each argument in args must have type string or []string.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 23 20:08:07 UTC 2024 - 2.3K bytes - Viewed (0) -
tensorflow/c/tf_tstring.h
TF_CAPI_EXPORT extern const char *TF_StringGetDataPointer( const TF_TString *tstr); TF_CAPI_EXPORT extern TF_TString_Type TF_StringGetType(const TF_TString *str); TF_CAPI_EXPORT extern size_t TF_StringGetSize(const TF_TString *tstr); TF_CAPI_EXPORT extern size_t TF_StringGetCapacity(const TF_TString *str); TF_CAPI_EXPORT extern void TF_StringDealloc(TF_TString *tstr); #ifdef __cplusplus } /* end extern "C" */ #endif
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 27 21:07:00 UTC 2023 - 1.7K bytes - Viewed (0) -
operator/pkg/validate/validate.go
pstr := path.String() msg := fmt.Sprintf("validate %s:%v(%T) ", pstr, val, val) if util.IsValueNil(val) || util.IsEmptyString(val) { if checkRequired && requiredValues[pstr] { return util.NewErrs(fmt.Errorf("field %s is required but not set", util.ToYAMLPathString(pstr))) } msg += fmt.Sprintf("validate %s: OK (empty value)", pstr) scope.Debug(msg) return nil }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jan 12 16:04:15 UTC 2023 - 7.7K bytes - Viewed (0) -
src/go/doc/testdata/example.go
out := <-outC // report any errors tstr := fmt.Sprintf("(%.2f seconds)", dt.Seconds()) if g, e := strings.TrimSpace(out), strings.TrimSpace(eg.Output); g != e { fmt.Printf("--- FAIL: %s %s\ngot:\n%s\nwant:\n%s\n", eg.Name, tstr, g, e) ok = false } else if *chatty { fmt.Printf("--- PASS: %s %s\n", eg.Name, tstr) } } return
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Oct 02 02:28:27 UTC 2022 - 1.6K bytes - Viewed (0) -
operator/pkg/validate/validate_values.go
} // ValuesValidate validates the values of the tree using the supplied Func func ValuesValidate(validations map[string]ValidatorFunc, node any, path util.Path) (errs util.Errors) { pstr := path.String() scope.Debugf("ValuesValidate %s", pstr) vf := validations[pstr] if vf != nil { errs = util.AppendErrs(errs, vf(path, node)) } nn, ok := node.(map[string]any) if !ok { // Leaf, nothing more to recurse. return errs }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 25 19:30:47 UTC 2022 - 2.3K bytes - Viewed (0) -
src/testing/example.go
} } if fail != "" || !finished || recovered != nil { fmt.Printf("%s--- FAIL: %s (%s)\n%s", chatty.prefix(), eg.Name, dstr, fail) passed = false } else if chatty.on { fmt.Printf("%s--- PASS: %s (%s)\n", chatty.prefix(), eg.Name, dstr) } if chatty.on && chatty.json { fmt.Printf("%s=== NAME %s\n", chatty.prefix(), "") } if recovered != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 2.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/plan9/str.go
Dmitri Shuralyov <******@****.***> 1697571594 -0400
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 500 bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/windows/str.go
Dmitri Shuralyov <******@****.***> 1697571594 -0400
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 504 bytes - Viewed (0) -
operator/cmd/mesh/operator-init.go
vals, mstr, err := renderOperatorManifest(args, &oiArgs.common) if err != nil { l.LogAndFatal(err) } installerScope.Debugf("Installing operator charts with the following values:\n%s", vals) installerScope.Debugf("Using the following manifest to install operator:\n%s\n", mstr) opts := &applyOptions{ DryRun: args.DryRun, }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 15 01:18:49 UTC 2024 - 6.2K bytes - Viewed (0)