Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,827 for oldB (0.06 sec)

  1. pkg/registry/apps/deployment/strategy.go

    	newDeployment := obj.(*apps.Deployment)
    	oldDeployment := old.(*apps.Deployment)
    	newDeployment.Spec = oldDeployment.Spec
    	newDeployment.Labels = oldDeployment.Labels
    }
    
    // ValidateUpdate is the default update validation for an end user updating status
    func (deploymentStatusStrategy) ValidateUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 16 21:07:13 UTC 2022
    - 8.2K bytes
    - Viewed (0)
  2. pkg/registry/flowcontrol/flowschema/strategy.go

    func (flowSchemaStrategy) ValidateUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList {
    	return validation.ValidateFlowSchemaUpdate(old.(*flowcontrol.FlowSchema), obj.(*flowcontrol.FlowSchema))
    }
    
    // WarningsOnUpdate returns warnings for the given update.
    func (flowSchemaStrategy) WarningsOnUpdate(ctx context.Context, obj, old runtime.Object) []string {
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 11:48:22 UTC 2023
    - 6K bytes
    - Viewed (0)
  3. src/sync/map_reference_test.go

    	m.mu.Unlock()
    }
    
    func (m *RWMutexMap) CompareAndSwap(key, old, new any) (swapped bool) {
    	m.mu.Lock()
    	defer m.mu.Unlock()
    	if m.dirty == nil {
    		return false
    	}
    
    	value, loaded := m.dirty[key]
    	if loaded && value == old {
    		m.dirty[key] = new
    		return true
    	}
    	return false
    }
    
    func (m *RWMutexMap) CompareAndDelete(key, old any) (deleted bool) {
    	m.mu.Lock()
    	defer m.mu.Unlock()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 01 15:34:22 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. src/internal/godebugs/table.go

    	{Name: "tlsunsafeekm", Package: "crypto/tls", Changed: 22, Old: "1"},
    	{Name: "winreadlinkvolume", Package: "os", Changed: 22, Old: "0"},
    	{Name: "winsymlink", Package: "os", Changed: 22, Old: "0"},
    	{Name: "x509keypairleaf", Package: "crypto/tls", Changed: 23, Old: "0"},
    	{Name: "x509negativeserial", Package: "crypto/x509", Changed: 23, Old: "1"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:58:43 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. src/go/doc/comment/testdata/head.txt

    -- input --
    Some text.
    
    An Old Heading
    
    Not An Old Heading.
    
    And some text.
    
    # A New Heading.
    
    And some more text.
    
    # Not a heading,
    because text follows it.
    
    Because text precedes it,
    # not a heading.
    
    ## Not a heading either.
    
    -- gofmt --
    Some text.
    
    # An Old Heading
    
    Not An Old Heading.
    
    And some text.
    
    # A New Heading.
    
    And some more text.
    
    # Not a heading,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:31:46 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  6. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/changes/FingerprintCompareStrategyTest.groovy

                "new/two": fingerprint("two"),
                "new/four": fingerprint("four")
            ], [
                "old/one": fingerprint("one"),
                "old/three": fingerprint("three"),
                "old/four": fingerprint("four")
            ]) == [removed("old/three": "three"), added("new/two": "two")]
        }
    
        def "non-trivial replacement with absolute paths (#strategy.class.simpleName)"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  7. src/internal/diff/testdata/allnew.txt

    -- old --
    -- new --
    a
    b
    c
    -- diff --
    diff old new
    --- old
    +++ new
    @@ -0,0 +1,3 @@
    +a
    +b
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 18 16:56:29 UTC 2022
    - 91 bytes
    - Viewed (0)
  8. pkg/registry/certificates/certificates/strategy.go

    	oldCSR := old.(*certificates.CertificateSigningRequest)
    	newCSR := obj.(*certificates.CertificateSigningRequest)
    	return validation.ValidateCertificateSigningRequestUpdate(newCSR, oldCSR)
    }
    
    // WarningsOnUpdate returns warnings for the given update.
    func (csrStrategy) WarningsOnUpdate(ctx context.Context, obj, old runtime.Object) []string {
    	return nil
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 18 21:41:43 UTC 2022
    - 11.4K bytes
    - Viewed (0)
  9. src/internal/runtime/atomic/atomic_arm64.s

    	STLXR	R1, (R0), R3
    	CBNZ	R3, load_store_loop
    	MOVD	R2, ret+16(FP)
    	RET
    #endif
    
    // bool Cas(uint32 *ptr, uint32 old, uint32 new)
    // Atomically:
    //	if(*val == old){
    //		*val = new;
    //		return 1;
    //	} else
    //		return 0;
    TEXT ·Cas(SB), NOSPLIT, $0-17
    	MOVD	ptr+0(FP), R0
    	MOVW	old+8(FP), R1
    	MOVW	new+12(FP), R2
    #ifndef GOARM64_LSE
    	MOVBU	internal∕cpu·ARM64+const_offsetARM64HasATOMICS(SB), R4
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/storageversion/updater_test.go

    	}
    )
    
    func TestLocalUpdateStorageVersion(t *testing.T) {
    	tests := []struct {
    		old                            v1alpha1.StorageVersionStatus
    		newSSV                         v1alpha1.ServerStorageVersion
    		expected                       v1alpha1.StorageVersionStatus
    		expectLastTransitionTimeUpdate bool
    	}{
    		{
    			old:    v1alpha1.StorageVersionStatus{},
    			newSSV: ssv1,
    			expected: v1alpha1.StorageVersionStatus{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 29 22:40:54 UTC 2023
    - 8.7K bytes
    - Viewed (0)
Back to top