Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 28 for addSources (0.17 sec)

  1. platforms/core-execution/workers/src/test/groovy/org/gradle/process/internal/worker/child/SerializableMockHelper.groovy

            def action = ${SerializableMockHelper.class.name}.ACTIONS.remove(key)
            action.execute(target)
        }
    }
    """
            CompilationUnit unit = new CompilationUnit(new GroovyClassLoader(target))
            unit.addSource("action", src)
            ClassCollector collector = new ClassCollector(target: target)
            unit.setClassgenCallback(collector);
            unit.compile(Phases.CLASS_GENERATION);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  2. platforms/ide/ide-native/src/main/groovy/org/gradle/ide/visualstudio/tasks/GenerateFiltersFileTask.java

        protected void configure(final VisualStudioFiltersFile filtersFile) {
            DefaultVisualStudioProject vsProject = visualStudioProject;
    
            for (File sourceFile : vsProject.getSourceFiles()) {
                filtersFile.addSource(sourceFile);
            }
    
            for (File headerFile : vsProject.getHeaderFiles()) {
                filtersFile.addHeader(headerFile);
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  3. build-logic/jvm/src/main/kotlin/gradlebuild/kotlin/tasks/ParameterNamesIndex.kt

            JavaProjectBuilder(OrderedClassLibraryBuilder().apply { appendClassLoader(loader) })
    
        private
        fun JavaProjectBuilder.sequenceOfJavaSourcesFrom(sources: Set<File>) =
            sources.asSequence().mapNotNull { addSource(it) }
    
        private
        fun isolatedClassLoaderFor(classpath: Set<File>) =
            classLoaderFactory.createIsolatedClassLoader(identityPath.path, DefaultClassPath.of(classpath)) as URLClassLoader
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. subprojects/core/src/integTest/groovy/org/gradle/process/internal/AbstractWorkerProcessIntegrationSpec.groovy

            def classesDir = tmpDir.createDir("classes/$className")
            def compilationUnit = new CompilationUnit(new GroovyClassLoader(getClass().classLoader))
            compilationUnit.addSource(className, classText)
    
            def configuration = new CompilerConfiguration()
            configuration.setTargetDirectory(classesDir)
    
            compilationUnit.setConfiguration(configuration)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  7. src/log/slog/text_handler.go

    //
    // If the Record's level is zero, the level is omitted.
    // Otherwise, the key is "level"
    // and the value of [Level.String] is output.
    //
    // If the AddSource option is set and source information is available,
    // the key is "source" and the value is output as FILE:LINE.
    //
    // The message's key is "msg".
    //
    // To modify these or other attributes, or remove them from the output, use
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 23 22:56:07 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  8. 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)
  9. pkg/config/analysis/local/analyze_test.go

    }
    
    func TestAddInMemorySource(t *testing.T) {
    	g := NewWithT(t)
    
    	sa := NewSourceAnalyzer(blankCombinedAnalyzer, "", "", nil)
    
    	src := model.NewFakeStore()
    	sa.AddSource(dfCache{ConfigStore: src})
    	assert.Equal(t, sa.meshCfg, mesh.DefaultMeshConfig()) // Base default meshcfg
    	g.Expect(sa.meshNetworks.Networks).To(HaveLen(0))
    	g.Expect(sa.stores).To(HaveLen(1))
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 09 07:43:43 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  10. src/log/slog/json_handler.go

    // and the value is output as with json.Marshal.
    //
    // If the Record's level is zero, the level is omitted.
    // Otherwise, the key is "level"
    // and the value of [Level.String] is output.
    //
    // If the AddSource option is set and source information is available,
    // the key is "source", and the value is a record of type [Source].
    //
    // The message's key is "msg".
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 16:18:11 UTC 2023
    - 8.1K bytes
    - Viewed (0)
Back to top