Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 711 - 720 of 961 for dsbyte (0.18 seconds)

  1. cmd/object-handlers-common_test.go

    		},
    	}
    	for _, tc := range testCases {
    		t.Run(tc.name, func(t *testing.T) {
    			recorder := httptest.NewRecorder()
    			request := httptest.NewRequest(http.MethodHead, "/bucket/a", bytes.NewReader([]byte{}))
    			request.Header.Set(xhttp.IfNoneMatch, tc.ifNoneMatch)
    			request.Header.Set(xhttp.IfModifiedSince, tc.ifModifiedSince)
    			request.Header.Set(xhttp.IfMatch, tc.ifMatch)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  2. internal/ioutil/discard.go

    // and as such incurred latencies.
    var Discard io.Writer = discard{}
    
    // discard is /dev/null for Golang.
    type discard struct{}
    
    func (discard) Write(p []byte) (int, error) {
    	return len(p), nil
    }
    
    // DiscardReader discarded reader
    func DiscardReader(r io.Reader) {
    	Copy(Discard, r)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Nov 06 22:26:08 GMT 2023
    - 1.3K bytes
    - Click Count (0)
  3. src/bufio/export_test.go

    var IsSpace = isSpace
    
    const DefaultBufSize = defaultBufSize
    
    func (s *Scanner) MaxTokenSize(n int) {
    	if n < utf8.UTFMax || n > 1e9 {
    		panic("bad max token size")
    	}
    	if n < len(s.buf) {
    		s.buf = make([]byte, n)
    	}
    	s.maxTokenSize = n
    }
    
    // ErrOrEOF is like Err, but returns EOF. Used to test a corner case.
    func (s *Scanner) ErrOrEOF() error {
    	return s.err
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Nov 02 17:17:44 GMT 2017
    - 597 bytes
    - Click Count (0)
  4. src/test/java/jcifs/http/NtlmServletTest.java

         * @throws CIFSException
         */
        @Test
        void testService_NtlmAuth_Success() throws Exception {
            ntlmServlet.init(servletConfig);
            setupMocksForAuth();
    
            byte[] challenge = new byte[8];
            NtlmPasswordAuthentication ntlmAuth = new NtlmPasswordAuthentication(cifsContext, "TEST_DOMAIN", "user", "password");
    
            try (MockedStatic<NtlmSsp> ntlmSspMock = Mockito.mockStatic(NtlmSsp.class)) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/witness/WitnessRpcClient.java

                response.setReturnCode(message.getReturnCode());
    
                if (message.isSuccess()) {
                    // Generate registration ID from context handle
                    byte[] contextHandle = message.getContextHandle();
                    String registrationId = generateRegistrationId(contextHandle, request.getShareName());
                    response.setRegistrationId(registrationId);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  6. cmd/api-headers.go

    // this in other places.
    func encodeResponseList(response any) []byte {
    	var buf bytes.Buffer
    	buf.WriteString(xxml.Header)
    	if err := xxml.NewEncoder(&buf).Encode(response); err != nil {
    		bugLogIf(GlobalContext, err)
    		return nil
    	}
    	return buf.Bytes()
    }
    
    // Encodes the response headers into JSON format.
    func encodeResponseJSON(response any) []byte {
    	var bytesBuffer bytes.Buffer
    	e := json.NewEncoder(&bytesBuffer)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  7. src/main/java/jcifs/SmbTransportPool.java

         * @deprecated functionality is broken and will be removed at some point,
         *             use actual Active Directory authentication instead
         */
        @Deprecated
        byte[] getChallenge(CIFSContext tc, Address dc) throws CIFSException;
    
        /**
         * Get NTLM challenge from a server
         *
         * @param dc the domain controller address
         * @param port the port number
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  8. src/main/java/jcifs/pac/kerberos/KerberosPacAuthData.java

         *
         * @param token the PAC token bytes
         * @param keys map of Kerberos keys indexed by key type
         * @throws PACDecodingException if PAC decoding fails
         */
        public KerberosPacAuthData(byte[] token, Map<Integer, KerberosKey> keys) throws PACDecodingException {
            this.pac = new Pac(token, keys);
        }
    
        /**
         * Returns the PAC object.
         *
         * @return the Privilege Attribute Certificate
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb1/dcerpc/ndr/NdrHyper.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.dcerpc.ndr;
    
    /**
     * NDR representation of a hyper integer (8-byte signed integer).
     */
    public class NdrHyper extends NdrObject {
    
        /**
         * The hyper integer value.
         */
        public long value;
    
        /**
         * Constructs an NdrHyper with the specified value.
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb1/dcerpc/ndr/NdrLong.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.dcerpc.ndr;
    
    /**
     * NDR representation of a long integer (4-byte signed integer).
     */
    public class NdrLong extends NdrObject {
    
        /**
         * The long integer value.
         */
        public int value;
    
        /**
         * Constructs an NdrLong with the specified value.
         *
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.5K bytes
    - Click Count (0)
Back to Top