Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 381 - 390 of 1,168 for Delete (0.06 seconds)

  1. internal/config/config.go

    func (kvs KVS) Get(key string) string {
    	v, ok := kvs.Lookup(key)
    	if ok {
    		return v
    	}
    	return ""
    }
    
    // Delete - deletes the key if present from the KV list.
    func (kvs *KVS) Delete(key string) {
    	for i, kv := range *kvs {
    		if kv.Key == key {
    			*kvs = append((*kvs)[:i], (*kvs)[i+1:]...)
    			return
    		}
    	}
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 37.7K bytes
    - Click Count (0)
  2. tests/generics_test.go

    	}
    
    	rows, err := gorm.G[User](DB).Where("id = ?", u.ID).Delete(ctx)
    	if err != nil {
    		t.Fatalf("Delete failed: %v", err)
    	}
    	if rows != 1 {
    		t.Errorf("expected 1 row deleted, got %d", rows)
    	}
    
    	_, err = gorm.G[User](DB).Where("id = ?", u.ID).First(ctx)
    	if err != gorm.ErrRecordNotFound {
    		t.Fatalf("User after delete failed: %v", err)
    	}
    }
    
    func TestGenericsFindInBatches(t *testing.T) {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Tue Dec 30 08:11:14 GMT 2025
    - 34.9K bytes
    - Click Count (0)
  3. src/main/webapp/js/admin/jquery-3.7.1.min.js

    0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(F):(t=F(t))in r?[t]:t.match(D)||[]).length;while(n--)delete r[t[n]]}(void 0===t||ce.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!ce.isEmptyObject(t)}};var _=new B,z=new B,X=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,U=/[A-Z]/g;function V(e,t,n){var r,i;if(void 0=...
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Oct 26 01:07:52 GMT 2024
    - 85.5K bytes
    - Click Count (1)
  4. cmd/api-response.go

    	VersionID string `xml:"VersionId"`
    }
    
    // DeleteObjectsResponse container for multiple object deletes.
    type DeleteObjectsResponse struct {
    	XMLName xml.Name `xml:"http://s3.amazonaws.com/doc/2006-03-01/ DeleteResult" json:"-"`
    
    	// Collection of all deleted objects
    	DeletedObjects []DeletedObject `xml:"Deleted,omitempty"`
    
    	// Collection of errors deleting certain objects.
    	Errors []DeleteError `xml:"Error,omitempty"`
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 24 04:05:19 GMT 2025
    - 35K bytes
    - Click Count (0)
  5. docs/features/caching.md

    ## Cache directory
    
    The cache directory must be exclusively owned by a single instance.
    
    Deleting the cache when it is no longer needed can be done.  However this may delete the purpose of the cache
    which is designed to persist between app restarts.
    
    ```kotlin
    cache.delete()
    ```
    
    ## Pruning the Cache
    
    Pruning the entire Cache to clear space temporarily can be done using evictAll.
    
    ```kotlin
    cache.evictAll()
    ```
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:01:42 GMT 2026
    - 3.1K bytes
    - Click Count (1)
  6. src/test/java/jcifs/tests/persistent/PersistentHandleManagerTest.java

            if (tempDir != null && Files.exists(tempDir)) {
                Files.walk(tempDir)
                        .sorted((a, b) -> b.compareTo(a)) // Delete files before directories
                        .forEach(path -> {
                            try {
                                Files.delete(path);
                            } catch (IOException e) {
                                // Ignore cleanup errors
                            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/accesstoken/AdminAccesstokenAction.java

            });
            return redirect(getClass());
        }
    
        /**
         * Delete an access token.
         * @param form The edit form.
         * @return The HTML response.
         */
        @Execute
        @Secured({ ROLE })
        public HtmlResponse delete(final EditForm form) {
            verifyCrudMode(form.crudMode, CrudMode.DETAILS, this::asListHtml);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 27 07:01:25 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/SmbFileTest.java

                // The delete method for directories uses SmbComDelete with the directory flag
                // After checking SMB code, directories are deleted using SmbComDelete with ATTR_DIRECTORY
                when(mockTreeHandle.send(any(SmbComDelete.class), any(SmbComBlankResponse.class))).thenReturn(mock(SmbComBlankResponse.class));
    
                // Act
                smbFile.delete();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.8K bytes
    - Click Count (0)
  9. cmd/admin-handlers-users_test.go

    		c.Fatalf("policy could be unexpectedly deleted!")
    	}
    
    	// 6. Delete the user and then delete the policy.
    	err = s.adm.RemoveUser(ctx, accessKey)
    	if err != nil {
    		c.Fatalf("user could not be deleted: %v", err)
    	}
    	err = s.adm.RemoveCannedPolicy(ctx, policy)
    	if err != nil {
    		c.Fatalf("policy del err: %v", err)
    	}
    }
    
    func (s *TestSuiteIAM) TestCannedPolicies(c *check) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Oct 15 17:00:45 GMT 2025
    - 50.6K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/dict/DictionaryFile.java

         *
         * @param item the item to update
         */
        public abstract void update(T item);
    
        /**
         * Deletes a dictionary item.
         *
         * @param item the item to delete
         */
        public abstract void delete(T item);
    
        /**
         * A paginated list implementation that wraps another list and provides
         * pagination metadata and functionality.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 11.2K bytes
    - Click Count (0)
Back to Top