- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 299 for writeLoc (0.21 sec)
-
platforms/jvm/platform-jvm/src/main/java/org/gradle/api/java/archives/internal/CustomManifestInternalWrapper.java
} @Override public void setContentCharset(String contentCharset) { this.contentCharset = contentCharset; } @Override public Manifest writeTo(OutputStream outputStream) { DefaultManifest.writeTo(this, outputStream, contentCharset); return this; } @Override public Attributes getAttributes() { return delegate.getAttributes(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 2.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/stdmethods/doc.go
// do so because of a mistake in its method signature. // For example, the result of this WriteTo method should be (int64, error), // not error, to satisfy io.WriterTo: // // type myWriterTo struct{...} // func (myWriterTo) WriteTo(w io.Writer) error { ... } // // This check ensures that each method whose name matches one of several
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 09 01:28:01 UTC 2023 - 1.1K bytes - Viewed (0) -
platforms/jvm/ear/src/test/groovy/org/gradle/plugins/ear/descriptor/internal/DefaultDeploymentDescriptorTest.groovy
@Rule TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass()) def "writes default descriptor"() { def file = tmpDir.file("out.xml") when: descriptor.writeTo(file) then: def root = DocumentBuilderFactory.newInstance().newDocumentBuilder().parse(new ByteArrayInputStream(file.bytes)).documentElement root.nodeName == 'application'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 19 22:06:51 UTC 2023 - 9.4K bytes - Viewed (0) -
platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/MavenConversionDynamicPomIntegrationTest.groovy
} } """ } def "singleModule with same source and target"() { def source = Jvm.current().javaVersion def target = Jvm.current().javaVersion writePom(source, target) def dsl = dslFixtureFor(scriptDsl) when: run 'init', '--dsl', scriptDsl.id as String then: dsl.assertGradleFilesGenerated()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Apr 06 02:21:33 UTC 2024 - 8.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/FormBodyTest.kt
val out = Buffer() body.writeTo(out) assertThat(out.readUtf8()).isEqualTo(expected) } @Test fun encodedPair() { val body = FormBody.Builder() .add("sim", "ple") .build() val expected = "sim=ple" assertThat(body.contentLength()).isEqualTo(expected.length.toLong()) val buffer = Buffer() body.writeTo(buffer)
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 7.8K bytes - Viewed (0) -
src/net/iprawsock.go
return } // WriteToIP acts like [IPConn.WriteTo] but takes an [IPAddr]. func (c *IPConn) WriteToIP(b []byte, addr *IPAddr) (int, error) { if !c.ok() { return 0, syscall.EINVAL } n, err := c.writeTo(b, addr) if err != nil { err = &OpError{Op: "write", Net: c.fd.net, Source: c.fd.laddr, Addr: addr.opAddr(), Err: err} } return n, err } // WriteTo implements the [PacketConn] WriteTo method.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 03:29:50 UTC 2024 - 7.1K bytes - Viewed (0) -
platforms/software/publish/src/test/groovy/org/gradle/api/publish/internal/metadata/GradleModuleMetadataWriterTest.groovy
TestUtil.checksumService ).writeTo(writer, spec) } def "fails to write file for component with no variants"() { def writer = new StringWriter() def component = Stub(TestComponent) def publication = publication(component, id) when: writeTo(writer, publication, [publication]) then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Dec 21 07:21:42 UTC 2023 - 36.9K bytes - Viewed (0) -
platforms/core-execution/build-cache/src/main/java/org/gradle/caching/internal/StatefulNextGenBuildCacheService.java
writeTo(data); return data.toInputStream(); } @Override public void writeTo(OutputStream output) throws IOException { legacyWriter.writeTo(output); } @Override public long getSize() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 20 10:14:55 UTC 2024 - 2.8K bytes - Viewed (0) -
src/net/packetconn_test.go
t.Fatal(err) } defer closer(c2, tt.net, tt.addr1, tt.addr2) c2.LocalAddr() rb2 := make([]byte, 128) if _, err := c1.WriteTo(wb, c2.LocalAddr()); err != nil { t.Fatal(err) } if _, _, err := c2.ReadFrom(rb2); err != nil { t.Fatal(err) } if _, err := c2.WriteTo(wb, c1.LocalAddr()); err != nil { t.Fatal(err) } rb1 := make([]byte, 128) if _, _, err := c1.ReadFrom(rb1); err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/promote_resources_to_args.cc
return read_op.emitOpError(kInvalidResourceMsg); } read_op.erase(); } else if (auto write_op = llvm::dyn_cast<TF::AssignVariableOp>(&op)) { if (auto func_arg = mlir::dyn_cast<BlockArgument>(write_op.getResource())) { if (func_arg.getOwner() != &block) return write_op.emitOpError(kResourceFunctionMsg); ResourceInfo& resource_info = resources[func_arg.getArgNumber()];
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 17.1K bytes - Viewed (0)