Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 154 for write1 (0.1 sec)

  1. subprojects/core/src/test/groovy/org/gradle/execution/plan/DefaultExecutionPlanParallelTest.groovy

            Task b = task("b", type: AsyncWithLocalState)
            _ * b.localStateFile >> sharedFile
    
            expect:
            tasksAreNotExecutedInParallel(a, b)
        }
    
        def "a task that writes into a directory that is an output of a running task is not started"() {
            given:
            Task a = task("a", type: AsyncWithOutputDirectory)
            _ * a.outputDirectory >> file("outputDir")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 22:18:26 UTC 2024
    - 93.5K bytes
    - Viewed (0)
  2. src/encoding/xml/marshal_test.go

    type limitedBytesWriter struct {
    	w      io.Writer
    	remain int // until writes fail
    }
    
    func (lw *limitedBytesWriter) Write(p []byte) (n int, err error) {
    	if lw.remain <= 0 {
    		println("error")
    		return 0, errors.New("write limit hit")
    	}
    	if len(p) > lw.remain {
    		p = p[:lw.remain]
    		n, _ = lw.w.Write(p)
    		lw.remain = 0
    		return n, errors.New("write limit hit")
    	}
    	n, err = lw.w.Write(p)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 66K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/Futures.java

      //    visible to done(). This is because there is no happens before edge between the write and a
      //    (hypothetical) unsafe read by our caller. Note: adding 'volatile' does not fix this issue,
      //    it would just add an edge such that if done() observed non-null, then it would also
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 64.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/endpoints/installer.go

    				Operation("read"+namespaced+kind+strings.Title(subresource)+operationSuffix).
    				Produces(append(storageMeta.ProducesMIMETypes(action.Verb), mediaTypes...)...).
    				Returns(http.StatusOK, "OK", producedObject).
    				Writes(producedObject)
    			if isGetterWithOptions {
    				if err := AddObjectParams(ws, route, versionedGetOptions); err != nil {
    					return nil, nil, err
    				}
    			}
    			addParams(route, action.Params)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 18:15:22 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  5. src/crypto/tls/handshake_server_test.go

    	if err != nil {
    		return nil, err
    	}
    	defer in.Close()
    	return parseTestData(in)
    }
    
    func (test *serverTest) run(t *testing.T, write bool) {
    	var clientConn, serverConn net.Conn
    	var recordingConn *recordingConn
    	var childProcess *exec.Cmd
    
    	if write {
    		var err error
    		recordingConn, childProcess, err = test.connFromCommand()
    		if err != nil {
    			t.Fatalf("Failed to start subcommand: %s", err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  6. cmd/bucket-handlers.go

    	// Get current region.
    	region := globalSite.Region()
    	if region != globalMinioDefaultRegion {
    		encodedSuccessResponse = encodeResponse(LocationResponse{
    			Location: region,
    		})
    	}
    
    	// Write success response.
    	writeSuccessResponseXML(w, encodedSuccessResponse)
    }
    
    // ListMultipartUploadsHandler - GET Bucket (List Multipart uploads)
    // -------------------------
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 61.2K bytes
    - Viewed (0)
  7. src/cmd/dist/build.go

    	if err := os.WriteFile(importcfg, buf.Bytes(), 0666); err != nil {
    		fatalf("cannot write importcfg file: %v", err)
    	}
    
    	var archive string
    	// The next loop will compile individual non-Go files.
    	// Hand the Go files to the compiler en masse.
    	// For packages containing assembly, this writes go_asm.h, which
    	// the assembly files will need.
    	pkgName := pkg
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:40 UTC 2024
    - 54K bytes
    - Viewed (0)
  8. src/syscall/zsyscall_darwin_amd64.go

    	n = int(r0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func libc_write_trampoline()
    
    //go:cgo_import_dynamic libc_write write "/usr/lib/libSystem.B.dylib"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func writev(fd int, iovecs []Iovec) (cnt uintptr, err error) {
    	var _p0 unsafe.Pointer
    	if len(iovecs) > 0 {
    		_p0 = unsafe.Pointer(&iovecs[0])
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 27 21:34:30 UTC 2023
    - 51.7K bytes
    - Viewed (0)
  9. src/html/template/escape_test.go

    		},
    		{
    			`<script>document.write("<p>foo</p>");`,
    			context{state: stateJS, element: elementScript},
    		},
    		{
    			`<script>document.write("<p>foo<\/script>");`,
    			context{state: stateJS, element: elementScript},
    		},
    		{
    			// <script and </script tags are escaped, so </script> should not
    			// cause us to exit the JS state.
    			`<script>document.write("<script>alert(1)</script>");`,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 16 03:29:27 UTC 2023
    - 56.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

            .isTrue();
        if (!failures.isEmpty()) {
          StringWriter message = new StringWriter();
          PrintWriter writer = new PrintWriter(message);
          writer.println("Expected no failures, but found:");
          for (AssertionError failure : failures) {
            failure.printStackTrace(writer);
          }
          failures.clear();
          assertWithMessage(message.toString()).fail();
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:37:15 UTC 2024
    - 75.3K bytes
    - Viewed (0)
Back to top