Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 69 for Utf8 (0.02 sec)

  1. src/cmd/asm/internal/asm/parse.go

    	case scanner.Int:
    		return p.atoi(tok.String())
    	case scanner.Char:
    		str, err := strconv.Unquote(tok.String())
    		if err != nil {
    			p.errorf("%s", err)
    		}
    		r, w := utf8.DecodeRuneInString(str)
    		if w == 1 && r == utf8.RuneError {
    			p.errorf("illegal UTF-8 encoding for character constant")
    		}
    		return uint64(r)
    	case '+':
    		return +p.factor()
    	case '-':
    		return -p.factor()
    	case '~':
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Feb 14 15:13:11 UTC 2025
    - 37.3K bytes
    - Viewed (0)
  2. src/archive/zip/reader_test.go

    				Mode:     0666,
    			},
    		},
    	},
    	{
    		Name: "utf8-7zip.zip",
    		File: []ZipTestFile{
    			{
    				Name:     "世界",
    				Content:  []byte{},
    				Mode:     0666,
    				Modified: time.Date(2017, 11, 6, 13, 9, 27, 867862500, timeZone(-8*time.Hour)),
    			},
    		},
    	},
    	{
    		Name: "utf8-infozip.zip",
    		File: []ZipTestFile{
    			{
    				Name:    "世界",
    				Content: []byte{},
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Mar 11 22:19:38 UTC 2025
    - 56.6K bytes
    - Viewed (0)
  3. src/bufio/bufio_test.go

    }
    
    func TestReadWriteRune(t *testing.T) {
    	const NRune = 1000
    	byteBuf := new(bytes.Buffer)
    	w := NewWriter(byteBuf)
    	// Write the runes out using WriteRune
    	buf := make([]byte, utf8.UTFMax)
    	for r := rune(0); r < NRune; r++ {
    		size := utf8.EncodeRune(buf, r)
    		nbytes, err := w.WriteRune(r)
    		if err != nil {
    			t.Fatalf("WriteRune(0x%x) error: %s", r, err)
    		}
    		if nbytes != size {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Feb 07 01:08:54 UTC 2025
    - 51.6K bytes
    - Viewed (0)
  4. cmd/object-api-utils.go

    import (
    	"bytes"
    	"context"
    	"encoding/hex"
    	"errors"
    	"fmt"
    	"io"
    	"math/rand"
    	"net"
    	"net/http"
    	"path"
    	"runtime"
    	"slices"
    	"strconv"
    	"strings"
    	"sync"
    	"time"
    	"unicode/utf8"
    	"unsafe"
    
    	"github.com/google/uuid"
    	"github.com/klauspost/compress/s2"
    	"github.com/klauspost/readahead"
    	"github.com/minio/minio-go/v7/pkg/s3utils"
    	"github.com/minio/minio/internal/config/compress"
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jun 25 15:08:54 UTC 2025
    - 37.3K bytes
    - Viewed (0)
  5. cmd/iam-object-store.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bytes"
    	"context"
    	"errors"
    	"fmt"
    	"maps"
    	"path"
    	"strings"
    	"sync"
    	"time"
    	"unicode/utf8"
    
    	jsoniter "github.com/json-iterator/go"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/config"
    	xioutil "github.com/minio/minio/internal/ioutil"
    	"github.com/minio/minio/internal/kms"
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  6. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

                writer: DerWriter,
                value: String,
              ) = writer.writeObjectIdentifier(value)
            },
        )
    
      val UTF8_STRING =
        BasicDerAdapter(
          name = "UTF8",
          tagClass = DerHeader.TAG_CLASS_UNIVERSAL,
          tag = 12L,
          codec =
            object : BasicDerAdapter.Codec<String> {
              override fun decode(reader: DerReader): String = reader.readUtf8String()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HpackTest.kt

      private fun checkEntry(
        entry: Header,
        name: String,
        value: String,
        size: Int,
      ) {
        assertThat(entry.name.utf8()).isEqualTo(name)
        assertThat(entry.value.utf8()).isEqualTo(value)
        assertThat(entry.hpackSize).isEqualTo(size)
      }
    
      private fun assertBytes(vararg bytes: Int) {
        val expected = intArrayToByteArray(bytes)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 38.6K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Reader.kt

          if (logger.isLoggable(FINE)) logger.fine(format("<< CONNECTION ${connectionPreface.hex()}"))
          if (CONNECTION_PREFACE != connectionPreface) {
            throw IOException("Expected a connection header but was ${connectionPreface.utf8()}")
          }
        }
      }
    
      @Throws(IOException::class)
      fun nextFrame(
        requireSettings: Boolean,
        handler: Handler,
      ): Boolean {
        try {
          source.require(9) // Frame header size.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  9. docs/debugging/xl-meta/main.go

    	"encoding/binary"
    	"encoding/hex"
    	"encoding/json"
    	"errors"
    	"fmt"
    	"io"
    	"log"
    	"os"
    	"path/filepath"
    	"regexp"
    	"slices"
    	"sort"
    	"strconv"
    	"strings"
    	"time"
    	"unicode/utf8"
    
    	"github.com/google/uuid"
    	"github.com/klauspost/compress/zip"
    	"github.com/klauspost/filepathx"
    	"github.com/klauspost/reedsolomon"
    	"github.com/minio/cli"
    	"github.com/minio/highwayhash"
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 40.3K bytes
    - Viewed (0)
  10. src/archive/tar/reader_test.go

    		// GNU and BSD tar utilities.
    		// The archive generated by GNU is nearly byte-for-byte identical
    		// to the Go version except the Go version sets a negative Devminor
    		// just to force the GNU format.
    		file: "testdata/gnu-utf8.tar",
    		headers: []*Header{{
    			Name: "☺☻☹☺☻☹☺☻☹☺☻☹☺☻☹☺☻☹☺☻☹☺☻☹☺☻☹☺☻☹☺☻☹☺☻☹☺☻☹☺☻☹☺☻☹☺☻☹☺☻☹☺☻☹",
    			Mode: 0644,
    			Uid:  1000, Gid: 1000,
    			ModTime:  time.Unix(0, 0),
    			Typeflag: '0',
    			Uname:    "☺",
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Oct 03 15:48:09 UTC 2024
    - 46.9K bytes
    - Viewed (0)
Back to top