Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 342 for B1000000 (0.07 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  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. test/atomicload.go

    // racy code, particularly sync/mutex.
    
    package main
    
    func f(p *byte) bool {
    	x := *p
    	a := int64(int8(x))
    	b := int64(uint8(x))
    	return a == b
    }
    
    func main() {
    	var x byte
    	const N = 1000000
    	c := make(chan struct{})
    	go func() {
    		for i := 0; i < N; i++ {
    			x = 1
    		}
    		c <- struct{}{}
    	}()
    	go func() {
    		for i := 0; i < N; i++ {
    			x = 2
    		}
    		c <- struct{}{}
    	}()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 17 04:20:02 UTC 2016
    - 798 bytes
    - Viewed (0)
  9. 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)
  10. src/net/mac_test.go

    			0x02, 0x00, 0x5e, 0x10, 0x00, 0x00, 0x00, 0x01,
    		},
    		"",
    	},
    	{
    		"00-00-00-00-fe-80-00-00-00-00-00-00-02-00-5e-10-00-00-00-01",
    		HardwareAddr{
    			0x00, 0x00, 0x00, 0x00,
    			0xfe, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    			0x02, 0x00, 0x5e, 0x10, 0x00, 0x00, 0x00, 0x01,
    		},
    		"",
    	},
    	{
    		"0000.0000.fe80.0000.0000.0000.0200.5e10.0000.0001",
    		HardwareAddr{
    			0x00, 0x00, 0x00, 0x00,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 27 02:36:14 UTC 2019
    - 3.3K bytes
    - Viewed (0)
Back to top