Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 589 for Decoder (0.12 sec)

  1. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

      }
    
      @Test fun `cannot decode malformed utc time`() {
        val bytes = "170d3139313231362333303231305a".decodeHex()
        assertFailsWith<ProtocolException> {
          Adapters.UTC_TIME.fromDer(bytes)
        }.also { expected ->
          assertThat(expected).hasMessage("Failed to parse UTCTime 191216#30210Z")
        }
      }
    
      @Test fun `cannot decode generalized time with offset`() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  2. okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt

          |-----END PRIVATE KEY-----
          |
          """.trimMargin()
        try {
          decode(certificatePem)
          fail<Any>()
        } catch (expected: IllegalArgumentException) {
          assertThat(expected.message).isEqualTo("string does not include a private key")
        }
        try {
          decode(pkcs8Pem)
          fail<Any>()
        } catch (expected: IllegalArgumentException) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/dcerpc/msrpc/samr.java

                    _dst.enc_ndr_string(system_name);
    
                }
                _dst.enc_ndr_long(access_mask);
            }
            public void decode_out(NdrBuffer _src) throws NdrException {
                handle.decode(_src);
                retval = (int)_src.dec_ndr_long();
            }
        }
        public static class SamrConnect4 extends DcerpcMessage {
    
            public int getOpnum() { return 0x3e; }
    
            public int retval;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 14K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

          }
        }
      }
    
      /**
       * Report and attempt to recover from a failure to communicate with a server. Returns true if
       * `e` is recoverable, or false if the failure is permanent. Requests with a body can only
       * be recovered if the body is buffered or if the failure occurred before the request has been
       * sent.
       */
      private fun recover(
        e: IOException,
        call: RealCall,
        userRequest: Request,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:24:48 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/msrpc/samr.java

                }
                _dst.enc_ndr_long(this.access_mask);
            }
    
    
            @Override
            public void decode_out ( NdrBuffer _src ) throws NdrException {
                this.handle.decode(_src);
                this.retval = _src.dec_ndr_long();
            }
        }
    
        public static class SamrConnect4 extends DcerpcMessage {
    
            @Override
            public int getOpnum () {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:40:13 UTC 2019
    - 15.1K bytes
    - Viewed (0)
  6. internal/crypto/metadata_test.go

    		}
    		if !bytes.Equal(sealedKey.Key[:], test.SealedKey.Key[:]) {
    			t.Errorf("Test %d: sealed key mismatch: got '%v' - want '%v'", i, sealedKey.Key, test.SealedKey.Key)
    		}
    	}
    
    	defer func() {
    		if err := recover(); err == nil || err != logger.ErrCritical {
    			t.Errorf("Expected '%s' panic for invalid seal algorithm but got '%s'", logger.ErrCritical, err)
    		}
    	}()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  7. logger/logger.go

    		SlowThreshold:             200 * time.Millisecond,
    		LogLevel:                  Warn,
    		IgnoreRecordNotFoundError: false,
    		Colorful:                  true,
    	})
    	// Recorder logger records running SQL into a recorder instance
    	Recorder = traceRecorder{Interface: Default, BeginAt: time.Now()}
    )
    
    // New initialize logger
    func New(writer Writer, config Config) Interface {
    	var (
    		infoStr      = "%s\n[info] "
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Nov 07 02:19:41 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  8. helm/minio/templates/NOTES.txt

      3. mc ls {{ template "minio.fullname" . }}-local
    
    {{- end }}
    {{- if eq .Values.service.type "LoadBalancer" }}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 15:48:31 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java

        /**
         * Convert the input string to a code point. Accepts regular decimal numerals, hex strings, and
         * some symbolic names meaningful to humans.
         */
        private static int decode(String userFriendly) {
          try {
            return Integer.decode(userFriendly);
          } catch (NumberFormatException ignored) {
            if (userFriendly.matches("(?i)(?:American|English|ASCII)")) {
              // 1-byte UTF-8 sequences - "American" ASCII text
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  10. guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java

        /**
         * Convert the input string to a code point. Accepts regular decimal numerals, hex strings, and
         * some symbolic names meaningful to humans.
         */
        private static int decode(String userFriendly) {
          try {
            return Integer.decode(userFriendly);
          } catch (NumberFormatException ignored) {
            if (userFriendly.matches("(?i)(?:American|English|ASCII)")) {
              // 1-byte UTF-8 sequences - "American" ASCII text
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top