- Sort Score
- Result 10 results
- Languages All
Results 671 - 680 of 1,667 for byte2 (0.02 sec)
-
cmd/xl-storage-format-v2-legacy.go
package cmd import ( "fmt" "time" "github.com/tinylib/msgp/msgp" ) // unmarshalV unmarshals with a specific header version. func (x *xlMetaV2VersionHeader) unmarshalV(v uint8, bts []byte) (o []byte, err error) { switch v { case 1: return x.unmarshalV1(bts) case 2: x2 := xlMetaV2VersionHeaderV2{xlMetaV2VersionHeader: x} return x2.UnmarshalMsg(bts) case xlHeaderVersion:
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 19 16:43:43 UTC 2024 - 5.7K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/av/AvPairs.java
* @return encoded avpairs */ public static byte[] encode ( List<AvPair> pairs ) { int size = 0; for ( AvPair p : pairs ) { size += 4 + p.getRaw().length; } size += 4; byte[] enc = new byte[size]; int pos = 0; for ( AvPair p : pairs ) { byte[] raw = p.getRaw(); SMBUtil.writeInt2(p.getType(), enc, pos);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 4.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComNtTransaction.java
} int writeParameterWordsWireFormat( byte[] dst, int dstIndex ) { int start = dstIndex; if (command != SMB_COM_NT_TRANSACT_SECONDARY) { dst[dstIndex++] = maxSetupCount; } else { dst[dstIndex++] = (byte)0x00; // Reserved } dst[dstIndex++] = (byte)0x00; // Reserved dst[dstIndex++] = (byte)0x00; // Reserved
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponse.java
} @Override protected int writeSetupWireFormat ( byte[] dst, int dstIndex ) { return 0; } @Override protected int writeParametersWireFormat ( byte[] dst, int dstIndex ) { return 0; } @Override protected int writeDataWireFormat ( byte[] dst, int dstIndex ) { return 0; } @Override
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 2.7K bytes - Viewed (0) -
istioctl/pkg/writer/compare/cluster.go
// limitations under the License. package compare import ( "bytes" "fmt" "github.com/pmezard/go-difflib/difflib" "istio.io/istio/pkg/util/protomarshal" ) // ClusterDiff prints a diff between Istiod and Envoy clusters to the passed writer func (c *Comparator) ClusterDiff() error { envoyBytes, istiodBytes := &bytes.Buffer{}, &bytes.Buffer{} envoyClusterDump, err := c.envoy.GetDynamicClusterDump(true)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Mar 12 10:02:09 UTC 2024 - 1.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbRandomAccessFile.java
@Override public void write ( int b ) throws SmbException { this.tmp[ 0 ] = (byte) b; write(this.tmp, 0, 1); } @Override public void write ( byte b[] ) throws SmbException { write(b, 0, b.length); } @Override public void write ( byte b[], int off, int len ) throws SmbException { if ( len <= 0 ) { return; }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Wed Jan 08 12:01:33 UTC 2020 - 18.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CountingInputStreamTest.java
// Test reading a single byte while we're in the right state assertEquals(-1, counter.read()); assertEquals(20, counter.getCount()); } public void testReadArrayEOF() throws IOException { assertEquals(20, counter.read(new byte[30])); assertEquals(20, counter.getCount()); assertEquals(-1, counter.read(new byte[30])); assertEquals(20, counter.getCount()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 3.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2FindNext2.java
this.flags2 = 0; } @Override protected int writeSetupWireFormat ( byte[] dst, int dstIndex ) { dst[ dstIndex++ ] = getSubCommand(); dst[ dstIndex++ ] = (byte) 0x00; return 2; } @Override protected int writeParametersWireFormat ( byte[] dst, int dstIndex ) { int start = dstIndex; SMBUtil.writeInt2(this.sid, dst, dstIndex);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3.8K bytes - Viewed (0) -
src/main/java/jcifs/spnego/NegTokenInit.java
public NegTokenInit ( ASN1ObjectIdentifier[] mechanisms, int contextFlags, byte[] mechanismToken, byte[] mechanismListMIC ) { setMechanisms(mechanisms); setContextFlags(contextFlags); setMechanismToken(mechanismToken); setMechanismListMIC(mechanismListMIC); } public NegTokenInit ( byte[] token ) throws IOException { parse(token); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Oct 01 12:01:17 UTC 2023 - 7.9K bytes - Viewed (0) -
internal/jwt/parser_test.go
var ( defaultKeyFunc = func(claim *MapClaims) ([]byte, error) { return []byte("HelloSecret"), nil } emptyKeyFunc = func(claim *MapClaims) ([]byte, error) { return nil, nil } errorKeyFunc = func(claim *MapClaims) ([]byte, error) { return nil, fmt.Errorf("error loading key") } ) var jwtTestData = []struct { name string tokenString string keyfunc func(*MapClaims) ([]byte, error) claims jwt.Claims valid bool
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Nov 05 19:20:08 UTC 2021 - 6K bytes - Viewed (0)