Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 460 for 00 (0.02 sec)

  1. src/bytes/reader_test.go

    	tests := []struct {
    		off     int64
    		n       int
    		want    string
    		wanterr any
    	}{
    		{0, 10, "0123456789", nil},
    		{1, 10, "123456789", io.EOF},
    		{1, 9, "123456789", nil},
    		{11, 10, "", io.EOF},
    		{0, 0, "", nil},
    		{-1, 0, "", "bytes.Reader.ReadAt: negative offset"},
    	}
    	for i, tt := range tests {
    		b := make([]byte, tt.n)
    		rn, err := r.ReadAt(b, tt.off)
    		got := string(b[:rn])
    		if got != tt.want {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 8K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_body_multiple_params/test_tutorial001_an_py39.py

                                "schema": {
                                    "title": "The ID of the item to get",
                                    "maximum": 1000.0,
                                    "minimum": 0.0,
                                    "type": "integer",
                                },
                                "name": "item_id",
                                "in": "path",
                            },
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/AbstractListIndexOfTester.java

      protected abstract String getMethodName();
    
      @CollectionSize.Require(absent = ZERO)
      public void testFind_yes() {
        assertEquals(
            getMethodName() + "(firstElement) should return 0", 0, find(getOrderedElements().get(0)));
      }
    
      public void testFind_no() {
        assertEquals(getMethodName() + "(notPresent) should return -1", -1, find(e3()));
      }
    
      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java

                dst[ dstIndex++ ] = (byte) 0x00;
            }
            SMBUtil.writeInt2(this.parameterCount, dst, dstIndex);
            dstIndex += 2;
            // writeInt2(( parameterCount == 0 ? 0 : parameterOffset ), dst, dstIndex );
            SMBUtil.writeInt2(this.parameterOffset, dst, dstIndex);
            dstIndex += 2;
            if ( this.getCommand() == SMB_COM_TRANSACTION_SECONDARY ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun May 17 13:43:42 UTC 2020
    - 13.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/RegularImmutableList.java

    @ElementTypesAreNonnullByDefault
    class RegularImmutableList<E> extends ImmutableList<E> {
      static final ImmutableList<Object> EMPTY = new RegularImmutableList<>(new Object[0], 0);
    
      // The first `size` elements are non-null.
      @VisibleForTesting final transient @Nullable Object[] array;
      private final transient int size;
    
      RegularImmutableList(@Nullable Object[] array, int size) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/CollectSpliteratorsTest.java

        SpliteratorTester.ofDouble(
                () ->
                    CollectSpliterators.flatMapToDouble(
                        Arrays.spliterator(new Double[] {1.0, 0.0, 1.0, 2.0, 3.0}),
                        (Double i) -> i == 0.0 ? null : DoubleStream.of(i).spliterator(),
                        Spliterator.SIZED | Spliterator.DISTINCT | Spliterator.NONNULL,
                        4))
            .expect(1.0, 1.0, 2.0, 3.0);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/MultiReaderTest.java

        final int[] counter = new int[1];
        CharSource reader =
            new CharSource() {
              @Override
              public Reader openStream() throws IOException {
                if (counter[0]++ != 0) {
                  throw new IllegalStateException("More than one source open");
                }
                return new FilterReader(source.openStream()) {
                  @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/MultiReaderTest.java

        final int[] counter = new int[1];
        CharSource reader =
            new CharSource() {
              @Override
              public Reader openStream() throws IOException {
                if (counter[0]++ != 0) {
                  throw new IllegalStateException("More than one source open");
                }
                return new FilterReader(source.openStream()) {
                  @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.7K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.26.md

    - github.com/hashicorp/go-multierror: [v1.0.0](https://github.com/hashicorp/go-multierror/tree/v1.0.0)
    - github.com/hashicorp/go-rootcerts: [v1.0.0](https://github.com/hashicorp/go-rootcerts/tree/v1.0.0)
    - github.com/hashicorp/go-sockaddr: [v1.0.0](https://github.com/hashicorp/go-sockaddr/tree/v1.0.0)
    - github.com/hashicorp/go-syslog: [v1.0.0](https://github.com/hashicorp/go-syslog/tree/v1.0.0)
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Thu Mar 14 16:24:51 UTC 2024
    - 425.7K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/asm/testdata/riscv64error.s

    	MOVF	$8(SP), X5			// ERROR "unsupported address load"
    	MOV	$1234, 0(SP)			// ERROR "constant load must target register"
    	MOV	$1234, 8(SP)			// ERROR "constant load must target register"
    	MOV	$0, 0(SP)			// ERROR "constant load must target register"
    	MOV	$0, 8(SP)			// ERROR "constant load must target register"
    	MOV	$1234, 0(SP)			// ERROR "constant load must target register"
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Sun Apr 07 03:32:27 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top