- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 80 for overriding (0.14 sec)
-
src/testing/benchmark_test.go
} }) }) } func TestReportMetric(t *testing.T) { res := testing.Benchmark(func(b *testing.B) { b.ReportMetric(12345, "ns/op") b.ReportMetric(0.2, "frobs/op") }) // Test built-in overriding. if res.NsPerOp() != 12345 { t.Errorf("NsPerOp: expected %v, actual %v", 12345, res.NsPerOp()) } // Test stringing. res.N = 1 // Make the output stable
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 5.6K bytes - Viewed (0) -
docs/en/docs/tutorial/body-updates.md
* Put that data in a Pydantic model. * Generate a `dict` without default values from the input model (using `exclude_unset`). * This way you can update only the values actually set by the user, instead of overriding values already stored with default values in your model. * Create a copy of the stored model, updating it's attributes with the received partial updates (using the `update` parameter).
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 5.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/base/FessBaseAction.java
} @Override public FessMessages createMessages() { // application may call return new FessMessages(); // overriding to change return type to concrete-class } // ===================================================================================
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 9.3K bytes - Viewed (0) -
pkg/scheduler/apis/config/v1/default_plugins.go
// The default plugin is explicitly re-configured, update the default plugin accordingly. if customPlugin, ok := enabledCustomPlugins[defaultEnabledPlugin.Name]; ok { logger.Info("Default plugin is explicitly re-configured; overriding", "plugin", defaultEnabledPlugin.Name) // Update the default plugin in place to preserve order. defaultEnabledPlugin = customPlugin.plugin replacedPluginIndex.Insert(customPlugin.index) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 06:27:01 UTC 2024 - 6.7K bytes - Viewed (0) -
pkg/kubelet/nodeshutdown/systemd/inhibit_linux.go
return shutdownChan, nil } const ( logindConfigDirectory = "/etc/systemd/logind.conf.d/" kubeletLogindConf = "99-kubelet.conf" ) // OverrideInhibitDelay writes a config file to logind overriding InhibitDelayMaxSec to the value desired. func (bus *DBusCon) OverrideInhibitDelay(inhibitDelayMax time.Duration) error { err := os.MkdirAll(logindConfigDirectory, 0755) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Aug 04 06:56:50 UTC 2023 - 6.2K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/project/ProjectInternal.java
/** * Returns the property that stored {@link Project#getStatus()}. * <p> * By exposing this property, the {@code base} plugin can override the default value without overriding the build configuration. * <p> * See: https://github.com/gradle/gradle/issues/16946 */ Property<Object> getInternalStatus(); DependencyMetaDataProvider getDependencyMetaDataProvider();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 16 21:18:55 UTC 2023 - 9.2K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingSortedMultiset.java
* * <p><b>Warning:</b> The methods of {@code ForwardingSortedMultiset} forward * <b>indiscriminately</b> to the methods of the delegate. For example, overriding {@link * #add(Object, int)} alone <b>will not</b> change the behavior of {@link #add(Object)}, which can * lead to unexpected behavior. In this case, you should override {@code add(Object)} as well,
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jan 23 18:43:40 UTC 2024 - 8.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/DependencyNotationIntegrationSpec.groovy
dependency ('high:five:5') { transitive = false } dependency('org.test:lateversion') { version { prefer '1.0' strictly '1.1' // intentionally overriding "prefer" } } } } task checkDeps { doLast { def deps = configurations.conf.incoming.dependencies assert deps.size() == 1
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 12 19:17:32 UTC 2024 - 9.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java
* @param expected expected value of {@link #container} */ /* * TODO: improve this and other implementations and move out of this framework * for wider use * * TODO: could we incorporate the overriding logic from AbstractListTester, by * examining whether the features include KNOWN_ORDER? */ protected void expectContents(Collection<E> expected) { Helpers.assertEqualIgnoringOrder(expected, actualContents());
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 8.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java
* @param expected expected value of {@link #container} */ /* * TODO: improve this and other implementations and move out of this framework * for wider use * * TODO: could we incorporate the overriding logic from AbstractListTester, by * examining whether the features include KNOWN_ORDER? */ protected void expectContents(Collection<E> expected) { Helpers.assertEqualIgnoringOrder(expected, actualContents());
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 8.7K bytes - Viewed (0)