Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 4,308 for gwrite (0.14 sec)

  1. src/os/file.go

    	return io.Copy(fileWithoutReadFrom{File: f}, r)
    }
    
    // Write writes len(b) bytes from b to the File.
    // It returns the number of bytes written and an error, if any.
    // Write returns a non-nil error when n != len(b).
    func (f *File) Write(b []byte) (n int, err error) {
    	if err := f.checkValid("write"); err != nil {
    		return 0, err
    	}
    	n, e := f.write(b)
    	if n < 0 {
    		n = 0
    	}
    	if n != len(b) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 23:07:37 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  2. platforms/software/publish/src/main/java/org/gradle/api/publish/internal/metadata/ModuleMetadataJsonWriter.java

                        write("name", artifact.name);
                        write("url", artifact.uri);
                        File file = artifact.file;
                        write("size", file.length());
                        write("sha512", sha512(file));
                        write("sha256", sha256(file));
                        write("sha1", sha1(file));
                        write("md5", md5(file));
                    });
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/report/unbound/UnboundRulesReporter.java

                writer.write(" ");
                writer.write(input.getType() == null ? "<untyped>" : input.getType());
                if (input.getDescription() != null) {
                    writer.write(" ");
                    writer.write("(");
                    writer.write(input.getDescription());
                    writer.write(")");
                }
                if (!input.isBound()) {
                    writer.write(" ");
                    writer.write("[*]");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/outputorigin/ManualUpToDateOutputOriginIntegrationTest.groovy

                }
                
                def write = tasks.create("write", CustomTask)
            """
    
            when:
            succeeds "write"
    
            then:
            executedAndNotSkipped ":write"
            originBuildInvocationId(":write") == null
    
            when:
            buildFile << """
                write.value = "b"
            """
            succeeds("write")
    
            then:
            skipped(":write")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 10 10:29:07 UTC 2020
    - 2.5K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/route/route_cache.go

    		}
    	}
    	h.Write(Separator)
    
    	for _, vs := range r.DelegateVirtualServices {
    		h.Write(hashToBytes(vs))
    		h.Write(Separator)
    	}
    	h.Write(Separator)
    
    	for _, mergedDR := range r.DestinationRules {
    		for _, dr := range mergedDR.GetFrom() {
    			h.WriteString(dr.Name)
    			h.Write(Slash)
    			h.WriteString(dr.Namespace)
    			h.Write(Separator)
    		}
    	}
    	h.Write(Separator)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/snapshot/impl/SnapshotSerializerTest.groovy

            def original = snapshot("x".bytes)
            write(original)
    
            expect:
            original == written
        }
    
        def "serializes string properties"() {
            def original = string("x")
            write(original)
    
            expect:
            original == written
        }
    
        def "serializes number properties"() {
            write(value)
    
            expect:
            value == written
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 11 20:22:01 UTC 2024
    - 8K bytes
    - Viewed (0)
  7. src/runtime/mwbbuf.go

    // license that can be found in the LICENSE file.
    
    // This implements the write barrier buffer. The write barrier itself
    // is gcWriteBarrier and is implemented in assembly.
    //
    // See mbarrier.go for algorithmic details on the write barrier. This
    // file deals only with the buffer.
    //
    // The write barrier has a fast path and a slow path. The fast path
    // simply enqueues to a per-P write barrier buffer. It's written in
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  8. platforms/core-runtime/launcher/src/main/java/org/gradle/tooling/internal/provider/action/BuildActionSerializer.java

                nullableFileSerializer.write(encoder, startParameter.getGradleHomeDir());
                nullableFileSerializer.write(encoder, startParameter.getProjectCacheDir());
                fileListSerializer.write(encoder, startParameter.getIncludedBuilds());
    
                // Other stuff
                NO_NULL_STRING_MAP_SERIALIZER.write(encoder, startParameter.getProjectProperties());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 30.1K bytes
    - Viewed (0)
  9. test/writebarrier.go

    func f21a(x *int) {
    	x21 = x   // ERROR "write barrier"
    	y21.x = x // ERROR "write barrier"
    }
    
    func f21b(x *int) {
    	x21 = &z21   // ERROR "write barrier"
    	y21.x = &z21 // ERROR "write barrier"
    }
    
    func f21c(x *int) {
    	y21 = struct{ x *int }{x} // ERROR "write barrier"
    }
    
    func f22(x *int) (y *int) {
    	// pointer write on stack should have no write barrier.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 23 19:46:36 UTC 2021
    - 5.9K bytes
    - Viewed (0)
  10. src/cmd/dist/testjson_test.go

    			const b1 = 5
    			const b2 = len(in) - 5
    			f.Write([]byte(in[:b1]))
    			f.Write([]byte(in[b1:b2]))
    			f.Write([]byte(in[b2:]))
    		})
    	})
    }
    
    func checkJSONFilter(t *testing.T, in, want string) {
    	t.Helper()
    	checkJSONFilterWith(t, want, func(f *testJSONFilter) {
    		f.Write([]byte(in))
    	})
    }
    
    func checkJSONFilterWith(t *testing.T, want string, write func(*testJSONFilter)) {
    	t.Helper()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 20:13:24 UTC 2023
    - 1.9K bytes
    - Viewed (0)
Back to top