- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 211 for traits (0.12 sec)
-
platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppTaskNames.groovy
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.language.cpp import org.gradle.language.LanguageTaskNames abstract trait CppTaskNames extends LanguageTaskNames { @Override String getLanguageTaskSuffix() { return 'Cpp' }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 832 bytes - Viewed (0) -
platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/HostPlatform.groovy
package org.gradle.nativeplatform.fixtures import org.gradle.internal.os.OperatingSystem import org.gradle.nativeplatform.platform.internal.DefaultNativePlatform import org.gradle.test.fixtures.file.TestFile trait HostPlatform { NativeInstallationFixture installation(Object installDir, OperatingSystem os = OperatingSystem.current()) { if (installDir instanceof TestFile) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 1.3K bytes - Viewed (0) -
testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/WithAndroidDeprecations.groovy
* limitations under the License. */ package org.gradle.smoketests import groovy.transform.SelfType import org.gradle.util.GradleVersion @SelfType(BaseDeprecations) trait WithAndroidDeprecations { void expectFilteredFileCollectionDeprecationWarning() { // This warning is emitted by the Kotlin Kapt plugin runner.expectLegacyDeprecationWarning(
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.4K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/helper/taint.go
import v1 "k8s.io/api/core/v1" // DoNotScheduleTaintsFilterFunc returns the filter function that can // filter out the node taints that reject scheduling Pod on a Node. func DoNotScheduleTaintsFilterFunc() func(t *v1.Taint) bool { return func(t *v1.Taint) bool { // PodToleratesNodeTaints is only interested in NoSchedule and NoExecute taints. return t.Effect == v1.TaintEffectNoSchedule || t.Effect == v1.TaintEffectNoExecute }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Sep 10 01:04:30 UTC 2022 - 1K bytes - Viewed (0) -
staging/src/k8s.io/api/core/v1/taint.go
See the License for the specific language governing permissions and limitations under the License. */ package v1 import "fmt" // MatchTaint checks if the taint matches taintToMatch. Taints are unique by key:effect, // if the two taints have same key:effect, regard as they match. func (t *Taint) MatchTaint(taintToMatch *Taint) bool { return t.Key == taintToMatch.Key && t.Effect == taintToMatch.Effect }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 16 13:06:01 UTC 2019 - 1.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/convert_tpu_model_to_cpu.td
// Replaces `TF_BatchFunctionOp` into `TF_PartitionedCallOp` that calls the // same $f. This may be required, for example, when inlining is desired, // because `TF_BatchFunctionOp` doesn't have the `CallOpInterface` trait. def ReplaceBatchFunctionOpToPartitionedCallOp : Pat< (TF_BatchFunctionOp:$src_op_res $_, $_, $f, $_, $_, $_, $_, $_, $_, $_, $_, $_, $_, $_, $_, $_, $_), (TF_PartitionedCallOp
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 02 18:58:35 UTC 2024 - 1.6K bytes - Viewed (0) -
pkg/cmd/cmd.go
"github.com/spf13/pflag" "istio.io/istio/pkg/log" ) // WaitSignal awaits for SIGINT or SIGTERM and closes the channel func WaitSignal(stop chan struct{}) { sigs := make(chan os.Signal, 1) signal.Notify(sigs, syscall.SIGINT, syscall.SIGTERM) <-sigs close(stop) _ = log.Sync() } // WaitSignalFunc awaits for SIGINT or SIGTERM and calls the cancel function func WaitSignalFunc(cancel func()) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 1.5K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/ConfigurationUsageChangingFixture.groovy
package org.gradle.integtests.fixtures import groovy.transform.SelfType /** * Allows adding methods to the test class that are useful for testing configuration usage changes. */ @SelfType(AbstractIntegrationSpec) trait ConfigurationUsageChangingFixture { void expectConsumableChanging(String configurationPath, boolean value) { expectChangingUsage(configurationPath, "setCanBeConsumed", value) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.8K bytes - Viewed (0) -
cmd/kubeadm/app/phases/kubelet/flags.go
} if opts.registerTaintsUsingFlags && opts.nodeRegOpts.Taints != nil && len(opts.nodeRegOpts.Taints) > 0 { taintStrs := []string{} for _, taint := range opts.nodeRegOpts.Taints { taintStrs = append(taintStrs, taint.ToString()) } kubeletFlags = append(kubeletFlags, kubeadmapi.Arg{Name: "register-with-taints", Value: strings.Join(taintStrs, ",")}) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 16 10:27:05 UTC 2023 - 5K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/ProviderAssertions.groovy
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.api.internal.provider import org.gradle.api.Task trait ProviderAssertions { void assertHasNoProducer(ProviderInternal<?> provider) { def producer = provider.producer assert !producer.known producer.visitProducerTasks { assert false }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 1.6K bytes - Viewed (0)