Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 299 for writeLoc (0.6 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/ResourceHandlerWrapper.java

                }
            } finally {
                lock.unlock();
            }
        }
    
        @Override
        public void writeTo(int requestId, HttpExchange exchange) throws IOException {
            handler.writeTo(requestId, exchange);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top