- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 1,416 for delete1 (0.12 sec)
-
tests/main_test.go
if count1 <= 0 { t.Errorf("Should find some users") } if DB.Where("name = ?", "jinzhu; delete * from users").First(&User{}).Error == nil { t.Errorf("Should got error with invalid SQL") } DB.Model(&User{}).Count(&count2) if count1 != count2 { t.Errorf("No user should not be deleted by invalid SQL") } } func TestSetAndGet(t *testing.T) {
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Thu Mar 24 01:31:58 UTC 2022 - 1.4K bytes - Viewed (0) -
pkg/kubelet/cm/memorymanager/state/state_checkpoint.go
err := sc.storeState() if err != nil { klog.InfoS("Store state to checkpoint error", "err", err) } } // Delete deletes corresponding Blocks from ContainerMemoryAssignments func (sc *stateCheckpoint) Delete(podUID string, containerName string) { sc.Lock() defer sc.Unlock() sc.cache.Delete(podUID, containerName) err := sc.storeState() if err != nil { klog.InfoS("Store state to checkpoint error", "err", err)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 08 16:05:48 UTC 2022 - 5.3K bytes - Viewed (0) -
operator/pkg/metrics/monitoring.go
) // ResourceDeletionTotal indicates the number of resources deleted // by the operator in response to CR update or delete operation (like // ingress-gateway which was enabled could be disabled and this requires // deleting ingress-gateway deployment). ResourceDeletionTotal = monitoring.NewSum( "resource_deletion_total", "Number of resources deleted by the operator", )
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Aug 10 15:35:03 UTC 2023 - 7K bytes - Viewed (0) -
platforms/core-runtime/native/src/test/groovy/org/gradle/internal/nativeintegration/filesystem/jdk7/Jdk7SymlinkTest.groovy
expect: !new WindowsJdk7Symlink().isSymlinkCreationSupported() } def 'deletes test files after symlink support test with #create'() { expect: listSymlinkTestFiles().findAll { !it.delete() }.empty create(temporaryFolder.createDir("tmp")) listSymlinkTestFiles().empty where:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:06:40 UTC 2023 - 5K bytes - Viewed (0) -
pkg/proxy/node.go
klog.FlushAndExit(klog.ExitFlushTimeout, 1) } } // OnNodeDelete is a handler for Node deletes. func (n *NodePodCIDRHandler) OnNodeDelete(node *v1.Node) { n.logger.Error(nil, "Current Node is being deleted", "node", klog.KObj(node)) } // OnNodeSynced is a handler for Node syncs. func (n *NodePodCIDRHandler) OnNodeSynced() {}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 22 05:08:41 UTC 2024 - 3.5K bytes - Viewed (0) -
pkg/kubelet/status/state/state_checkpoint.go
sc.mux.Lock() defer sc.mux.Unlock() sc.cache.SetResizeStatus(rs) return sc.storeState() } // Delete deletes allocations for specified pod func (sc *stateCheckpoint) Delete(podUID string, containerName string) error { sc.mux.Lock() defer sc.mux.Unlock() sc.cache.Delete(podUID, containerName) return sc.storeState() } // ClearState clears the state and saves it in a checkpoint
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 13 00:16:44 UTC 2023 - 6.9K bytes - Viewed (0) -
pkg/ledger/ledger.go
type Ledger interface { // Put adds or overwrites a key in the Ledger Put(key, value string) (string, error) // Delete removes a key from the Ledger, which may still be read using GetPreviousValue Delete(key string) error // Get returns a the value of the key from the Ledger's current state Get(key string) (string, error)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 3.9K bytes - Viewed (0) -
tests/associations_belongs_to_test.go
// Delete if err := DB.Model(&user2).Association("Company").Delete(&Company{}); err != nil { t.Fatalf("Error happened when delete Company, got %v", err) } AssertAssociationCount(t, user2, "Company", 1, "after delete non-existing data") if err := DB.Model(&user2).Association("Company").Delete(&company2); err != nil { t.Fatalf("Error happened when delete Company, got %v", err) }
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Mon Oct 30 09:15:49 UTC 2023 - 9.3K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/IncrementalTaskWithNormalizedInputsIntegrationTest.groovy
movableInput.delete() run INCREMENTAL_TASK_NAME, "--info" then: !movableInput.exists() renamedInput.exists() outputContains "is up-to-date" } @Issue("https://github.com/gradle/gradle/issues/9320") def "incremental task with NAME_ONLY inputs (matching file names and content) detects deleted file"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Aug 30 07:31:26 UTC 2022 - 4.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/namespace/lifecycle/admission.go
// prevent deletion of immortal namespaces if a.GetOperation() == admission.Delete && a.GetKind().GroupKind() == v1.SchemeGroupVersion.WithKind("Namespace").GroupKind() && l.immortalNamespaces.Has(a.GetName()) { return errors.NewForbidden(a.GetResource().GroupResource(), a.GetName(), fmt.Errorf("this namespace may not be deleted")) } // always allow non-namespaced resources
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 15 09:52:18 UTC 2021 - 8.6K bytes - Viewed (0)