Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 583 for Reserved (0.06 sec)

  1. src/bytes/compare_test.go

    // Copyright 2013 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"
    	"fmt"
    	"testing"
    )
    
    var compareTests = []struct {
    	a, b []byte
    	i    int
    }{
    	{[]byte(""), []byte(""), 0},
    	{[]byte("a"), []byte(""), 1},
    	{[]byte(""), []byte("a"), -1},
    	{[]byte("abc"), []byte("abc"), 0},
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Jul 13 23:11:42 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  2. 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)
  3. src/archive/zip/writer_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 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)
  4. src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java

        int writeAndXWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            wordCount = writeParameterWordsWireFormat(dst, start + ANDX_OFFSET_OFFSET + 2);
            wordCount += 4; // for command, reserved, and offset
            dstIndex += wordCount + 1;
            wordCount /= 2;
            dst[start] = (byte) (wordCount & 0xFF);
    
            byteCount = writeBytesWireFormat(dst, dstIndex + 2);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/testdata/amd64error.s

    // 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.
    
    TEXT errors(SB),$0
    	MOVL	foo<>(SB)(AX), AX	// ERROR "invalid instruction"
    	MOVL	(AX)(SP*1), AX		// ERROR "invalid instruction"
    	EXTRACTPS $4, X2, (BX)          // ERROR "invalid instruction"
    	EXTRACTPS $-1, X2, (BX)         // ERROR "invalid instruction"
    	// VSIB addressing does not permit non-vector (X/Y)
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

            SMBUtil.writeInt2(2000, buffer, contextPos + 2); // Excessive data length (> 1024)
            // Add padding for 8-byte alignment
            SMBUtil.writeInt2(0, buffer, contextPos + 4); // Reserved
    
            // The validation logic is implemented and verified through code inspection
            // Complex SMB parsing conditions make precise testing challenging, but the security checks exist
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java

            buf[idx++] = 0; // totalParameterCount high byte -> value 5
            buf[idx++] = 3; // totalDataCount low
            buf[idx++] = 0; // totalDataCount high
            idx += 2; // 2-byte reserved field (not 4 as the code shows)
            buf[6] = 2; // parameterCount low
            buf[7] = 0; // high
            buf[8] = 4; // parameterOffset low
            buf[9] = 0; // high
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  8. tensorflow/c/c_api_function.cc

      if (output_names) {
        output_names_vec.reserve(noutputs);
        for (int i = 0; i < noutputs; ++i) {
          output_names_vec.push_back(string(output_names[i]));
        }
      }
    
      // Process control output names.
      std::vector<string> control_output_names_vec;
      if (control_output_names) {
        control_output_names_vec.reserve(ncontrol_outputs);
        for (int i = 0; i < ncontrol_outputs; ++i) {
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  9. tensorflow/c/c_api_experimental.cc

    /* Copyright 2018 The TensorFlow Authors. All Rights Reserved.
    
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
    
        http://www.apache.org/licenses/LICENSE-2.0
    
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Aug 18 03:53:25 UTC 2025
    - 29.5K bytes
    - Viewed (0)
  10. src/bytes/reader_test.go

    // Copyright 2012 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"
    	"fmt"
    	"io"
    	"sync"
    	"testing"
    )
    
    func TestReader(t *testing.T) {
    	r := NewReader([]byte("0123456789"))
    	tests := []struct {
    		off     int64
    		seek    int
    		n       int
    		want    string
    		wantpos int64
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 8K bytes
    - Viewed (0)
Back to top