- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 562 for refStore (0.15 sec)
-
platforms/core-configuration/kotlin-dsl-provider-plugins/src/main/kotlin/org/gradle/kotlin/dsl/provider/plugins/precompiled/PrecompiledScriptPlugin.kt
restore(mark) return hasShebangLine } private fun KotlinLexer.hasFileAnnotations(): Boolean { if (tokenType != KtTokens.AT) { return false } val mark = currentPosition advance() val hasFileAnnotation = tokenType == KtTokens.IDENTIFIER && tokenText == "file" restore(mark) return hasFileAnnotation }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 8.2K bytes - Viewed (0) -
pkg/registry/core/service/ipallocator/bitmap.go
} rangeString, data := snapshottable.Snapshot() dst.Range = rangeString dst.Data = data return nil } // Restore restores the pool to the previously captured state. ErrMismatchedNetwork // is returned if the provided IPNet range doesn't exactly match the previous range. func (r *Range) Restore(net *net.IPNet, data []byte) error { if !net.IP.Equal(r.net.IP) || net.Mask.String() != r.net.Mask.String() {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 25 20:32:40 UTC 2023 - 10.8K bytes - Viewed (0) -
test/fixedbugs/issue32187.go
{"type assertion", "", func() { _ = x == x.(*int) }}, {"out of bounds", "", func() { _ = x == s[1] }}, {"nil pointer dereference #1", "", func() { _ = x == *p }}, // TODO(mdempsky): Restore "nil pointer dereference" check. The Go // spec doesn't mandate an order for panics (or even panic // messages), but left-to-right is less confusing to users. {"nil pointer dereference #2", "", func() { _ = *l == r[0] }},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jul 19 23:02:39 UTC 2022 - 1.5K bytes - Viewed (0) -
tools/istio-iptables/pkg/builder/iptables_builder_test.go
var actual strings.Builder for _, rule := range rules { fmt.Fprintln(&actual, strings.Join(rule, " ")) } compareToGolden(t, goldenName, actual.String()) // Check build restore compareToGolden(t, goldenName+"-restore", rulesRestore) } else { if len(rules) > 0 { t.Errorf("Unexpected rules to be empty but instead got %#v", rules) } if rulesRestore != "" {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jun 11 14:29:54 UTC 2024 - 6.6K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/TextUtil.java
return path.replace(File.separatorChar, '/'); } /** * Checks if a String is whitespace, empty ("") or null. * <p> * This function was copied from Apache Commons-Lang to restore TAPI compatibility * with Java 6 on old Gradle versions because StringUtils require SQLException which * is absent from Java 6. */ public static boolean isBlank(String str) { int strLen;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:40 UTC 2024 - 12.8K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/config/LoggingSystemAdapter.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 2.2K bytes - Viewed (0) -
src/testing/allocs.go
// a warm-up. The average number of allocations over the specified number of // runs will then be measured and returned. // // AllocsPerRun sets GOMAXPROCS to 1 during its measurement and will restore // it before returning. func AllocsPerRun(runs int, f func()) (avg float64) { defer runtime.GOMAXPROCS(runtime.GOMAXPROCS(1)) // Warm up the function f() // Measure the starting statistics
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 02 00:13:47 UTC 2016 - 1.4K bytes - Viewed (0) -
src/log/slog/logger_test.go
func TestConnections(t *testing.T) { var logbuf, slogbuf bytes.Buffer // Revert any changes to the default logger. This is important because other // tests might change the default logger using SetDefault. Also ensure we // restore the default logger at the end of the test. currentLogger := Default() currentLogWriter := log.Writer() currentLogFlags := log.Flags() SetDefault(New(newDefaultHandler(loginternal.DefaultOutput))) t.Cleanup(func() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 10 21:25:30 UTC 2023 - 19.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/cc/save_variables_test.cc
"tf_saved_model.session_initializer"() {initializers = [@init_func_restore_op]} : () -> () func.func @init_func_restore_op() -> () attributes {tf_saved_model.exported_names = ["restore"], tf_saved_model.initializer_type = "restore_op"} { %cst = "tf.Const"() {device = "", value = dense<[1.0, 2.0]> : tensor<2xf32>} : () -> tensor<2xf32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 16.2K bytes - Viewed (0) -
src/testing/run_example_wasm.go
os.Stdout = f finished := false start := time.Now() // Clean up in a deferred call so we can recover if the example panics. defer func() { timeSpent := time.Since(start) // Restore stdout, get output and remove temporary file. os.Stdout = stdout var buf strings.Builder _, seekErr := f.Seek(0, io.SeekStart) _, readErr := io.Copy(&buf, f) out := buf.String() f.Close()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 11 20:56:32 UTC 2023 - 1.8K bytes - Viewed (0)