- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 303 for B1000000 (0.14 sec)
-
tests/test_datetime_custom_encoder.py
def get_model(): return model client = TestClient(app) with client: response = client.get("/model") assert response.json() == {"dt_field": "2019-01-01T08:00:00+00:00"} # TODO: remove when deprecating Pydantic v1 @needs_pydanticv1 def test_pydanticv1(): class ModelWithDatetimeField(BaseModel): dt_field: datetime class Config:
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 1.6K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/FakeTickerTest.java
} public void testAutoIncrementStep_millis() { FakeTicker ticker = new FakeTicker().setAutoIncrementStep(1, TimeUnit.MILLISECONDS); assertEquals(0, ticker.read()); assertEquals(1000000, ticker.read()); assertEquals(2000000, ticker.read()); } public void testAutoIncrementStep_seconds() { FakeTicker ticker = new FakeTicker().setAutoIncrementStep(3, TimeUnit.SECONDS); assertEquals(0, ticker.read());
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 06 14:40:46 UTC 2024 - 6.4K bytes - Viewed (0) -
src/cmd/cgo/internal/testcarchive/testdata/main4.c
if (i != 0) { fprintf(stderr, "pthread_kill: %s\n", strerror(i)); exit(EXIT_FAILURE); } // Wait until the signal has been delivered. i = 0; while (SIGIOCount() == 0) { ts.tv_sec = 0; ts.tv_nsec = 1000000; nanosleep(&ts, NULL); i++; if (i > 5000) { fprintf(stderr, "looping too long waiting for signal\n"); exit(EXIT_FAILURE); } } // We should still be on the same signal stack.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 4.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/cache2/FileOperatorTest.kt
fun largeRead() { val data = randomByteString(1000000) write(data) val operator = FileOperator( randomAccessFile!!.getChannel(), ) val buffer = Buffer() operator.read(0, buffer, data.size.toLong()) assertThat(buffer.readByteString()).isEqualTo(data) } @Test fun largeWrite() { val data = randomByteString(1000000) val operator = FileOperator(
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.8K bytes - Viewed (0) -
platforms/software/security/src/test/groovy/org/gradle/plugins/signing/signatory/pgp/PgpKeyIdSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 1.3K bytes - Viewed (0) -
pkg/kubelet/apis/config/scheme/testdata/KubeletConfiguration/roundtrip/default/v1beta1.yaml
logging: flushFrequency: 5s format: text options: json: infoBufferSize: "0" text: infoBufferSize: "0" verbosity: 0 makeIPTablesUtilChains: true maxOpenFiles: 1000000 maxPods: 110 memoryManagerPolicy: None memorySwap: {} memoryThrottlingFactor: 0.9 nodeLeaseDurationSeconds: 40 nodeStatusMaxImages: 50 nodeStatusReportFrequency: 5m0s nodeStatusUpdateFrequency: 10s
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 05 05:07:06 UTC 2024 - 2.2K bytes - Viewed (0) -
src/vendor/golang.org/x/net/route/sys_freebsd.go
ifm.bodyOff = sizeofIfMsghdrFreeBSD8Emu } else { ifm.bodyOff = sizeofIfMsghdrFreeBSD8 } case 900000 <= rel && rel < 1000000: if compatFreeBSD32 { ifm.bodyOff = sizeofIfMsghdrFreeBSD9Emu } else { ifm.bodyOff = sizeofIfMsghdrFreeBSD9 } case 1000000 <= rel && rel < 1100000: if compatFreeBSD32 { ifm.bodyOff = sizeofIfMsghdrFreeBSD10Emu } else { ifm.bodyOff = sizeofIfMsghdrFreeBSD10 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 05 19:54:32 UTC 2022 - 4.7K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/concurrent/Duration.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 909 bytes - Viewed (0) -
samples/helloworld/src/app.py
app = Flask(__name__) @app.route('/hello') def hello(): version = os.environ.get('SERVICE_VERSION') # do some cpu intensive computation x = 0.0001 for i in range(0, 1000000): x = x + math.sqrt(x) return 'Hello version: %s, instance: %s\n' % (version, os.environ.get('HOSTNAME')) @app.route('/health') def health(): return 'Helloworld is healthy', 200
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jun 20 13:44:21 UTC 2023 - 1.1K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/FakeTickerTest.java
} public void testAutoIncrementStep_millis() { FakeTicker ticker = new FakeTicker().setAutoIncrementStep(1, TimeUnit.MILLISECONDS); assertEquals(0, ticker.read()); assertEquals(1000000, ticker.read()); assertEquals(2000000, ticker.read()); } public void testAutoIncrementStep_seconds() { FakeTicker ticker = new FakeTicker().setAutoIncrementStep(3, TimeUnit.SECONDS); assertEquals(0, ticker.read());
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 06 14:40:46 UTC 2024 - 6.3K bytes - Viewed (0)