Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 788 for lencode (0.3 sec)

  1. src/main/java/org/codelibs/fess/helper/SearchHelper.java

                    }
                    try {
                        final String encoded = serializeParameters(parameters);
                        if (encoded.length() > fessConfig.getCookieSearchParameterMaxLengthAsInteger()) {
                            logger.warn("Encoded search parameters exceed the maximum cookie length: {} > {}. Skipping cookie storage.",
                                    encoded.length(), fessConfig.getCookieSearchParameterMaxLengthAsInteger());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 35.8K bytes
    - Viewed (0)
  2. docs/debugging/xl-meta/main.go

    			} else {
    				s += ", \"bitrot_valid\": false"
    			}
    			if value {
    				if utf8.Valid(data) {
    					// Encode as JSON string.
    					b, err := json.Marshal(string(data))
    					if err == nil {
    						s += `, "data_string": ` + string(b)
    					}
    				}
    				// Base64 encode.
    				s += `, "data_base64": "` + base64.StdEncoding.EncodeToString(data) + `"`
    			}
    			s += "}"
    		}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 40.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateRequest.java

        /**
         * Create SMB Direct Negotiate Request
         */
        public SmbDirectNegotiateRequest() {
        }
    
        /**
         * Encode to byte array
         *
         * @return encoded message
         */
        public byte[] encode() {
            byte[] data = new byte[32];
    
            int idx = 0;
            SMBUtil.writeInt2(minVersion, data, idx);
            idx += 2;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  4. src/archive/tar/common.go

    		if hasNUL(s) || (tooLong && !allowLongGNU) {
    			whyNoGNU = fmt.Sprintf("GNU cannot encode %s=%q", name, s)
    			format.mustNotBe(FormatGNU)
    		}
    		if !isASCII(s) || tooLong {
    			canSplitUSTAR := paxKey == paxPath
    			if _, _, ok := splitUSTARPath(s); !canSplitUSTAR || !ok {
    				whyNoUSTAR = fmt.Sprintf("USTAR cannot encode %s=%q", name, s)
    				format.mustNotBe(FormatUSTAR)
    			}
    			if paxKey == paxNone {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Sep 13 21:03:27 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/ntlmssp/av/AvTargetNameTest.java

            assertArrayEquals(rawBytes, avTargetName.getRaw(), "Raw bytes should match the input");
        }
    
        /**
         * Test constructor with a target name string.
         * Verifies that the string is correctly encoded to UTF-16LE bytes and stored.
         */
        @Test
        void testConstructorWithString() {
            String targetName = "AnotherTargetName";
            AvTargetName avTargetName = new AvTargetName(targetName);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  6. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackDecodeTestBase.kt

      private val bytesIn = Buffer()
      private val hpackReader = Hpack.Reader(bytesIn, 4096)
    
      protected fun testDecoder(story: Story) {
        for (testCase in story.cases) {
          val encoded = testCase.wire ?: continue
          bytesIn.write(encoded)
          hpackReader.readHeaders()
          assertSetEquals(
            "seqno=$testCase.seqno",
            testCase.headersList,
            hpackReader.getAndResetHeaderList(),
          )
        }
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt

          @Throws(IOException::class)
          fun writeByteString(data: ByteString) {
            if (useCompression && Huffman.encodedLength(data) < data.size) {
              val huffmanBuffer = Buffer()
              Huffman.encode(data, huffmanBuffer)
              val huffmanBytes = huffmanBuffer.readByteString()
              writeInt(huffmanBytes.size, PREFIX_7_BITS, 0x80)
              out.write(huffmanBytes)
            } else {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  8. cmd/api-datatypes.go

    }
    
    // DeleteMarkerMTime is an embedded type containing time.Time for XML marshal
    type DeleteMarkerMTime struct {
    	time.Time
    }
    
    // MarshalXML encodes expiration date if it is non-zero and encodes
    // empty string otherwise
    func (t DeleteMarkerMTime) MarshalXML(e *xml.Encoder, startElement xml.StartElement) error {
    	if t.IsZero() {
    		return nil
    	}
    	return e.EncodeElement(t.Format(time.RFC3339), startElement)
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/Smb2TransformHeader.java

            return dstIndex - start;
        }
    
        /**
         * Decode a transform header from byte array
         *
         * @param buffer
         *            buffer to decode from
         * @param bufferIndex
         *            offset in buffer
         * @return new transform header instance
         */
        public static Smb2TransformHeader decode(final byte[] buffer, int bufferIndex) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  10. cmd/erasure-multipart.go

    		}
    	}
    
    	if opts.WantChecksum != nil {
    		if checksumType.FullObjectRequested() {
    			if opts.WantChecksum.Encoded != checksum.Encoded {
    				err := hash.ChecksumMismatch{
    					Want: opts.WantChecksum.Encoded,
    					Got:  checksum.Encoded,
    				}
    				return oi, err
    			}
    		} else {
    			err := opts.WantChecksum.Matches(checksumCombined, len(parts))
    			if err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 47.3K bytes
    - Viewed (0)
Back to top