Search Options

Results per page
Sort
Preferred Languages
Advance

Results 711 - 720 of 1,129 for dsbyte (0.03 sec)

  1. src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakNotification.java

            return shareAccessHint;
        }
    
        @Override
        protected int writeBytesWireFormat(byte[] dst, int dstIndex) {
            // Lease break notifications are sent by the server, not written by client
            return 0;
        }
    
        @Override
        protected int readBytesWireFormat(byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException {
            int start = bufferIndex;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/multichannel/ChannelInfo.java

        /**
         * Get channel binding hash
         *
         * @return binding hash bytes
         */
        public byte[] getBindingHash() {
            return bindingHash;
        }
    
        /**
         * Set channel binding hash
         *
         * @param bindingHash binding hash bytes
         */
        public void setBindingHash(byte[] bindingHash) {
            this.bindingHash = bindingHash;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/CredentialsInternalTest.java

            }
    
            @Override
            public SSPContext createContext(CIFSContext tc, String targetDomain, String host, byte[] initialToken, boolean doSigning)
                    throws SmbException {
                // Validate required argument and interact with the provided CIFSContext
                if (tc == null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  4. cmd/batch-handlers_gen_test.go

    	v := BatchJobPrefix{}
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		v.MarshalMsg(nil)
    	}
    }
    
    func BenchmarkAppendMsgBatchJobPrefix(b *testing.B) {
    	v := BatchJobPrefix{}
    	bts := make([]byte, 0, v.Msgsize())
    	bts, _ = v.MarshalMsg(bts[0:0])
    	b.SetBytes(int64(len(bts)))
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		bts, _ = v.MarshalMsg(bts[0:0])
    	}
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. cmd/local-locker_gen_test.go

    	v := localLockMap{}
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		v.MarshalMsg(nil)
    	}
    }
    
    func BenchmarkAppendMsglocalLockMap(b *testing.B) {
    	v := localLockMap{}
    	bts := make([]byte, 0, v.Msgsize())
    	bts, _ = v.MarshalMsg(bts[0:0])
    	b.SetBytes(int64(len(bts)))
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		bts, _ = v.MarshalMsg(bts[0:0])
    	}
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Feb 19 22:54:46 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top