- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for namedBytes (0.24 sec)
-
src/reflect/benchmark_test.go
var sourceAll = struct { Bool Value String Value Bytes Value NamedBytes Value BytesArray Value SliceAny Value MapStringAny Value }{ Bool: ValueOf(new(bool)).Elem(), String: ValueOf(new(string)).Elem(), Bytes: ValueOf(new([]byte)).Elem(), NamedBytes: ValueOf(new(namedBytes)).Elem(), BytesArray: ValueOf(new([32]byte)).Elem(), SliceAny: ValueOf(new([]any)).Elem(),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Nov 19 17:09:03 UTC 2023 - 8.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FsctlPipeWaitRequest.java
dstIndex += 8; SMBUtil.writeInt4(this.nameBytes.length, dst, dstIndex); dstIndex += 4; dst[ dstIndex ] = (byte) ( this.timeoutSpecified ? 0x1 : 0x0 ); dstIndex++; dstIndex++; // Padding System.arraycopy(this.nameBytes, 0, dst, dstIndex, this.nameBytes.length); dstIndex += this.nameBytes.length; return dstIndex - start; } /**
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 2.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileRenameInformation2.java
dstIndex += 8; // 7 Reserved dstIndex += 8; // RootDirectory = 0 byte[] nameBytes = this.fileName.getBytes(StandardCharsets.UTF_16LE); SMBUtil.writeInt4(nameBytes.length, dst, dstIndex); dstIndex += 4; System.arraycopy(nameBytes, 0, dst, dstIndex, nameBytes.length); dstIndex += nameBytes.length; return dstIndex - start; } /** * {@inheritDoc}
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 8.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java
SMBUtil.writeInt2(dstIndex - getHeaderStart(), dst, nameOffsetOffset); System.arraycopy(nameBytes, 0, dst, dstIndex, nameBytes.length); if ( nameBytes.length == 0 ) { // buffer must contain at least one byte dstIndex++; } else { dstIndex += nameBytes.length; } dstIndex += pad8(dstIndex);
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sat Jun 01 09:52:11 UTC 2019 - 14.3K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/third_party/forked/golang/json/fields.go
var f *field fields := cachedTypeFields(t) for i := range fields { ff := &fields[i] if bytes.Equal(ff.nameBytes, jf) { f = ff break } // Do case-insensitive comparison. if f == nil && ff.equalFold(ff.nameBytes, jf) { f = ff } } if f != nil { // Find the reflect.Value of the most preferential struct field. tjf := t.Field(f.index[0])
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 25 16:23:43 UTC 2022 - 13.1K bytes - Viewed (0) -
src/encoding/json/encode.go
index: index, typ: ft, omitEmpty: opts.Contains("omitempty"), quoted: quoted, } field.nameBytes = []byte(field.name) // Build nameEscHTML and nameNonEsc ahead of time. nameEscBuf = appendHTMLEscape(nameEscBuf[:0], field.nameBytes) field.nameEscHTML = `"` + string(nameEscBuf) + `":` field.nameNonEsc = `"` + field.name + `":`
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:18:55 UTC 2024 - 36.2K bytes - Viewed (0) -
src/reflect/all_test.go
x := -1 s := Kind(x).String() want := "kind-1" if s != want { t.Fatalf("Kind(-1).String() = %q, want %q", s, want) } } type ( namedBool bool namedBytes []byte ) func TestValue_Cap(t *testing.T) { a := &[3]int{1, 2, 3} v := ValueOf(a) if v.Cap() != cap(a) { t.Errorf("Cap = %d want %d", v.Cap(), cap(a)) } a = nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 218.8K bytes - Viewed (0)