Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 238 for Prepare (1.48 sec)

  1. src/test/java/jcifs/ntlmssp/av/AvSingleHostTest.java

         * The constructor requires exact sizes, so we need to pad them manually.
         */
        @Test
        void testAvSingleHostCustomDataMachineIdConstructor_ShorterInputs() {
            // Prepare padded arrays
            byte[] customData = new byte[8];
            customData[0] = 0x01;
            customData[1] = 0x02;
    
            byte[] machineId = new byte[32];
            machineId[0] = 0x10;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  2. cmd/http-stats.go

    		s3InputBytes:         s.getS3InputBytes(),         // Traffic S3 received
    		s3OutputBytes:        s.getS3OutputBytes(),        // Traffic S3 sent
    	}
    }
    
    // Prepare new ConnStats structure
    func newConnStats() *connStats {
    	return &connStats{}
    }
    
    type bucketS3RXTX struct {
    	s3InputBytes  uint64
    	s3OutputBytes uint64
    }
    
    type bucketHTTPAPIStats struct {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Authenticator.kt

     * server's hostname is sent to the proxy.
     *
     * Prior to sending any CONNECT request OkHttp always calls the proxy authenticator so that it may
     * prepare preemptive authentication. OkHttp will call [authenticate] with a fake `HTTP/1.1 407
     * Proxy Authentication Required` response that has a `Proxy-Authenticate: OkHttp-Preemptive`
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt

              exchange.responseHeadersStart()
              invokeStartEvent = false
            }
            if (responseBuilder == null) {
              if (requestBody.isDuplex()) {
                // Prepare a duplex body so that the application can send a request body later.
                exchange.flushRequest()
                val bufferedRequestBody = exchange.createRequestBody(request, true).buffer()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 22:04:11 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbWatchHandleImplTest.java

     */
    @ExtendWith(MockitoExtension.class)
    class SmbWatchHandleImplTest {
    
        @Mock
        SmbFileHandleImpl handle;
    
        @Mock
        SmbTreeHandleImpl tree;
    
        // Prepare SMB2 flow with a given response
        private void setupSmb2(NotifyResponse resp, byte[] fileId) throws Exception {
            when(handle.isValid()).thenReturn(true);
            when(handle.getTree()).thenReturn(tree);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  6. src/archive/zip/writer.go

    				return false, false
    			}
    			require = true
    		}
    	}
    	return true, require
    }
    
    // prepare performs the bookkeeping operations required at the start of
    // CreateHeader and CreateRaw.
    func (w *Writer) prepare(fh *FileHeader) error {
    	if w.last != nil && !w.last.closed {
    		if err := w.last.close(); err != nil {
    			return err
    		}
    	}
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Jan 28 04:20:09 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt

            .Builder()
            .serialNumber(1L)
            .certificateAuthority(1)
            .commonName("root")
            .build()
    
        // Add a good intermediate CA, and have that issue a good certificate to localhost. Prepare an
        // SSL context for an HTTP client under attack. It includes the trusted CA and a pinned
        // certificate.
        val goodIntermediateCa =
          HeldCertificate
            .Builder()
            .signedBy(rootCa)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 24.3K bytes
    - Viewed (1)
  8. src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java

        }
    
        /**
         * Test of readParameterWordsWireFormat method, of class SmbComQueryInformationResponse.
         */
        @Test
        public void testReadParameterWordsWireFormat() {
            // Prepare a buffer with sample data.
            // 2 bytes for fileAttributes, 4 bytes for lastWriteTime, 4 bytes for fileSize
            byte[] buffer = new byte[20];
            // File Attributes: 0x0010 (Directory)
            buffer[0] = 0x10;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/netbios/NameTest.java

            // Verify total length includes scope
            assertEquals(33 + name.scope.length() + 2, length);
        }
    
        @Test
        void readWireFormat_shouldDecodeNameCorrectly() {
            // Prepare encoded data for "TEST" with type 0x20
            byte[] src = new byte[100];
            src[0] = 0x20; // First byte
    
            // Encode "TEST" (0x54 0x45 0x53 0x54)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/SmbSessionTest.java

            assertSame(tr, session.transport());
        }
    
        @Test
        void sendResetsResponseAndForwards() throws Exception {
            SmbSession session = new SmbSession(addr, 445, inet, 0, auth);
            // prepare a dummy request/response using a real SMB block type
            ServerMessageBlock req = new SmbComOpenAndX("test.txt", 0, 0, null);
            ServerMessageBlock resp = new SmbComOpenAndX("test.txt", 0, 0, null);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
Back to top