- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 65 for GetBytes (0.22 sec)
-
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/resolver/ExternalResourceResolver.java
HashCode hash = checksumService.hash(src, algorithm); String formattedHashString = hash.toString(); try { return formattedHashString.getBytes("US-ASCII"); } catch (UnsupportedEncodingException e) { throw UncheckedException.throwAsUncheckedException(e); } } public List<String> getIvyPatterns() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 00:21:07 UTC 2024 - 25.9K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildOptionsIntegrationTest.groovy
for(File f: getMyInputs().files) { outputContent += f.canonicalPath + "\\n" } Files.write(outputFile.toPath(), outputContent.getBytes()) } } tasks.register("myTask", MyTask.class) { it.getInputCount().set(project.providers.systemProperty("generateInputs").map { Integer.parseInt(it) })
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 28K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/ClassPathTest.java
throw closer.rethrow(e); } finally { closer.close(); } } private static Manifest manifest(String content) throws IOException { InputStream in = new ByteArrayInputStream(content.getBytes(US_ASCII)); Manifest manifest = new Manifest(); manifest.read(in); return manifest; } private static File fullpath(String path) { return new File(new File(path).toURI()); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Apr 26 14:02:27 UTC 2024 - 24.9K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/authoring-builds/basics/plugins.adoc
classpath 'com.android.tools.build:gradle:4.1.0' // used in subproject } } tasks.register('encode') { doLast { def byte[] encodedString = new Base64().encode('hello world\n'.getBytes()) println new String(encodedString) } } ---- And you can apply the globally declared dependencies in the subproject that needs it: [source,subproject/build.gradle] ---- plugins {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 31 04:11:37 UTC 2024 - 24.2K bytes - Viewed (0) -
src/cmd/go/internal/work/exec.go
return } } cache.PutBytes(c, cache.Subkey(a.actionID, "srcfiles"), buf.Bytes()) } func (b *Builder) loadCachedVet(a *Action) error { c := cache.Default() list, _, err := cache.GetBytes(c, cache.Subkey(a.actionID, "srcfiles")) if err != nil { return fmt.Errorf("reading srcfiles list: %w", err) } var srcfiles []string for _, name := range strings.Split(string(list), "\n") {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 14:46:37 UTC 2024 - 105.6K bytes - Viewed (0) -
src/cmd/go/internal/work/buildid.go
a.output = []byte{} return false } func showStdout(b *Builder, c cache.Cache, a *Action, key string) error { actionID := a.actionID stdout, stdoutEntry, err := cache.GetBytes(c, cache.Subkey(actionID, key)) if err != nil { return err } if len(stdout) > 0 { sh := b.Shell(a) if cfg.BuildX || cfg.BuildN {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:31:25 UTC 2024 - 26.2K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java
return null; } @Override public InputStream openStream() throws IOException { return new ByteArrayInputStream(buffer.toString().getBytes(StandardCharsets.UTF_8)); } @Override public String getLocation() { return artifact.getId(); } @Override
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon May 13 16:34:29 UTC 2024 - 57.1K bytes - Viewed (0) -
src/cmd/go/internal/test/test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 14:34:32 UTC 2024 - 71.9K bytes - Viewed (0) -
cmd/storage-datatypes_gen_test.go
bts := make([]byte, 0, v.Msgsize()) bts, _ = v.MarshalMsg(bts[0:0]) b.SetBytes(int64(len(bts))) b.ReportAllocs() b.ResetTimer() for i := 0; i < b.N; i++ { bts, _ = v.MarshalMsg(bts[0:0]) } } func BenchmarkUnmarshalBaseOptions(b *testing.B) { v := BaseOptions{} bts, _ := v.MarshalMsg(nil) b.ReportAllocs() b.SetBytes(int64(len(bts))) b.ResetTimer() for i := 0; i < b.N; i++ {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 62.6K bytes - Viewed (0) -
src/testing/benchmark.go
b.startBytes = memStats.TotalAlloc b.start = highPrecisionTimeNow() } b.duration = 0 b.netAllocs = 0 b.netBytes = 0 } // SetBytes records the number of bytes processed in a single operation. // If this is called, the benchmark will report ns/op and MB/s. func (b *B) SetBytes(n int64) { b.bytes = n } // ReportAllocs enables malloc statistics for this benchmark.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 23.9K bytes - Viewed (0)