Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 266 for encodedCh (1.75 sec)

  1. src/main/java/jcifs/smb1/util/Base64.java

        /**
         * Base-64 encodes the supplied block of data.  Line wrapping is not
         * applied on output.
         *
         * @param bytes The block of data that is to be Base-64 encoded.
         * @return A <code>String</code> containing the encoded data.
         */
        public static String encode(final byte[] bytes) {
            int length = bytes.length;
            if (length == 0) {
                return "";
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  2. internal/hash/checksum.go

    	}
    	return map[string]string{
    		c.Type.String():       c.Encoded,
    		xhttp.AmzChecksumType: c.Type.ObjType(),
    	}
    }
    
    // Equal returns whether two checksum structs are equal in all their fields.
    func (c *Checksum) Equal(s *Checksum) bool {
    	if c == nil || s == nil {
    		return c == s
    	}
    	return c.Type == s.Type &&
    		c.Encoded == s.Encoded &&
    		bytes.Equal(c.Raw, s.Raw) &&
    		c.WantParts == s.WantParts
    }
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 22 14:15:21 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  3. src/bytes/bytes.go

    // ContainsAny reports whether any of the UTF-8-encoded code points in chars are within b.
    func ContainsAny(b []byte, chars string) bool {
    	return IndexAny(b, chars) >= 0
    }
    
    // ContainsRune reports whether the rune is contained in the UTF-8-encoded byte slice b.
    func ContainsRune(b []byte, r rune) bool {
    	return IndexRune(b, r) >= 0
    }
    
    // ContainsFunc reports whether any of the UTF-8-encoded code points r within b satisfy f(r).
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Tue Sep 16 16:42:15 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  4. okhttp-tls/src/main/kotlin/okhttp3/tls/Certificates.kt

      }
    }
    
    /**
     * Returns the certificate encoded in [PEM format][rfc_7468].
     *
     * [rfc_7468]: https://tools.ietf.org/html/rfc7468
     */
    fun X509Certificate.certificatePem(): String =
      buildString {
        append("-----BEGIN CERTIFICATE-----\n")
        encodeBase64Lines(encoded.toByteString())
        append("-----END CERTIFICATE-----\n")
      }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

            if (values.length == 0) {
                return StringUtil.EMPTY;
            }
            return values[values.length - 1];
        }
    
        /**
         * Decodes an encoded path ID back to the original path.
         *
         * @param id the encoded path ID
         * @return the decoded path string
         */
        public static String decodePath(final String id) {
            final PathInfo pi = convertToItem(id);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Credentials.kt

      fun basic(
        username: String,
        password: String,
        charset: Charset = ISO_8859_1,
      ): String {
        val usernameAndPassword = "$username:$password"
        val encoded = usernameAndPassword.encode(charset).base64()
        return "Basic $encoded"
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  7. internal/hash/checksum_test.go

    	readParts := ReadPartCheckSums(serializedOut)
    	expectedChecksums := []string{
    		part1Checksum.Encoded,
    		part2Checksum.Encoded,
    		part3Checksum.Encoded,
    	}
    	for i, expected := range expectedChecksums {
    		if got := readParts[i][ChecksumCRC32C.String()]; got != expected {
    			t.Fatalf("want part%dChecksum.Encoded %s, got %s", i+1, expected, got)
    		}
    	}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 22 14:15:21 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfoTest.java

            original.setCapability(Smb2ChannelCapabilities.NETWORK_INTERFACE_CAP_RSS);
    
            byte[] encoded = original.encode();
            assertEquals(Smb2ChannelCapabilities.NETWORK_INTERFACE_INFO_SIZE, encoded.length);
    
            NetworkInterfaceInfo decoded = NetworkInterfaceInfo.decode(encoded, 0);
            assertNotNull(decoded);
            assertEquals(original.getAddress(), decoded.getAddress());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/io/BaseEncoding.java

      /**
       * Exception indicating invalid base-encoded input encountered while decoding.
       *
       * @author Louis Wasserman
       * @since 15.0
       */
      public static final class DecodingException extends IOException {
        DecodingException(@Nullable String message) {
          super(message);
        }
      }
    
      /** Encodes the specified byte array, and returns the encoded {@code String}. */
      public String encode(byte[] bytes) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Oct 06 14:51:47 UTC 2025
    - 41.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/spnego/NegTokenInitTest.java

                Arrays.fill(largeMic, (byte) 0xAB);
    
                NegTokenInit init = new NegTokenInit(new ASN1ObjectIdentifier[] { OID_KRB }, 0, null, largeMic);
    
                byte[] encoded = init.toByteArray();
                NegTokenInit parsed = new NegTokenInit(encoded);
    
                assertArrayEquals(largeMic, parsed.getMechanismListMIC());
            }
        }
    
        @Nested
        @DisplayName("Parameterized Tests for Multiple Scenarios")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
Back to top