Search Options

Results per page
Sort
Preferred Languages
Advance

Results 431 - 440 of 655 for encodings (0.06 sec)

  1. src/main/java/jcifs/internal/smb2/Smb3KeyDerivation.java

            // + 1 byte 0x00
            // + context
            System.arraycopy(context, 0, suffix, label.length + 1, context.length);
            // + 4 byte (== r bits) big endian encoding of L
            suffix[suffix.length - 1] = (byte) 128;
    
            final DerivationParameters param = new KDFCounterParameters(sessionKey, null /* prefix */, suffix /* suffix */, r /* r */);
            gen.init(param);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/misc/Base64Util.java

     */
    package org.codelibs.core.misc;
    
    import org.codelibs.core.collection.ArrayUtil;
    import org.codelibs.core.lang.StringUtil;
    
    /**
     * Utility class for handling Base64 encoding and decoding.
     *
     * @author higa
     */
    public abstract class Base64Util {
    
        /**
         * Do not instantiate.
         */
        protected Base64Util() {
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java

            assertEquals((byte) 0x00, next.maxSetupCount, "Max setup count must be 0");
    
            // Information level defaults to BOTH_DIRECTORY_INFO (0x104) — check via parameters encoding
            byte[] buf = new byte[2 + 2 + 2 + 4 + 2 + filename.length() + 1];
            int n = next.writeParametersWireFormat(buf, 0);
            assertEquals(buf.length, n, "Parameter bytes written should match expected length");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/security/http-basic-auth.md

    To handle that, we first convert the `username` and `password` to `bytes` encoding them with UTF-8.
    
    Then we can use `secrets.compare_digest()` to ensure that `credentials.username` is `"stanleyjobson"`, and that `credentials.password` is `"swordfish"`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 5K bytes
    - Viewed (0)
  5. cmd/http-tracer.go

    		reqHeaders := r.Header.Clone()
    		reqHeaders.Set("Host", r.Host)
    		if len(r.TransferEncoding) == 0 {
    			reqHeaders.Set("Content-Length", strconv.Itoa(int(r.ContentLength)))
    		} else {
    			reqHeaders.Set("Transfer-Encoding", strings.Join(r.TransferEncoding, ","))
    		}
    		inputBytes := reqRecorder.Size()
    		for k, v := range reqHeaders {
    			inputBytes += len(k) + len(v)
    		}
    
    		// Calculate node name
    		nodeName := r.Host
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. cmd/erasure-metadata-utils_test.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    	"encoding/hex"
    	"fmt"
    	"math/rand"
    	"reflect"
    	"testing"
    )
    
    // Tests caclculating disk count.
    func TestDiskCount(t *testing.T) {
    	testCases := []struct {
    		disks     []StorageAPI
    		diskCount int
    	}{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  7. dbflute_fess/dfprop/outsideSqlMap.dfprop

        #
        #; isRequiredSqlDescription = true
        # - - - - - - - - - -/
    
        # /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        # o sqlFileEncoding: (NotRequired - Default 'UTF-8')
        #  The encoding of SQL file for outsideSql.
        #  Basically you don't need this.
        #
        #; sqlFileEncoding = UTF-8
        # - - - - - - - - - -/
    
        # /- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 25 06:04:16 UTC 2015
    - 8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/ntlmssp/Type2MessageTest.java

                // When & Then
                assertThrows(ArrayIndexOutOfBoundsException.class, () -> new Type2Message(truncatedMessage));
            }
    
            @Test
            @DisplayName("parse should handle OEM encoding")
            void testParse_OEMEncoding() throws IOException {
                // Given
                CIFSContext mockContext = mock(CIFSContext.class);
                Configuration mockConfig = mock(Configuration.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/ViewHelper.java

         */
        public void setEncodeUrlLink(final boolean encodeUrlLink) {
            this.encodeUrlLink = encodeUrlLink;
        }
    
        /**
         * Sets the character encoding for URL links.
         *
         * @param urlLinkEncoding the character encoding to use
         */
        public void setUrlLinkEncoding(final String urlLinkEncoding) {
            this.urlLinkEncoding = urlLinkEncoding;
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 52.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/ntlmssp/NtlmMessageTest.java

        }
    
        @Test
        void testGetOEMEncoding() {
            // Test getOEMEncoding
            assertEquals("Cp850", NtlmMessage.getOEMEncoding(), "Should return the correct OEM encoding.");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
Back to top