Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 9,567 for Implements (0.26 sec)

  1. pkg/scheduler/testing/framework/fake_extender.go

    type PriorityConfig struct {
    	Function PriorityFunc
    	Weight   int64
    }
    
    // ErrorPredicateExtender implements FitPredicate function to always return error status.
    func ErrorPredicateExtender(pod *v1.Pod, node *framework.NodeInfo) *framework.Status {
    	return framework.NewStatus(framework.Error, "some error")
    }
    
    // FalsePredicateExtender implements FitPredicate function to always return unschedulable status.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 19:07:19 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheValueSourceIntegrationTest.groovy

             given:
             def configurationCache = newConfigurationCacheFixture()
    
             buildFile("""
                import org.gradle.api.provider.*
    
                abstract class GreetValueSource implements ValueSource<String, ValueSourceParameters.None> {
                    String obtain() {
                        return "Hello!"
                    }
                }
    
                abstract class MyTask extends DefaultTask {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/tooling/provider/model/internal/DefaultToolingModelBuilderRegistry.java

    import java.util.AbstractCollection;
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.Iterator;
    import java.util.List;
    
    public class DefaultToolingModelBuilderRegistry implements ToolingModelBuilderRegistry, ToolingModelBuilderLookup {
        private final ToolingModelBuilderLookup parent;
    
        private final List<RegistrationImpl> registrations = new ArrayList<>();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r32/ResolutionExceptionSerializableCrossVersionSpec.groovy

    allprojects {
        apply plugin: 'java'
        apply plugin: CustomPlugin
    }
    
    class CustomArtifactModel implements Serializable {
        List<File> files
        Exception failure
    }
    
    class CustomBuilder implements ToolingModelBuilder {
        boolean canBuild(String modelName) {
            return modelName == '${CustomArtifactModel.name}'
        }
        Object buildAll(String modelName, Project project) {
            try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. src/log/slog/example_level_handler_test.go

    		h = lh.Handler()
    	}
    	return &LevelHandler{level, h}
    }
    
    // Enabled implements Handler.Enabled by reporting whether
    // level is at least as large as h's level.
    func (h *LevelHandler) Enabled(_ context.Context, level slog.Level) bool {
    	return level >= h.level.Level()
    }
    
    // Handle implements Handler.Handle.
    func (h *LevelHandler) Handle(ctx context.Context, r slog.Record) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 04 18:32:54 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformValuesInjectionIntegrationTest.groovy

    import static org.gradle.util.Matchers.matchesRegexp
    import static org.hamcrest.Matchers.containsString
    
    class ArtifactTransformValuesInjectionIntegrationTest extends AbstractDependencyResolutionTest implements ArtifactTransformTestFixture, ValidationMessageChecker {
    
        def "transform can receive parameters, workspace and input artifact via abstract getter"() {
            createDirs("a", "b", "c")
            settingsFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 20 11:12:24 UTC 2023
    - 37.7K bytes
    - Viewed (0)
  7. platforms/software/platform-base/src/test/groovy/org/gradle/platform/base/internal/registry/BinaryTypeModelRuleExtractorTest.groovy

        static class SomeBinarySpecImpl extends BaseBinarySpec implements SomeBinarySpec, BinarySpecInternalView, BareInternalView {}
    
        static class SomeBinarySpecOtherImpl extends SomeBinarySpecImpl {}
    
        static class NotImplementingCustomBinary extends BaseBinarySpec implements BinarySpec {}
    
        abstract static class NotExtendingBaseBinarySpec implements SomeBinarySpec {}
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocConverter.java

            Iterable<? extends Node> getCommentText();
        }
    
        private static class NoOpCommentSource implements CommentSource {
            @Override
            public List<? extends Node> getCommentText() {
                throw new UnsupportedOperationException();
            }
        }
    
        private class InheritedPropertyCommentSource implements CommentSource {
            private final PropertyMetaData propertyMetaData;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 29.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/runtime/splice.go

    	Reset()
    	Bytes() []byte
    }
    
    // A spliceBuffer implements Splice and io.Writer interfaces.
    type spliceBuffer struct {
    	raw []byte
    	buf *bytes.Buffer
    }
    
    func NewSpliceBuffer() Splice {
    	return &spliceBuffer{}
    }
    
    // Splice implements the Splice interface.
    func (sb *spliceBuffer) Splice(raw []byte) {
    	sb.raw = raw
    }
    
    // Write implements the io.Writer interface.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 05 18:03:48 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  10. src/vendor/golang.org/x/net/route/sys_darwin.go

    	}
    }
    
    // RouteMetrics represents route metrics.
    type RouteMetrics struct {
    	PathMTU int // path maximum transmission unit
    }
    
    // SysType implements the SysType method of Sys interface.
    func (rmx *RouteMetrics) SysType() SysType { return SysMetrics }
    
    // Sys implements the Sys method of Message interface.
    func (m *RouteMessage) Sys() []Sys {
    	return []Sys{
    		&RouteMetrics{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 05 19:54:32 UTC 2022
    - 2.8K bytes
    - Viewed (0)
Back to top