- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 1,206 for 20something (0.32 sec)
-
guava-tests/benchmark/com/google/common/base/StopwatchBenchmark.java
Stopwatch s = Stopwatch.createStarted(); // here is where you would do something total += s.elapsed(TimeUnit.NANOSECONDS); } return total; } @Benchmark long manual(int reps) { long total = 0; for (int i = 0; i < reps; i++) { long start = System.nanoTime(); // here is where you would do something total += (System.nanoTime() - start); } return total; }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 1.5K bytes - Viewed (0) -
subprojects/diagnostics/src/test/groovy/org/gradle/api/reporting/model/ModelReportNodeBuilderTest.groovy
ReportNode node = ModelReportNodeBuilder.fromDsl({ model { childOne() childTwo(aValue: 'someThing', anotherValue: 'somethingElse') } }).get() expect: node.'**'.childOne node.'**'.childTwo.@aValue[0] == 'someThing' node.'**'.childTwo.@anotherValue[0] == 'somethingElse' } def "can accept an empty closure"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 11 23:49:44 UTC 2019 - 1.3K bytes - Viewed (0) -
platforms/core-runtime/files/src/test/groovy/org/gradle/api/internal/file/pattern/HasPrefixPatternStepTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:55:52 UTC 2023 - 1.6K bytes - Viewed (0) -
platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerPluginClasspathInjectionIntegrationTest.groovy
import org.gradle.api.DefaultTask import org.gradle.api.tasks.TaskAction class HelloWorld1 extends DefaultTask { @TaskAction void doSomething() { println 'Hello world! (buildSrc)' } } """ buildFile << plugin.useDeclaration << """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jan 15 03:45:31 UTC 2024 - 13K bytes - Viewed (0) -
platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/AbstractClassChangeIncrementalCompilationIntegrationTest.groovy
@Unroll("detects changes to class referenced through a #modifier field") def "detects changes to class referenced through a field"() { given: source """class A { $modifier B b; void doSomething() { Runnable r = b; r.run(); } }""" source '''abstract class B implements Runnable { }''' outputs.snapshot { run language.compileTaskName } when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 20.1K bytes - Viewed (0) -
test/typeparam/issue51367.dir/main.go
// Copyright 2022 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main import ( "./a" ) func main() { a.DoSomething[byte]()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 24 02:14:15 UTC 2022 - 232 bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheConventionMappingIntegrationTest.groovy
@TaskAction void doIt() { assert archiveFileName.get() == "something" } } task myTask(type: MyTask) { conventionMapping('archiveName') { 'not something' } archiveFileName.convention("something") } """ expect: 'convention mapping is ignored'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 5.5K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/AbstractJUnit4IgnoreClassIntegrationTest.groovy
@Ignore @RunWith(org.gradle.CustomIgnoredTest.TheRunner.class) public class CustomIgnoredTest { static int count = 0; public boolean doSomething() { return true; } public static class TheRunner extends Runner { List descriptions = new ArrayList();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 4.8K bytes - Viewed (0) -
platforms/software/build-init/src/test/groovy/org/gradle/buildinit/plugins/internal/VersionCatalogGeneratorTest.groovy
versionCatalogFile.text == toPlatformLineSeparators("""$COMMON_START [versions] group-artifact-v5 = "1.1.1" junit-something = "4" [libraries] group-artifact-v5 = { module = "group:artifact_5", version.ref = "group-artifact-v5" } junit-something = { module = "JUnit:something", version.ref = "junit-something" } """) } def "generates plugin"() { setup:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Dec 21 12:02:29 UTC 2023 - 5K bytes - Viewed (0) -
tensorflow/c/experimental/grappler/grappler.cc
==============================================================================*/ // This file extends/implements core graph optimizer base classes in terms of // the C API defined in grappler.h. A class "CSomething" represents a // "Something" that can be manipulated via calls in the C interface and a C // struct called "TP_Something". #include "tensorflow/c/experimental/grappler/grappler.h" #include <algorithm> #include <cstddef>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 15K bytes - Viewed (0)