Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 279 for B1000000 (0.14 sec)

  1. 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)
  2. 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)
  3. platforms/software/security/src/test/groovy/org/gradle/plugins/signing/signatory/pgp/PgpKeyIdSpec.groovy

        }
    
        def "equals impl"() {
            expect:
            key("AAAAAAAA") == key(2863311530)
        }
    
        def "comparison"() {
            expect:
            key("00000000") < key("00000001")
            key("00000001") > key("00000000")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  4. 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)
  5. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/concurrent/Duration.groovy

    package org.gradle.test.fixtures.concurrent
    
    class Duration {
        private final long nanos
    
        Duration(long nanos) {
            this.nanos = nanos
        }
    
        long getMillis() {
            return nanos / 1000000
        }
    
        @Override
        String toString() {
            return "[$nanos nanos]"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 909 bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. tests/test_jsonable_encoder.py

        model = ModelWithCustomEncoder(dt_field=datetime(2019, 1, 1, 8))
        assert jsonable_encoder(model) == {"dt_field": "2019-01-01T08:00:00+00:00"}
        subclass_model = ModelWithCustomEncoderSubclass(dt_field=datetime(2019, 1, 1, 8))
        assert jsonable_encoder(subclass_model) == {"dt_field": "2019-01-01T08:00:00+00:00"}
    
    
    # TODO: remove when deprecating Pydantic v1
    @needs_pydanticv1
    def test_encode_custom_json_encoders_model_pydanticv1():
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 9K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/encapsulate_subgraphs_pass_test.cc

                {"send_key", ""},
                {"recv_key", ""},
                {"shape_inference_graph", shape_inference_graph},
                {"tpu_core", 0},
                {"cost_estimate_ns", 1000000},
                {"shapes", absl::Span<const DataType>({})},
                {"_outside_compilation_subgraph", "O1"},
                {"_xla_token_input_nodes",
                 absl::Span<const string>({"_xla_token_arg_node"})},
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 113.3K bytes
    - Viewed (0)
  10. src/cmd/internal/bio/buf_mmap.go

    // because some operating systems place a limit on the number of
    // distinct mapped regions per process. As of this writing:
    //
    //	Darwin    unlimited
    //	DragonFly   1000000 (vm.max_proc_mmap)
    //	FreeBSD   unlimited
    //	Linux         65530 (vm.max_map_count) // TODO: query /proc/sys/vm/max_map_count?
    //	NetBSD    unlimited
    //	OpenBSD   unlimited
    var mmapLimit int32 = 1<<31 - 1
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 11:20:31 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top