Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 232 for cloneOf (0.05 sec)

  1. src/main/java/jcifs/pac/Pac.java

         * @throws PACDecodingException if the PAC data is malformed or signature validation fails
         */
        public Pac(byte[] data, Map<Integer, KerberosKey> keys) throws PACDecodingException {
            byte[] checksumData = data.clone();
            try {
                PacDataInputStream pacStream = new PacDataInputStream(new DataInputStream(new ByteArrayInputStream(data)));
    
                if (data.length <= 8) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

        @Test
        @DisplayName("Should securely wipe keys when calling secureWipeKeys()")
        void testSecureKeyWiping() {
            // Given
            byte[] originalEncKey = testEncryptionKey.clone();
            byte[] originalDecKey = testDecryptionKey.clone();
    
            // Ensure keys are not zero initially
            assertFalse(isAllZeros(originalEncKey), "Original encryption key should not be all zeros");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  3. finisher_api.go

    	panicked = false
    	return
    }
    
    // Begin begins a transaction with any transaction options opts
    func (db *DB) Begin(opts ...*sql.TxOptions) *DB {
    	var (
    		// clone statement
    		tx  = db.getInstance().Session(&Session{Context: db.Statement.Context, NewDB: db.clone == 1})
    		opt *sql.TxOptions
    		err error
    	)
    
    	if len(opts) > 0 {
    		opt = opts[0]
    	}
    
    	ctx := tx.Statement.Context
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Aug 26 06:24:29 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

              .build(),
          )
        var response = call.execute()
        assertThat(response.code).isEqualTo(200)
        response.close()
        listener.clearAllEvents()
        call = call.clone()
        response = call.execute()
        assertThat(response.code).isEqualTo(200)
        assertThat(response.body.string()).isEqualTo("abc")
        response.close()
        assertThat(listener.recordedEventTypes()).containsExactly(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 60.4K bytes
    - Viewed (0)
  5. api/go1.21.txt

    pkg log/slog, method (*Record) AddAttrs(...Attr) #56345
    pkg log/slog, method (*Record) Add(...interface{}) #56345
    pkg log/slog, method (Record) Attrs(func(Attr) bool) #59060
    pkg log/slog, method (Record) Clone() Record #56345
    pkg log/slog, method (Record) NumAttrs() int #56345
    pkg log/slog, method (*TextHandler) Enabled(context.Context, Level) bool #56345
    pkg log/slog, method (*TextHandler) Handle(context.Context, Record) error #56345
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Aug 07 09:39:17 UTC 2023
    - 25.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

            this.ctx = ctx;
            this.url = u;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see java.lang.Object#clone()
         */
        @Override
        protected SmbResourceLocatorImpl clone() {
            final SmbResourceLocatorImpl loc = new SmbResourceLocatorImpl(this.ctx, this.url);
            loc.canon = this.canon;
            loc.share = this.share;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java

        }
    
        @Test
        @DisplayName("writeSecurityBuffer writes zero length buffer unchanged")
        void testWriteSecurityBufferZeroLength() {
            byte[] dest = new byte[10];
            byte[] before = dest.clone();
            NtlmMessage.writeSecurityBuffer(dest, 0, 4, null);
            assertArrayEquals(before, dest, "Zero length should leave dest unchanged");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

            SmbResourceLocatorImpl l = locator("smb://server/share/path");
            l.updateType(SmbConstants.TYPE_SERVER);
            assertEquals(SmbConstants.TYPE_SERVER, l.getType());
        }
    
        @Test
        @DisplayName("clone copies state including addresses")
        void testCloneCopiesState() throws Exception {
            UniAddress a1 = mock(UniAddress.class);
            when(nsc.getAllByName("server", false)).thenReturn(new Address[] { a1 });
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  9. cmd/admin-handlers-config-kv.go

    	ctx := r.Context()
    
    	objectAPI, cred := validateAdminReq(ctx, w, r, policy.ConfigUpdateAdminAction)
    	if objectAPI == nil {
    		return
    	}
    
    	cfg := globalServerConfig.Clone()
    	vars := mux.Vars(r)
    	key := vars["key"]
    
    	var subSys, target string
    	{
    		ws := strings.SplitN(key, madmin.SubSystemSeparator, 2)
    		subSys = ws[0]
    		if len(ws) == 2 {
    			if ws[1] == "" {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  10. cmd/signature-v4-utils_test.go

    	inputHeader.Set("X-Amz-Meta-Clone", "fail")
    	// calling the function being tested.
    	errCode = checkMetaHeaders(signedHeadersMap, r)
    	if errCode != ErrUnsignedHeaders {
    		t.Fatalf("Expected the APIErrorCode to be %d, but got %d", ErrUnsignedHeaders, errCode)
    	}
    
    	// Delete extra metadata from header to don't affect other test
    	inputHeader.Del("X-Amz-Meta-Clone")
    	// calling the function being tested.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 14.3K bytes
    - Viewed (0)
Back to top