- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 90 for forSet (0.25 sec)
-
src/time/format.go
// // The returned string is meant for debugging; for a stable serialized // representation, use t.MarshalText, t.MarshalBinary, or t.Format // with an explicit format string. func (t Time) String() string { s := t.Format("2006-01-02 15:04:05.999999999 -0700 MST") // Format monotonic clock reading as m=±ddd.nnnnnnnnn. if t.wall&hasMonotonic != 0 { m2 := uint64(t.ext) sign := byte('+') if t.ext < 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 17:09:28 UTC 2024 - 49.3K bytes - Viewed (0) -
maven-embedder/src/test/java/org/apache/maven/cli/transfer/FileSizeFormatTest.java
assertEquals("0 kB", format.format(_0_bytes, ScaleUnit.KILOBYTE)); assertEquals("0 MB", format.format(_0_bytes, ScaleUnit.MEGABYTE)); assertEquals("0 GB", format.format(_0_bytes, ScaleUnit.GIGABYTE)); long _5_bytes = 5L; assertEquals("5 B", format.format(_5_bytes)); assertEquals("5 B", format.format(_5_bytes, ScaleUnit.BYTE)); assertEquals("0 kB", format.format(_5_bytes, ScaleUnit.KILOBYTE));
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Jun 11 21:48:41 UTC 2024 - 13K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/serialization/codecs/LazyCodecTest.kt
/** * [Lazy] values support Java serialization via a custom `writeReplace` method that forces their evaluation. */ class LazyCodecTest : AbstractFunctionalTypeTest() { @Test fun `forces evaluation of Lazy objects`() { assertEagerEvaluationOf(lazy()) { value } } @Test fun `forces evaluation of dynamic Lazy fields`() { assertEagerEvaluationOf(BeanOf(lazy())) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 1.6K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheLambdaIntegrationTest.groovy
public class LambdaTask extends DefaultTask { // Test with serializable lambdas that should work as-is, as well as non-serializable lambdas which should // be forced to become serializable by the instrumentation: public interface NonSerializableSupplier<T> { T get(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 11.7K bytes - Viewed (0) -
samples/addons/grafana.yaml
_memstats_heap_sys_bytes{app=\"istiod\"}","format":"time_series","hide":true,"intervalFactor":2,"legendFormat":"heap sys","refId":"A"},{"datasource":{"type":"prometheus","uid":"${datasource}"},"expr":"go_memstats_heap_alloc_bytes{app=\"istiod\"}","format":"time_series","hide":true,"intervalFactor":2,"legendFormat":"heap alloc","refId":"D"},{"datasource":{"type":"prometheus","uid":"${datasource}"},"expr":"go_memstats_alloc_bytes{app=\"istiod\"}","format":"time_series","intervalFactor":2,"legendFo...
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 20:46:28 UTC 2024 - 242.3K bytes - Viewed (0) -
maven-embedder/src/main/java/org/apache/maven/cli/transfer/AbstractMavenTransferListener.java
message.style(STYLE).append(" (").append(format.format(contentLength)); long duration = System.currentTimeMillis() - resource.getTransferStartTime(); if (duration > 0L) { double bytesPerSecond = contentLength / (duration / 1000.0); message.append(" at "); format.format(message, (long) bytesPerSecond); message.append("/s"); }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Jun 11 21:48:41 UTC 2024 - 4.1K bytes - Viewed (0) -
maven-embedder/src/main/java/org/apache/maven/cli/transfer/Slf4jMavenTransferListener.java
.append(" ("); format.format(message, contentLength); long duration = System.currentTimeMillis() - resource.getTransferStartTime(); if (duration > 0L) { double bytesPerSecond = contentLength / (duration / 1000.0); message.append(" at "); format.format(message, (long) bytesPerSecond); message.append("/s"); }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Jun 11 21:48:41 UTC 2024 - 3.7K bytes - Viewed (0) -
build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/extension/ReleasedVersionsDetails.kt
.map { (_, v) -> v.maxOrNull()!!.format() } // Limit to first and last release of each major version mainTestedVersions = testedVersions.map { VersionNumber.parse(it.gradleVersion().version) } .groupBy { it.major } .map { (_, v) -> listOf(v.minOrNull()!!.format(), v.maxOrNull()!!.format()) }.flatten() } private fun VersionNumber.format() =
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jun 10 06:17:20 UTC 2024 - 3.3K bytes - Viewed (0) -
pilot/pkg/model/telemetry_logging.go
log.Errorf("error parsing provided json log format, default log format will be used: %v", err) } else { jsonLogStruct = &parsedJSONLogStruct } } formatters = accessLogJSONFormatters(jsonLogStruct) fl.AccessLogFormat = &fileaccesslog.FileAccessLog_LogFormat{ LogFormat: &core.SubstitutionFormatString{ Format: &core.SubstitutionFormatString_JsonFormat{ JsonFormat: jsonLogStruct,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 04:34:30 UTC 2024 - 23K bytes - Viewed (0) -
pilot/pkg/networking/core/accesslog_test.go
encoding meshconfig.MeshConfig_AccessLogEncoding format string wantFormat string }{ { name: "valid json object", encoding: meshconfig.MeshConfig_JSON, format: `{"foo": "bar"}`, wantFormat: `{"foo":"bar"}`, }, { name: "valid nested json object", encoding: meshconfig.MeshConfig_JSON, format: `{"foo": {"bar": "ha"}}`, wantFormat: `{"foo":{"bar":"ha"}}`,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 04:34:30 UTC 2024 - 19.9K bytes - Viewed (0)