Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for addSources (0.17 sec)

  1. platforms/software/platform-base/src/integTest/groovy/org/gradle/language/base/FunctionalSourceSetIntegrationTest.groovy

            }
    
            class Rules extends RuleSource {
                @Model
                void buildType(BuildType buildType) { }
    
                @Mutate
                void addSources(BuildType buildType){
                    buildType.componentSources.create("componentA")
                    buildType.testSources.create({})
                }
            }
    
            apply plugin: Rules
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  2. platforms/jvm/language-groovy/src/main/java/org/gradle/api/internal/tasks/compile/ApiGroovyCompiler.java

                // to the sources won't cause any issues.
                unit.addSources(new File[]{new File("ForceStubGeneration.java")});
            }
            unit.addSources(getSortedSourceFiles(spec));
    
            unit.setCompilerFactory(new JavaCompilerFactory() {
                @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 20.7K bytes
    - Viewed (0)
  3. src/log/slog/handler_test.go

    	} {
    		r := NewRecord(testTime, LevelInfo, "message", callerPC(2))
    		line := strconv.Itoa(r.source().Line)
    		r.AddAttrs(test.attrs...)
    		var buf bytes.Buffer
    		opts := HandlerOptions{ReplaceAttr: test.replace, AddSource: test.addSource}
    		t.Run(test.name, func(t *testing.T) {
    			for _, handler := range []struct {
    				name string
    				h    Handler
    				want string
    			}{
    				{"text", NewTextHandler(&buf, &opts), test.wantText},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 02 13:57:53 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  4. src/log/slog/handler.go

    // A zero HandlerOptions consists entirely of default values.
    type HandlerOptions struct {
    	// AddSource causes the handler to compute the source code position
    	// of the log statement and add a SourceKey attribute to the output.
    	AddSource bool
    
    	// Level reports the minimum record level that will be logged.
    	// The handler discards records with lower levels.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 18:18:13 UTC 2023
    - 17.5K bytes
    - Viewed (0)
  5. pkg/config/analysis/local/istiod_analyze.go

    		}
    	}
    }
    
    // AddSource adds a source based on user supplied configstore to the current IstiodAnalyzer
    // Assumes that the source has same or subset of resource types that this analyzer is configured with.
    // This can be used by external users who import the analyzer as a module within their own controllers.
    func (sa *IstiodAnalyzer) AddSource(src model.ConfigStoreController) {
    	sa.stores = append(sa.stores, src)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 21:06:13 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/configuration/ExecuteUserLifecycleListenerBuildOperationIntegrationTest.groovy

            def matchingChildren = op.children.findAll { it.hasDetailsOfType(ExecuteListenerBuildOperationType.Details) && it.details.applicationId == expectedApplicationId }
            verifyExpectedOps(matchingChildren, addSource(expectedOps, sourceName))
            matchingChildren
        }
    
        private static void verifyHasNoChildren(BuildOperationRecord op, long expectedApplicationId) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  7. pkg/kubelet/cm/memorymanager/memory_manager.go

    type runtimeService interface {
    	UpdateContainerResources(ctx context.Context, id string, resources *runtimeapi.ContainerResources) error
    }
    
    type sourcesReadyStub struct{}
    
    func (s *sourcesReadyStub) AddSource(source string) {}
    func (s *sourcesReadyStub) AllReady() bool          { return true }
    
    // Manager interface provides methods for Kubelet to manage pod memory.
    type Manager interface {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 00:50:45 UTC 2023
    - 17.1K bytes
    - Viewed (0)
  8. pkg/kubelet/cm/cpumanager/cpu_manager.go

    	// pendingAdmissionPod contain the pod during the admission phase
    	pendingAdmissionPod *v1.Pod
    }
    
    var _ Manager = &manager{}
    
    type sourcesReadyStub struct{}
    
    func (s *sourcesReadyStub) AddSource(source string) {}
    func (s *sourcesReadyStub) AllReady() bool          { return true }
    
    // NewManager creates new cpu manager based on provided policy
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 03 16:26:09 UTC 2023
    - 19.9K bytes
    - Viewed (0)
  9. src/log/slog/logger_test.go

    	})
    
    	// Once slog.SetDefault is called, the direction is reversed: the default
    	// log.Logger's output goes through the handler.
    	SetDefault(New(NewTextHandler(&slogbuf, &HandlerOptions{AddSource: true})))
    	log.Print("msg2")
    	checkLogOutput(t, slogbuf.String(), "time="+textTimeRE+` level=INFO source=.*logger_test.go:\d{3}"? msg=msg2`)
    
    	// The default log.Logger always outputs at Info level.
    	slogbuf.Reset()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 10 21:25:30 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  10. api/go1.21.txt

    pkg log/slog, type Handler interface, WithAttrs([]Attr) Handler #56345
    pkg log/slog, type Handler interface, WithGroup(string) Handler #56345
    pkg log/slog, type HandlerOptions struct #56345
    pkg log/slog, type HandlerOptions struct, AddSource bool #56345
    pkg log/slog, type HandlerOptions struct, Level Leveler #56345
    pkg log/slog, type HandlerOptions struct, ReplaceAttr func([]string, Attr) Attr #56345
    pkg log/slog, type JSONHandler struct #56345
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 09:39:17 UTC 2023
    - 25.6K bytes
    - Viewed (0)
Back to top