Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 2,106 for writes (4.32 sec)

  1. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/process/ArgWriter.java

        private static final Pattern WHITESPACE_OR_HASH = Pattern.compile("\\s|#");
    
        private final PrintWriter writer;
        private final boolean backslashEscape;
        private final Pattern quotablePattern;
    
        private ArgWriter(PrintWriter writer, boolean backslashEscape, Pattern quotablePattern) {
            this.writer = writer;
            this.backslashEscape = backslashEscape;
            this.quotablePattern = quotablePattern;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 10:14:33 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/phases/certs/renewal/readwriter_test.go

    	newCert, newkey, err := pkiutil.NewCertAndKey(testCACert, testCAKey, testCertCfg)
    	if err != nil {
    		t.Fatalf("couldn't generate certificate: %v", err)
    	}
    
    	// Writes the new certificate
    	err = pkiReadWriter.Write(newCert, newkey)
    	if err != nil {
    		t.Fatalf("couldn't write new certificate: %v", err)
    	}
    
    	// Reads back the new certificate
    	readCert, err = pkiReadWriter.Read()
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 15:17:24 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  3. src/go/types/typestring.go

    	qf           Qualifier
    	ctxt         *Context       // if non-nil, we are type hashing
    	tparams      *TypeParamList // local type parameters
    	paramNames   bool           // if set, write function parameter names, otherwise, write types only
    	tpSubscripts bool           // if set, write type parameter indices as subscripts
    	pkgInfo      bool           // package-annotate first unexported-type field to avoid confusing type description
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  4. src/runtime/map_faststr.go

    	}
    	if raceenabled {
    		callerpc := getcallerpc()
    		racewritepc(unsafe.Pointer(h), callerpc, abi.FuncPCABIInternal(mapassign_faststr))
    	}
    	if h.flags&hashWriting != 0 {
    		fatal("concurrent map writes")
    	}
    	key := stringStructOf(&s)
    	hash := t.Hasher(noescape(unsafe.Pointer(&s)), uintptr(h.hash0))
    
    	// Set hashWriting after calling t.hasher for consistency with mapassign.
    	h.flags ^= hashWriting
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  5. src/runtime/tracestring.go

    	id, added := t.tab.put(ss.str, uintptr(ss.len))
    	if added {
    		// Write the string to the buffer.
    		systemstack(func() {
    			t.writeString(gen, id, s)
    		})
    	}
    	return id
    }
    
    // emit emits a string and creates an ID for it, but doesn't add it to the table. Returns the ID.
    func (t *traceStringTable) emit(gen uintptr, s string) uint64 {
    	// Grab an ID and write the string to the buffer.
    	id := t.tab.stealID()
    	systemstack(func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:03:35 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/junit/result/Binary2JUnitXmlReportGeneratorSpec.groovy

                action.execute(fooTest)
                action.execute(barTest)
            }
    
            when:
            generator.generate()
    
            then:
            1 * generator.xmlWriter.write(fooTest, _)
            1 * generator.xmlWriter.write(barTest, _)
            0 * generator.xmlWriter._
    
            where:
            numThreads << [1, 4]
        }
    
        def "adds context information to the failure if something goes wrong"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 19:07:01 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/endpoints/discovery/aggregated/wrapper.go

    	ws.Doc("get available API versions")
    	ws.Route(ws.GET("/").To(wrapped.restfulHandle).
    		Doc("get available API versions").
    		Operation("getAPIVersions").
    		Produces(mediaTypes...).
    		Consumes(mediaTypes...).
    		Writes(returnType))
    	return ws
    }
    
    // WrapAggregatedDiscoveryToHandler wraps a handler with an option to
    // emit the aggregated discovery by passing in the aggregated
    // discovery type in content negotiation headers: eg: (Accept:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 18:15:22 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

        outFinished: Boolean,
        alternating: List<Header>,
      ) {
        writer.headers(outFinished, streamId, alternating)
      }
    
      /**
       * Callers of this method are not thread safe, and sometimes on application threads. Most often,
       * this method will be called to send a buffer worth of data to the peer.
       *
       * Writes are subject to the write window of the stream and the connection. Until there is a
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  9. src/net/http/httptest/recorder.go

    	}
    
    	rw.WriteHeader(200)
    }
    
    // Write implements http.ResponseWriter. The data in buf is written to
    // rw.Body, if not nil.
    func (rw *ResponseRecorder) Write(buf []byte) (int, error) {
    	rw.writeHeader(buf, "")
    	if rw.Body != nil {
    		rw.Body.Write(buf)
    	}
    	return len(buf), nil
    }
    
    // WriteString implements [io.StringWriter]. The data in str is written
    // to rw.Body, if not nil.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 7K bytes
    - Viewed (0)
  10. src/cmd/vendor/github.com/google/pprof/driver/driver.go

    type Options struct {
    	Writer        Writer
    	Flagset       FlagSet
    	Fetch         Fetcher
    	Sym           Symbolizer
    	Obj           ObjTool
    	UI            UI
    	HTTPServer    func(*HTTPServerArgs) error
    	HTTPTransport http.RoundTripper
    }
    
    // Writer provides a mechanism to write data under a certain name,
    // typically a filename.
    type Writer interface {
    	Open(name string) (io.WriteCloser, error)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 9.8K bytes
    - Viewed (0)
Back to top