Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3601 - 3610 of 3,814 for core (0.03 sec)

  1. src/bufio/scan.go

    // the [Scanner] returns it to the user. If the token is nil, the
    // Scanner reads more data and continues scanning; if there is no more
    // data--if atEOF was true--the [Scanner] returns. If the data does not
    // yet hold a complete token, for instance if it has no newline while
    // scanning lines, a [SplitFunc] can return (0, nil, nil) to signal the
    // [Scanner] to read more data into the slice and try again with a
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed May 21 18:05:26 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  2. src/bytes/example_test.go

    // Copyright 2011 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package bytes_test
    
    import (
    	"bytes"
    	"encoding/base64"
    	"fmt"
    	"io"
    	"os"
    	"slices"
    	"strconv"
    	"unicode"
    )
    
    func ExampleBuffer() {
    	var b bytes.Buffer // A Buffer needs no initialization.
    	b.Write([]byte("Hello "))
    	fmt.Fprintf(&b, "world!")
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon May 12 16:07:54 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/asm/testdata/avx512enc/gfni_avx512f.s

    // Code generated by avx512test. DO NOT EDIT.
    
    #include "../../../../../../runtime/textflag.h"
    
    TEXT asmtest_gfni_avx512f(SB), NOSPLIT, $0
    	VGF2P8AFFINEINVQB $64, X8, X31, K3, X26            // 62438503cfd040
    	VGF2P8AFFINEINVQB $64, X1, X31, K3, X26            // 62638503cfd140
    	VGF2P8AFFINEINVQB $64, X0, X31, K3, X26            // 62638503cfd040
    	VGF2P8AFFINEINVQB $64, -17(BP), X31, K3, X26       // 62638503cf95efffffff40
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue May 22 14:57:15 UTC 2018
    - 22.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/DoublesTest.java

      }
    
      // `primitives` can't depend on `collect`, so this is what the prod code has to return.
      @SuppressWarnings("EmptyList")
      public void testAsListEmpty() {
        assertThat(Doubles.asList(EMPTY)).isSameInstanceAs(Collections.emptyList());
      }
    
      /**
       * A reference implementation for {@code tryParse} that just catches the exception from {@link
       * Double#valueOf}.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java

                assertEquals(2 + (count * 2), encoded);
                // Note: size() returns 4 + count*2, but encode returns 2 + count*2
                // This is an implementation inconsistency in the original code
                assertNotEquals(context.size(), encoded);
                assertEquals(4 + (count * 2), context.size());
            }
    
            @Test
            @DisplayName("Should encode and decode correctly")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  6. cmd/erasure-metadata-utils.go

    // corresponding error value. NB When there is more than one error value that
    // occurs maximum number of times, the error value returned depends on how
    // golang's map orders keys. This doesn't affect correctness as long as quorum
    // value is greater than or equal to simple majority, since none of the equally
    // maximal values would occur quorum or more number of times.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/BytesTest.java

        assertThat(Bytes.toArray(list.subList(2, 2))).isEqualTo(new byte[] {});
      }
    
      // `primitives` can't depend on `collect`, so this is what the prod code has to return.
      @SuppressWarnings("EmptyList")
      public void testAsListEmpty() {
        assertThat(Bytes.asList(EMPTY)).isSameInstanceAs(Collections.emptyList());
      }
    
      public void testReverse() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  8. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java

      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        return Maps.equalsImpl(this, object);
      }
    
      @Override
      public int hashCode() {
        // not caching hash code since it could change if map values are mutable
        // in a way that modifies their hash codes
        return entrySet().hashCode();
      }
    
      @Override
      public String toString() {
        return Maps.toStringImpl(this);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  9. src/archive/tar/strconv_test.go

    // Copyright 2016 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package tar
    
    import (
    	"math"
    	"strings"
    	"testing"
    	"time"
    )
    
    func TestFitsInBase256(t *testing.T) {
    	vectors := []struct {
    		in    int64
    		width int
    		ok    bool
    	}{
    		{+1, 8, true},
    		{0, 8, true},
    		{-1, 8, true},
    		{1 << 56, 8, false},
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Sep 08 17:08:20 UTC 2025
    - 15K bytes
    - Viewed (0)
  10. src/archive/zip/writer_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package zip
    
    import (
    	"bytes"
    	"compress/flate"
    	"encoding/binary"
    	"fmt"
    	"hash/crc32"
    	"io"
    	"io/fs"
    	"math/rand"
    	"os"
    	"strings"
    	"testing"
    	"testing/fstest"
    	"time"
    )
    
    // TODO(adg): a more sophisticated test suite
    
    type WriteTest struct {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Jan 28 04:20:09 UTC 2025
    - 14.4K bytes
    - Viewed (0)
Back to top