Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for decodeMask64 (0.21 sec)

  1. src/cmd/internal/obj/ppc64/asm9.go

    		case ARLDCL, ARLDCLCC:
    			mb, me, valid := decodeMask64(d)
    			if me != 63 || !valid {
    				c.ctxt.Diag("invalid mask for rotate: %x (end != bit 63)\n%v", uint64(d), p)
    			}
    			o1 = AOP_MDS(c.oprrr(p.As), uint32(p.To.Reg), r, uint32(p.From.Reg), mb)
    
    		case ARLDCR, ARLDCRCC:
    			mb, me, valid := decodeMask64(d)
    			if mb != 0 || !valid {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:55:28 UTC 2024
    - 156.1K bytes
    - Viewed (0)
  2. src/crypto/rsa/pkcs1v15_test.go

    	"crypto"
    	"crypto/rand"
    	. "crypto/rsa"
    	"crypto/sha1"
    	"crypto/sha256"
    	"crypto/x509"
    	"encoding/base64"
    	"encoding/hex"
    	"encoding/pem"
    	"io"
    	"testing"
    	"testing/quick"
    )
    
    func decodeBase64(in string) []byte {
    	out := make([]byte, base64.StdEncoding.DecodedLen(len(in)))
    	n, err := base64.StdEncoding.Decode(out, []byte(in))
    	if err != nil {
    		return nil
    	}
    	return out[0:n]
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 15 00:16:30 UTC 2022
    - 8.6K bytes
    - Viewed (0)
  3. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt

    import okhttp3.tls.internal.der.ObjectIdentifiers.SHA256_WITH_RSA_ENCRYPTION
    import okhttp3.tls.internal.der.ObjectIdentifiers.SUBJECT_ALTERNATIVE_NAME
    import okio.Buffer
    import okio.ByteString
    import okio.ByteString.Companion.decodeBase64
    import okio.ByteString.Companion.decodeHex
    import okio.ByteString.Companion.encodeUtf8
    import okio.ByteString.Companion.toByteString
    import org.junit.jupiter.api.Test
    
    internal class DerCertificatesTest {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java

                final String jwtHeader = new String(Base64.decodeBase64(jwt[0]), Constants.UTF_8_CHARSET);
                final String jwtClaim = new String(Base64.decodeBase64(jwt[1]), Constants.UTF_8_CHARSET);
                final String jwtSigniture = new String(Base64.decodeBase64(jwt[2]), Constants.UTF_8_CHARSET);
    
                if (logger.isDebugEnabled()) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/CertificatePinnerKotlinTest.kt

    import assertk.assertions.isEmpty
    import assertk.assertions.isEqualTo
    import okhttp3.CertificatePinner.Companion.sha1Hash
    import okhttp3.CertificatePinner.Pin
    import okhttp3.tls.HeldCertificate
    import okio.ByteString.Companion.decodeBase64
    import org.junit.jupiter.api.Assertions.assertEquals
    import org.junit.jupiter.api.Assertions.assertFalse
    import org.junit.jupiter.api.Assertions.assertTrue
    import org.junit.jupiter.api.Test
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  6. okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt

    import java.security.spec.X509EncodedKeySpec
    import java.util.concurrent.TimeUnit
    import okhttp3.testing.PlatformRule
    import okhttp3.tls.HeldCertificate.Companion.decode
    import okio.ByteString.Companion.decodeBase64
    import org.bouncycastle.asn1.x509.GeneralName
    import org.junit.jupiter.api.Assertions.fail
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    
    class HeldCertificateTest {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/CertificatePinnerTest.kt

    import kotlin.test.assertFailsWith
    import okhttp3.CertificatePinner.Companion.pin
    import okhttp3.CertificatePinner.Companion.sha1Hash
    import okhttp3.tls.HeldCertificate
    import okio.ByteString.Companion.decodeBase64
    import org.junit.jupiter.api.Assertions
    import org.junit.jupiter.api.Assertions.assertEquals
    import org.junit.jupiter.api.Test
    
    class CertificatePinnerTest {
      @Test
      fun malformedPin() {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/CertificatePinner.kt

              this.hashAlgorithm = "sha1"
              this.hash = pin.substring("sha1/".length).decodeBase64() ?: throw IllegalArgumentException("Invalid pin hash: $pin")
            }
            pin.startsWith("sha256/") -> {
              this.hashAlgorithm = "sha256"
              this.hash = pin.substring("sha256/".length).decodeBase64() ?: throw IllegalArgumentException("Invalid pin hash: $pin")
            }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  9. samples/slack/src/main/java/okhttp3/slack/OAuthSessionFactory.java

        String code = requestUrl.queryParameter("code");
        String stateString = requestUrl.queryParameter("state");
        ByteString state = stateString != null ? ByteString.decodeBase64(stateString) : null;
    
        Listener listener;
        synchronized (this) {
          listener = listeners.get(state);
        }
    
        if (code == null || listener == null) {
          return new MockResponse()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Aug 12 07:26:27 UTC 2021
    - 3.8K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedImplementationIntegrationTest.groovy

                                if (value == null) {
                                    return false;
                                }
                                try {
                                    byte[] bytes = Base64.decodeBase64(value);
                                    reader.readFrom(new ByteArrayInputStream(bytes));
                                    return true;
                                } catch (IOException ex) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 20 12:09:58 UTC 2022
    - 6.6K bytes
    - Viewed (0)
Back to top