Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 1,022 for encode (0.19 sec)

  1. docs/smb3-features/04-directory-leasing-design.md

            this.cacheScope = scope;
            this.maxCacheAge = 30000;  // 30 seconds default
            this.notificationEnabled = true;
        }
        
        @Override
        public void encode(byte[] buffer, int offset) {
            super.encode(buffer, offset);
            
            // Add directory-specific data after standard lease context
            int dataOffset = offset + getStandardLeaseSize();
            
            // CacheScope (4 bytes)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2ExchangeCodec.kt

    import okhttp3.internal.http2.Header.Companion.TARGET_SCHEME_UTF8
    import okhttp3.internal.immutableListOf
    import okio.Sink
    import okio.Socket
    import okio.Source
    
    /** Encode requests and responses using HTTP/2 frames. */
    class Http2ExchangeCodec(
      client: OkHttpClient,
      override val carrier: Carrier,
      private val chain: RealInterceptorChain,
      private val http2Connection: Http2Connection,
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Jul 29 21:11:09 UTC 2025
    - 7K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/EnrichedReportRenderer.groovy

        }
    
        /**
         * This is super-hacky: this report is instantiated via {@code newInstance()}, within a different
         * classloader by {@link JApiCmpWorkerAction}, so there is no way to use a
         * normal property on the renderer instance and just set the location of the API file in it.
         *
         * Instead, we'll encode the path to the file in the description data field, as a link.  This is
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Feb 07 20:38:43 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java

            byte[] buffer = new byte[1024];
            int length = smb.encode(buffer, 0);
    
            // Create a new SMB to decode into
            TestServerMessageBlock decodedSmb = new TestServerMessageBlock();
            decodedSmb.setParamWords(new byte[params.length]);
            decodedSmb.setBytes(new byte[bytes.length]);
            decodedSmb.decode(buffer, 0);
    
            assertEquals(smb.command, decodedSmb.command);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HostnamesCommon.kt

      return true
    }
    
    /** Encodes an IPv4 address in canonical form according to RFC 4001. */
    internal fun inet4AddressToAscii(address: ByteArray): String {
      require(address.size == 4)
      return Buffer()
        .writeDecimalLong((address[0] and 0xff).toLong())
        .writeByte('.'.code)
        .writeDecimalLong((address[1] and 0xff).toLong())
        .writeByte('.'.code)
        .writeDecimalLong((address[2] and 0xff).toLong())
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java

            byte[] buffer = new byte[context.size()];
            int encoded = context.encode(buffer, 0);
            assertEquals(context.size(), encoded);
    
            DirectoryLeaseContext decodedContext = new DirectoryLeaseContext(new Smb2LeaseKey(), 0, DirectoryCacheScope.IMMEDIATE_CHILDREN);
    
            decodedContext.decode(buffer, 0, buffer.length);
    
            // Verify roundtrip integrity
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java

                    return new DEROctetString(new byte[0]) {
                        @Override
                        public byte[] getEncoded() throws IOException {
                            throw new IOException("encode failure");
                        }
                    };
                }
            };
    
            DERTaggedObject appTag = new DERTaggedObject(false, BERTags.APPLICATION, 3, badBase);
            v.add(appTag);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

            if (rem == 0) {
                return 0;
            }
            return 8 - rem;
        }
    
        @Override
        public int decode(final byte[] buffer, final int bufferIndex) throws SMBProtocolDecodingException {
            return decode(buffer, bufferIndex, false);
        }
    
        /**
         * Decodes the SMB2 message from the buffer.
         *
         * @param buffer the buffer containing the message
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/RequestWithPathTest.java

            }
    
            // CommonServerMessageBlock interface methods (stubbed for testing)
            @Override
            public int decode(byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException {
                return 0;
            }
    
            @Override
            public int encode(byte[] dst, int dstIndex) {
                return 0;
            }
    
            @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/sso/SsoAction.java

                for (final RequestParameter param : searchParameters) {
                    for (final String value : param.getValues()) {
                        paramList.add(param.getName());
                        paramList.add(URLEncoder.encode(value, Constants.CHARSET_UTF_8));
                    }
                }
                if (logger.isDebugEnabled()) {
                    logger.debug("Redirecting to SearchAction with parameters: {}", paramList);
                }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.5K bytes
    - Viewed (0)
Back to top