- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 1,441 for told (0.04 sec)
-
test/finprofiled.go
// As the result, all allocated memory must stay alive. const ( N = 1 << 20 tinyBlockSize = 16 // runtime._TinySize ) hold := make([]*int32, 0, N) for i := 0; i < N; i++ { x := new(int32) if i%3 == 0 { runtime.SetFinalizer(x, func(p *int32) { hold = append(hold, p) }) } } // Finalize as much as possible. // Note: the sleep only increases probability of bug detection,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 16 05:48:00 UTC 2023 - 2.1K bytes - Viewed (0) -
src/debug/dwarf/testdata/ranges.c
const char *arr[10000]; const char *hot = "hot"; const char *cold = "cold"; __attribute__((noinline)) void fn(int path) { int i; if (path) { for (i = 0; i < sizeof arr / sizeof arr[0]; i++) { arr[i] = hot; } } else { for (i = 0; i < sizeof arr / sizeof arr[0]; i++) { arr[i] = cold; } } } int main(int argc, char *argv[]) { fn(argc); return 0;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 22 14:06:09 UTC 2016 - 415 bytes - Viewed (0) -
internal/color/color.go
IsTerminal = func() bool { return !color.NoColor } Bold = func() func(format string, a ...interface{}) string { if IsTerminal() { return color.New(color.Bold).SprintfFunc() } return fmt.Sprintf }() RedBold = func() func(a ...interface{}) string { if IsTerminal() { return color.New(color.FgRed, color.Bold).SprintFunc() } return fmt.Sprint }()
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 01 17:57:52 UTC 2024 - 3.8K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/MessageBuilder.java
* Append message content in trace style. * By default, bold magenta * * @param message the message to append * @return the current builder */ @Nonnull default MessageBuilder trace(Object message) { return style(".trace:-bold,f:magenta", message); } /** * Append message content in debug style. * By default, bold cyan * * @param message the message to append
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon Jan 08 10:37:09 UTC 2024 - 7K bytes - Viewed (0) -
cmd/server-startup-msg.go
// Colorize the message and print. logger.Info(color.Blue("API: ") + color.Bold(fmt.Sprintf("%s ", apiEndpointStr))) if color.IsTerminal() && (!globalServerCtxt.Anonymous && !globalServerCtxt.JSON && globalAPIConfig.permitRootAccess()) { logger.Info(color.Blue(" RootUser: ") + color.Bold("%s ", cred.AccessKey)) logger.Info(color.Blue(" RootPass: ") + color.Bold("%s \n", cred.SecretKey)) if region != "" {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 6.8K bytes - Viewed (0) -
hack/lib/test.sh
# limitations under the License. # shellcheck disable=SC2034 # Variables sourced in other scripts. # A set of helpers for tests reset=$(tput sgr0) bold=$(tput bold) black=$(tput setaf 0) red=$(tput setaf 1) green=$(tput setaf 2) readonly reset bold black red green kube::test::clear_all() { if kube::test::if_supports_resource "rc" ; then # shellcheck disable=SC2154
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 07 16:46:34 UTC 2023 - 15.9K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/providers/collections/kotlin/build.gradle.kts
private val people: NamedDomainObjectList<Person> = project.objects.namedDomainObjectList(Person::class) // Add a person to the container fun addPerson(name: String) { people.plus(name) } } // end::ndol[] // tag::ndoc[] abstract class MyPluginExtensionNamedDomainObjectContainer { // Define a named domain object container to hold Person objects
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 17 18:14:15 UTC 2024 - 2.1K bytes - Viewed (0) -
src/crypto/sha256/fallback_test.go
c := New() in := "ΑΒΓΔΕϜΖΗΘΙΚΛΜΝΞΟΠϺϘΡΣΤΥΦΧΨΩ" gold := "e93d84ec2b22383123be9f713697fb25" + "338c86e2f7d8d1ddc2d89d332dd9d76c" if _, err := io.WriteString(c, in); err != nil { t.Fatalf("could not write to c: %v", err) } out := fmt.Sprintf("%x", c.Sum(nil)) if out != gold { t.Fatalf("mismatch: got %s, wanted %s", out, gold) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:29:44 UTC 2024 - 894 bytes - Viewed (0) -
testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/java/JavaConfigurationCachePerformanceTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 25 14:54:56 UTC 2024 - 4.7K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/RateLimiter.java
/** Constructor for use by subclasses. */ protected SleepingStopwatch() {} /* * We always hold the mutex when calling this. TODO(cpovirk): Is that important? Perhaps we need * to guarantee that each call to reserveEarliestAvailable, etc. sees a value >= the previous? * Also, is it OK that we don't hold the mutex when sleeping? */ protected abstract long readMicros();
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Apr 04 09:45:04 UTC 2023 - 21.5K bytes - Viewed (0)