Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,840 for Primer (0.26 sec)

  1. src/internal/coverage/stringtab/stringtab.go

    )
    
    // This package implements string table writer and reader utilities,
    // for use in emitting and reading/decoding coverage meta-data and
    // counter-data files.
    
    // Writer implements a string table writing utility.
    type Writer struct {
    	stab   map[string]uint32
    	strs   []string
    	tmp    []byte
    	frozen bool
    }
    
    // InitWriter initializes a stringtab.Writer.
    func (stw *Writer) InitWriter() {
    	stw.stab = make(map[string]uint32)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 11 12:40:42 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/util/output/output.go

    	return pf
    }
    
    // Printer is a common printing interface in Kubeadm
    type Printer interface {
    	PrintObj(obj runtime.Object, writer io.Writer) error
    	Fprintf(writer io.Writer, format string, args ...interface{}) (n int, err error)
    	Fprintln(writer io.Writer, args ...interface{}) (n int, err error)
    	Printf(format string, args ...interface{}) (n int, err error)
    	Println(args ...interface{}) (n int, err error)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 19 08:22:45 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/junit/result/BinaryResultBackedTestResultsProvider.java

        @Override
        public void writeAllOutput(final long classId, final TestOutputEvent.Destination destination, final Writer writer) {
            withReader(new Action<TestOutputStore.Reader>() {
                @Override
                public void execute(TestOutputStore.Reader reader) {
                    reader.writeAllOutput(classId, destination, writer);
                }
            });
        }
    
        @Override
        public boolean isHasResults() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  4. platforms/jvm/language-java/src/testFixtures/groovy/org/gradle/language/fixtures/HelperProcessorFixture.groovy

            Writer writer = sourceFile.openWriter();
            try {
                writer.write("class " + className + " {");
                writer.write("    String getValue() { return \\"");
                String messageFromOptions = options.get("message");
                if (messageFromOptions == null) {
                    writer.write(HelperUtil.getValue() + "${suffix}");
                } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  5. platforms/core-execution/build-cache-http/src/integTest/groovy/org/gradle/caching/http/internal/HttpBuildCacheServiceTest.groovy

            server.expectGetEmptyOk("/redirect/cache/${key.hashCode}")
    
            when:
            def writer = writer(content)
            cache.store(key, writer)
    
            then:
            noExceptionThrown()
            writer.writeCount == 1
        }
    
        def "storing to cache can follow method preserving redirects"() {
            def destFile = tempDir.file("cached.zip")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 16:15:24 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/plugins/dynamicresources/structuredparameters_test.go

    					NodeName:      "node",
    					DriverName:    "driver",
    					ResourceModel: resourceapi.ResourceModel{ /* empty! */ },
    				},
    			},
    
    			// Not an error. It is safe to ignore unknown resources until a claim requests them.
    			// The unknown model in that claim then triggers an error for that claim.
    			wantResources: resources{"node": map[string]ResourceModels{
    				"driver": {
    					NamedResources: namedresourcesmodel.Model{},
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 27 09:27:01 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  7. platforms/software/build-init/src/main/java/org/gradle/buildinit/plugins/internal/GitAttributesGenerator.java

            try {
                try (PrintWriter writer = new PrintWriter(new FileWriter(file))) {
                    writer.println("#");
                    writer.println("# https://help.github.com/articles/dealing-with-line-endings/");
                    writer.println("#");
                    writer.println("# Linux start script should use lf");
                    writer.println("/gradlew        text eol=lf");
                    writer.println();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 12:54:54 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. platforms/core-runtime/logging/src/testFixtures/groovy/org/gradle/internal/logging/TestOutputEventListener.groovy

        final StringWriter writer = new StringWriter()
    
        @Override
        String toString() {
            return writer.toString()
        }
    
        void reset() {
            writer
        }
    
        @Override
        synchronized void onOutput(OutputEvent event) {
            if(event instanceof LogEvent){
                LogEvent logEvent = event as LogEvent
                writer.append("[")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  9. pkg/bootstrap/platform/aws_test.go

    			}
    		})
    	}
    }
    
    func errorHandler(writer http.ResponseWriter, _ *http.Request) {
    	writer.WriteHeader(http.StatusInternalServerError)
    }
    
    func regionHandler(writer http.ResponseWriter, _ *http.Request) {
    	writer.WriteHeader(http.StatusOK)
    	writer.Write([]byte("us-west-2"))
    }
    
    func zoneHandler(writer http.ResponseWriter, _ *http.Request) {
    	writer.WriteHeader(http.StatusOK)
    	writer.Write([]byte("us-west-2b"))
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 18 13:10:06 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/report/AmbiguousBindingReporter.java

            writer.println(" is ambiguous as multiple model elements are available for this type:");
    
            boolean first = true;
            for (Provider provider : providers) {
                if (!first) {
                    writer.println();
                }
                writer.print(INDENT);
                writer.print("- ");
                writer.print(provider.getPath());
                writer.print(" (created by: ");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.8K bytes
    - Viewed (0)
Back to top