Search Options

Results per page
Sort
Preferred Languages
Advance

Results 861 - 870 of 1,385 for 1byte (0.02 sec)

  1. src/test/java/jcifs/internal/NotifyResponseTest.java

            }
    
            @Override
            public void setRawPayload(byte[] rawPayload) {
                this.rawPayload = rawPayload;
            }
    
            @Override
            public boolean verifySignature(byte[] buffer, int i, int size) {
                // Mock implementation
                return true;
            }
    
            @Override
            public byte[] getRawPayload() {
                return this.rawPayload;
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  2. samples/slack/src/main/java/okhttp3/slack/OAuthSessionFactory.java

        synchronized (this) {
          listeners.put(state, listener);
        }
    
        return slackApi.authorizeUrl(scopes, redirectUrl(), state, team);
      }
    
      private ByteString randomToken() {
        byte[] bytes = new byte[16];
        secureRandom.nextBytes(bytes);
        return ByteString.of(bytes);
      }
    
      private HttpUrl redirectUrl() {
        return mockWebServer.url("/oauth/");
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 12 07:26:27 UTC 2021
    - 3.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/witness/WitnessAsyncNotifyMessage.java

        // Input parameters for WitnessAsyncNotify
        private byte[] contextHandle;
    
        // Output parameters for WitnessAsyncNotify
        private List<WitnessNotificationResponse> notifications;
    
        /**
         * Creates a new WitnessAsyncNotify RPC message.
         */
        public WitnessAsyncNotifyMessage() {
            super(WITNESS_ASYNC_NOTIFY);
            this.contextHandle = new byte[20];
            this.notifications = new ArrayList<>();
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  4. docs/debugging/s3-check-md5/main.go

    	debug                          bool
    	versions                       bool
    	insecure                       bool
    )
    
    // getMD5Sum returns MD5 sum of given data.
    func getMD5Sum(data []byte) []byte {
    	hash := md5.New()
    	hash.Write(data)
    	return hash.Sum(nil)
    }
    
    func main() {
    	flag.StringVar(&endpoint, "endpoint", "https://play.min.io", "S3 endpoint URL")
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Feb 17 01:15:57 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/dcerpc/ndr/NdrSmall.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.dcerpc.ndr;
    
    /**
     * Represents an NDR small integer (1 byte unsigned) for DCE/RPC communication.
     * This class encapsulates a single byte value (0-255) in NDR format.
     */
    public class NdrSmall extends NdrObject {
    
        /**
         * The small integer value (0-255)
         */
        public int value;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/util/InputValidatorTest.java

        }
    
        @Test
        @DisplayName("Test array bounds validation")
        void testArrayBounds() {
            byte[] src = new byte[100];
            byte[] dst = new byte[100];
    
            assertDoesNotThrow(() -> InputValidator.validateArrayBounds(src, 0, dst, 0, 100));
            assertDoesNotThrow(() -> InputValidator.validateArrayBounds(src, 50, dst, 50, 50));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  7. 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;
            SMBUtil.writeInt2(maxVersion, data, idx);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  8. cmd/jwt_test.go

    		b.Fatal(err)
    	}
    
    	b.ResetTimer()
    	b.ReportAllocs()
    	b.RunParallel(func(pb *testing.PB) {
    		for pb.Next() {
    			err = xjwt.ParseWithClaims(token, xjwt.NewMapClaims(), func(*xjwt.MapClaims) ([]byte, error) {
    				return []byte(creds.SecretKey), nil
    			})
    			if err != nil {
    				b.Fatal(err)
    			}
    		}
    	})
    }
    
    func BenchmarkAuthenticateNode(b *testing.B) {
    	ctx, cancel := context.WithCancel(b.Context())
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SID.java

                }
            }
        }
    
        /**
         * Converts an RPC sid_t structure to a byte array.
         *
         * @param sid the RPC sid_t structure to convert
         * @return byte array representation of the SID
         */
        public static byte[] toByteArray(final rpc.sid_t sid) {
            final byte[] dst = new byte[1 + 1 + 6 + sid.sub_authority_count * 4];
            int di = 0;
            dst[di] = sid.revision;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java

            void shouldReturnCorrectBytesConsumed() throws SMBProtocolDecodingException {
                // Given - larger buffer than needed
                byte[] buffer = new byte[100];
                ByteBuffer bb = ByteBuffer.wrap(buffer).order(ByteOrder.LITTLE_ENDIAN);
                bb.putLong(1000L);
                bb.putLong(500L);
                bb.putInt(8);
                bb.putInt(512);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.9K bytes
    - Viewed (0)
Back to top