Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 177 for vectors (0.2 seconds)

  1. src/archive/tar/strconv_test.go

    		{math.MaxInt64, 12, true},
    		{0, 12, true},
    		{math.MinInt64, 12, true},
    	}
    
    	for _, v := range vectors {
    		ok := fitsInBase256(v.width, v.in)
    		if ok != v.ok {
    			t.Errorf("fitsInBase256(%d, %d): got %v, want %v", v.in, v.width, ok, v.ok)
    		}
    	}
    }
    
    func TestParseNumeric(t *testing.T) {
    	vectors := []struct {
    		in   string
    		want int64
    		ok   bool
    	}{
    		// Test base-256 (binary) encoded values.
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Sep 11 17:52:43 GMT 2025
    - 15K bytes
    - Click Count (0)
  2. src/archive/tar/reader_test.go

    	"hash/crc32"
    	"internal/obscuretestdata"
    	"io"
    	"maps"
    	"math"
    	"os"
    	"path"
    	"reflect"
    	"slices"
    	"strconv"
    	"strings"
    	"testing"
    	"time"
    )
    
    func TestReader(t *testing.T) {
    	vectors := []struct {
    		file     string    // Test input file
    		obscured bool      // Obscured with obscuretestdata package
    		headers  []*Header // Expected output headers
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Dec 30 15:28:53 GMT 2025
    - 47.5K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

        BaseEncoding separated = base64().withSeparator("\n", 3);
        assertThrows(UnsupportedOperationException.class, () -> separated.withSeparator("$", 4));
      }
    
      public void testBase64() {
        // The following test vectors are specified in RFC 4648 itself
        testEncodingWithSeparators(base64(), "", "");
        testEncodingWithSeparators(base64(), "f", "Zg==");
        testEncodingWithSeparators(base64(), "fo", "Zm8=");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 24.7K bytes
    - Click Count (0)
  4. src/archive/tar/tar_test.go

    		return 0, testError{fmt.Errorf("got Seek(%d, %d), want Seek(%d, %d)", pos, whence, s, io.SeekCurrent)}
    	}
    	f.pos += s
    	f.ops = f.ops[1:]
    	return f.pos, nil
    }
    
    func TestSparseEntries(t *testing.T) {
    	vectors := []struct {
    		in   []sparseEntry
    		size int64
    
    		wantValid    bool          // Result of validateSparseEntries
    		wantAligned  []sparseEntry // Result of alignSparseEntries
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jul 25 00:25:45 GMT 2024
    - 23.9K bytes
    - Click Count (0)
  5. src/archive/tar/writer_test.go

    			ops     fileOps
    			wantCnt int64
    			wantErr error
    		}
    		testClose struct { // Close() == wantErr
    			wantErr error
    		}
    		testFnc any // testHeader | testWrite | testReadFrom | testClose
    	)
    
    	vectors := []struct {
    		file     string // Optional filename of expected output
    		obscured bool   // Whether file is obscured
    		tests    []testFnc
    	}{{
    		// The writer test file was produced with this command:
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Dec 15 16:34:13 GMT 2025
    - 40.2K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

         */
        @Override
        public Settings settings() {
            return client.settings();
        }
    
        /**
         * Gets term vectors for a document asynchronously.
         *
         * @param request the term vectors request
         * @return a future for the term vectors response
         */
        @Override
        public ActionFuture<TermVectorsResponse> termVectors(final TermVectorsRequest request) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 138.6K bytes
    - Click Count (1)
  7. src/test/java/jcifs/pac/PacMacTest.java

            byte[] data = { 1, 2, 3 };
            int outlen = 5;
            byte[] expanded = PacMac.expandNFold(data, outlen);
            assertNotNull(expanded);
            assertEquals(outlen, expanded.length);
    
            // Test vectors from RFC 3961 Appendix A.1
            // 64-fold("012345")
            verifyNfold("012345", 8,
                    new byte[] { (byte) 0xbe, (byte) 0x07, (byte) 0x26, (byte) 0x31, (byte) 0x27, (byte) 0x6b, (byte) 0x19, (byte) 0x55 });
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java

            assertFalse(Arrays.equals(signingKey, signingKey311), "Should be different from SMB 3.1.1 key");
        }
    
        @Test
        @DisplayName("Should derive keys with specific test vectors")
        void testDeriveKeys_TestVectors() {
            // Given - Use known test vector (simplified for demonstration)
            byte[] testSessionKey = new byte[16];
            Arrays.fill(testSessionKey, (byte) 0xAA);
            byte[] testPreauth = new byte[64];
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  9. tensorflow/c/c_api.cc

        // Input tensors
        const std::vector<std::pair<string, Tensor>>& input_pairs,
        // Output tensors
        const std::vector<string>& output_tensor_names, TF_Tensor** c_outputs,
        // Target nodes
        const std::vector<string>& target_oper_names, TF_Buffer* run_metadata,
        TF_Status* status) {
      const int noutputs = output_tensor_names.size();
      std::vector<Tensor> outputs(noutputs);
      Status result;
    
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 04 05:55:32 GMT 2025
    - 102.4K bytes
    - Click Count (0)
  10. lib/fips140/v1.26.0.zip

    GOARCH_ppc64le DATA 路kcon+0x410(SB)/8, $0x1011121310111213 // permutation control vectors DATA 路kcon+0x418(SB)/8, $0x1011121300010203 DATA 路kcon+0x420(SB)/8, $0x1011121310111213 DATA 路kcon+0x428(SB)/8, $0x0405060700010203 DATA 路kcon+0x430(SB)/8, $0x1011121308090a0b DATA 路kcon+0x438(SB)/8, $0x0405060700010203 #else DATA 路kcon+0x410(SB)/8, $0x1011121300010203 DATA 路kcon+0x418(SB)/8, $0x1011121310111213 // permutation control vectors DATA 路kcon+0x420(SB)/8, $0x0405060700010203 DATA 路kcon+0x428(SB)/8, $0x1011121310111213...
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jan 08 17:58:32 GMT 2026
    - 660.3K bytes
    - Click Count (0)
Back to Top