Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 826 for encode (0.88 sec)

  1. src/test/java/jcifs/dcerpc/DcerpcMessageTest.java

                        .thenReturn(0); // cancel count
    
                message.decode(mockBuffer);
    
                assertEquals(DcerpcConstants.RPC_PT_RESPONSE, message.ptype);
                assertEquals(100, message.alloc_hint);
            }
    
            @Test
            @DisplayName("decode should handle FAULT ptype correctly")
            void testDecodeFaultPtype() throws NdrException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/util/DocumentUtil.java

            return null;
        }
    
        /**
         * Encodes a URL by encoding non-URL-safe characters.
         * Uses the request's character encoding if available, otherwise defaults to UTF-8.
         * Only encodes characters that are not considered URL-safe according to CharUtil.
         *
         * @param url the URL to encode
         * @return the encoded URL with non-URL-safe characters properly encoded
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java

            // Note: No IPv4 preference bonus to keep base score equal to link speed
    
            return score;
        }
    
        /**
         * Encode this interface info for FSCTL_QUERY_NETWORK_INTERFACE_INFO response
         *
         * @return encoded bytes
         */
        public byte[] encode() {
            // NETWORK_INTERFACE_INFO structure per MS-SMB2 2.2.32.5.1
            // Total size: 152 bytes
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/dcerpc/DcerpcHandle.java

                this.securityProvider.unwrap(fbuf);
            }
        }
    
        /**
         * Encode a DCE/RPC message for transmission
         *
         * @param msg
         *            the message to encode
         * @param out
         *            the output buffer for the encoded message
         * @return the NdrBuffer containing the encoded message
         * @throws NdrException
         *            if there is an error encoding the message
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  5. 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)
  6. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/Story.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.http2.hpackjson
    
    /**
     * Representation of one story, a set of request headers to encode or decode. This class is used
     * reflectively with Moshi to parse stories from files.
     */
    data class Story(
      val description: String? = null,
      val cases: List<Case>,
      val fileName: String? = null,
    ) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralTest.java

            assertEquals(SmbComTransaction.TRANS2_GET_DFS_REFERRAL, dst[5]);
            assertEquals((byte) 0x00, dst[6]);
        }
    
        @Test
        @DisplayName("writeParametersWireFormat should encode request buffer")
        void testWriteParametersWireFormat() throws Exception {
            // Given
            String filename = "\\\\server\\share";
            trans2GetDfsReferral = new Trans2GetDfsReferral(mockConfig, filename);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11K bytes
    - Viewed (0)
  8. cmd/listen-notification-handlers.go

    		tmpEvt := struct{ Records []event.Event }{[]event.Event{{}}}
    		for {
    			select {
    			case ev := <-localCh:
    				buf.Reset()
    				tmpEvt.Records[0] = ev
    				if err := enc.Encode(tmpEvt); err != nil {
    					bugLogIf(ctx, err, "event: Encode failed")
    					continue
    				}
    				mergeCh <- append(grid.GetByteBuffer()[:0], buf.Bytes()...)
    			case <-ctx.Done():
    				grid.PutByteBuffer(buf.Bytes())
    				return
    			}
    		}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

                testBlock = new TestServerMessageBlock(mockConfig);
            }
    
            @Test
            @DisplayName("Test encode without signature")
            void testEncodeWithoutSignature() {
                byte[] buffer = new byte[1024];
    
                int length = testBlock.encode(buffer, 0);
    
                assertTrue(length > 0);
                assertEquals(length, testBlock.getLength());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

        }
    
        /**
         * Encodes an object name to a URL-safe base64 string.
         *
         * @param objectName the object name to encode
         * @return base64 encoded string
         */
        protected static String encodeId(final String objectName) {
            if (objectName == null) {
                return StringUtil.EMPTY;
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.1K bytes
    - Viewed (0)
Back to top