Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 660 for write1 (0.17 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/AbstractLineEndingSensitivityIntegrationSpec.groovy

                        sources = project.files()
                    }
    
                    @TaskAction
                    void doSomething() {
                        outputFile.withWriter { writer ->
                            sources.each { writer.println it }
                        }
                    }
                }
            """
        }
    
        static def pathSensitivityAnnotation(PathSensitivity pathSensitivity) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  2. cmd/post-policy_test.go

    	if !corruptedMultipart {
    		var writer io.Writer
    		var err error
    		if noFilename {
    			writer, err = w.CreateFormField("file")
    		} else {
    			writer, err = w.CreateFormFile("file", "upload.txt")
    		}
    		if err != nil {
    			// return nil, err
    			return nil, err
    		}
    		writer.Write(objData)
    		// Close before creating the new request.
    		w.Close()
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  3. cmd/bucket-handlers_test.go

    	// if object upload fails stop the test.
    	if err != nil {
    		t.Fatalf("Error uploading object: <ERROR> %v", err)
    	}
    
    	// initialize httptest Recorder, this records any mutations to response writer inside the handler.
    	rec := httptest.NewRecorder()
    	// construct HTTP request for DELETE bucket.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  4. src/syscall/exec_linux.go

    	}
    	return data
    }
    
    // writeIDMappings writes the user namespace User ID or Group ID mappings to the specified path.
    func writeIDMappings(path string, idMap []SysProcIDMap) error {
    	fd, err := Open(path, O_RDWR, 0)
    	if err != nil {
    		return err
    	}
    
    	if _, err := Write(fd, formatIDMappings(idMap)); err != nil {
    		Close(fd)
    		return err
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 07:45:37 UTC 2024
    - 23K bytes
    - Viewed (0)
  5. pkg/volume/configmap/configmap.go

    			}
    		}
    	}()
    
    	writerContext := fmt.Sprintf("pod %v/%v volume %v", b.pod.Namespace, b.pod.Name, b.volName)
    	writer, err := volumeutil.NewAtomicWriter(dir, writerContext)
    	if err != nil {
    		klog.Errorf("Error creating atomic writer: %v", err)
    		return err
    	}
    
    	setPerms := func(_ string) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 10K bytes
    - Viewed (0)
  6. src/runtime/trace.go

    		mToFlush = mp
    	}
    	unlock(&sched.lock)
    
    	// Iterate over our snapshot, flushing every buffer until we're done.
    	//
    	// Because trace writers read the generation while the seqlock is
    	// held, we can be certain that when there are no writers there are
    	// also no stale generation values left. Therefore, it's safe to flush
    	// any buffers that remain in that generation's slot.
    	const debugDeadlock = false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  7. 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)
  8. src/net/http/request_test.go

    		"\r\n",
    	}
    	if !reflect.DeepEqual(got, want) {
    		t.Errorf("Writes = %q\n  Want = %q", got, want)
    	}
    }
    
    func TestRequestBadHostHeader(t *testing.T) {
    	got := []string{}
    	req, err := NewRequest("GET", "http://foo/after", nil)
    	if err != nil {
    		t.Fatal(err)
    	}
    	req.Host = "foo.com\nnewline"
    	req.URL.Host = "foo.com\nnewline"
    	req.Write(logWrites{t, &got})
    	want := []string{
    		"GET /after HTTP/1.1\r\n",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 18:42:34 UTC 2024
    - 44K bytes
    - Viewed (0)
  9. platforms/extensibility/plugin-development/src/main/java/org/gradle/plugin/devel/internal/precompiled/GeneratePluginAdaptersTask.java

                writer.println("    private static final String MIN_SUPPORTED_GRADLE_VERSION = \"5.0\";");
                writer.println("    @Override");
                writer.println("    public void apply(" + targetClass + " target) {");
                writer.println("        assertSupportedByCurrentGradleVersion();");
                writer.println("        try {");
                writer.println(firstPassCode);
                writer.println();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 22:50:50 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/MapMakerInternalMap.java

       * concurrently readable hash table. The map supports non-blocking reads and concurrent writes
       * across different segments.
       *
       * The page replacement algorithm's data structures are kept casually consistent with the map. The
       * ordering of writes to a segment is sequentially consistent. An update to the map and recording
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 90.8K bytes
    - Viewed (0)
Back to top