Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for sbig2 (0.04 sec)

  1. src/embed/internal/embedtest/embedx_test.go

    	big, err := os.ReadFile("testdata/ascii.txt")
    	if err != nil {
    		t.Fatal(err)
    	}
    	testString(t, sbig, "sbig", string(big))
    	testString(t, sbig2, "sbig2", string(big))
    	testString(t, string(bbig), "bbig", string(big))
    	testString(t, string(bbig2), "bbig", string(big))
    
    	if t.Failed() {
    		return
    	}
    
    	// Could check &glass[0] == &glass2[0] but also want to make sure write does not fault
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 15 20:37:17 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  2. test/codegen/memops_bigoffset.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package codegen
    
    type big1 struct {
    	w [1<<30 - 1]uint32
    }
    type big2 struct {
    	d [1<<29 - 1]uint64
    }
    
    func loadLargeOffset(sw *big1, sd *big2) (uint32, uint64) {
    
    	// ppc64x:`MOVWZ\s+[0-9]+\(R[0-9]+\)`,-`ADD`
    	a3 := sw.w[1<<10]
    	// ppc64le/power10:`MOVWZ\s+[0-9]+\(R[0-9]+\),\sR[0-9]+`,-`ADD`
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 15 18:20:54 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  3. src/crypto/ed25519/ed25519_test.go

    		}
    
    		var priv [PrivateKeySize]byte
    		copy(priv[:], privBytes)
    		copy(priv[32:], pubKey)
    
    		sig2 := Sign(priv[:], msg)
    		if !bytes.Equal(sig, sig2[:]) {
    			t.Errorf("different signature result on line %d: %x vs %x", lineNo, sig, sig2)
    		}
    
    		if !Verify(pubKey, msg, sig2) {
    			t.Errorf("signature failed to verify on line %d", lineNo)
    		}
    
    		priv2 := NewKeyFromSeed(priv[:32])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  4. fess-crawler/pom.xml

    					<artifactId>activation</artifactId>
    				</exclusion>
    			</exclusions>
    		</dependency>
    		<dependency>
    			<groupId>org.apache.pdfbox</groupId>
    			<artifactId>jbig2-imageio</artifactId>
    			<version>${jbig2.imageio.version}</version>
    		</dependency>
    		<dependency>
    			<groupId>com.github.jai-imageio</groupId>
    			<artifactId>jai-imageio-core</artifactId>
    			<version>${jai.imageio.version}</version>
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu May 30 06:32:24 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  5. cmd/signature-v2.go

    }
    
    // compareSignatureV2 returns true if and only if both signatures
    // are equal. The signatures are expected to be base64 encoded strings
    // according to the AWS S3 signature V2 spec.
    func compareSignatureV2(sig1, sig2 string) bool {
    	// Decode signature string to binary byte-sequence representation is required
    	// as Base64 encoding of a value is not unique:
    	// For example "aGVsbG8=" and "aGVsbG8=\r" will result in the same byte slice.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  6. cmd/signature-v4.go

    // according to the AWS S3 signature V4 spec.
    func compareSignatureV4(sig1, sig2 string) bool {
    	// The CTC using []byte(str) works because the hex encoding
    	// is unique for a sequence of bytes. See also compareSignatureV2.
    	return subtle.ConstantTimeCompare([]byte(sig1), []byte(sig2)) == 1
    }
    
    // doesPolicySignatureMatch - Verify query headers with post policy
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 16 23:13:47 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/testcarchive/carchive_test.go

    		t.Errorf("error.Sys (%v) has type %T; expected syscall.WaitStatus", ee.Sys(), ee.Sys())
    	} else if !ws.Signaled() || (ws.Signal() != sig1 && ws.Signal() != sig2) {
    		if sig2 == 0 {
    			t.Errorf("got %q; expected signal %q", ee, sig1)
    		} else {
    			t.Errorf("got %q; expected signal %q or %q", ee, sig1, sig2)
    		}
    	} else {
    		return true
    	}
    	return false
    }
    
    func TestOsSignal(t *testing.T) {
    	switch GOOS {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:43:51 UTC 2023
    - 34.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test.py

        def data_gen_sig2() -> repr_dataset.RepresentativeDataset:
          """Generates tuple-style samples for signature 'sig2'.
    
          The first element of the tuple identifies the signature key the input data
          is for.
    
          Yields:
            Representative sample for 'sig2'.
          """
          for _ in range(4):
            yield {'conv_input': random_ops.random_uniform(shape=(1, 3, 4, 3))}
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 235.6K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/api_test.go

    	sig2 := NewSignatureType(nil, nil, nil, NewTuple(NewParam(nopos, nil, "", Typ[String])), nil, false)
    
    	methods := []*Func{
    		NewFunc(nopos, nil, "M", sig1),
    		NewFunc(nopos, nil, "M", sig2),
    	}
    
    	embeddedMethods := []*Func{
    		NewFunc(nopos, nil, "M", sig2),
    	}
    	embedded := NewInterfaceType(embeddedMethods, nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  10. src/go/types/api_test.go

    	sig2 := NewSignatureType(nil, nil, nil, NewTuple(NewParam(nopos, nil, "", Typ[String])), nil, false)
    
    	methods := []*Func{
    		NewFunc(nopos, nil, "M", sig1),
    		NewFunc(nopos, nil, "M", sig2),
    	}
    
    	embeddedMethods := []*Func{
    		NewFunc(nopos, nil, "M", sig2),
    	}
    	embedded := NewInterfaceType(embeddedMethods, nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
Back to top