Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 105 for clonePod (0.15 sec)

  1. src/crypto/tls/tls_test.go

    			// DeepEqual can't compare functions. If you add a
    			// function field to this list, you must also change
    			// TestCloneFuncFields to ensure that the func field is
    			// cloned.
    		case "Certificates":
    			f.Set(reflect.ValueOf([]Certificate{
    				{Certificate: [][]byte{{'b'}}},
    			}))
    		case "NameToCertificate":
    			f.Set(reflect.ValueOf(map[string]*Certificate{"a": nil}))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 60.5K bytes
    - Viewed (0)
  2. src/crypto/tls/handshake_server_test.go

    func TestCloneHash(t *testing.T) {
    	h1 := crypto.SHA256.New()
    	h1.Write([]byte("test"))
    	s1 := h1.Sum(nil)
    	h2 := cloneHash(h1, crypto.SHA256)
    	s2 := h2.Sum(nil)
    	if !bytes.Equal(s1, s2) {
    		t.Error("cloned hash generated a different sum")
    	}
    }
    
    func expectError(t *testing.T, err error, sub string) {
    	if err == nil {
    		t.Errorf(`expected error %q, got nil`, sub)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  3. src/time/format.go

    type ParseError struct {
    	Layout     string
    	Value      string
    	LayoutElem string
    	ValueElem  string
    	Message    string
    }
    
    // newParseError creates a new ParseError.
    // The provided value and valueElem are cloned to avoid escaping their values.
    func newParseError(layout, value, layoutElem, valueElem, message string) *ParseError {
    	valueCopy := stringslite.Clone(value)
    	valueElemCopy := stringslite.Clone(valueElem)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:28 UTC 2024
    - 49.3K bytes
    - Viewed (0)
  4. docs/en/docs/release-notes.md

            * When a `response_model` is declared, the same `response_model` type declaration won't be used as is, it will be "cloned" to create an new one (a cloned Pydantic `Field` with all the submodels cloned as well).
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jun 14 15:07:37 UTC 2024
    - 395.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/MapMakerInternalMap.java

              unlock();
            }
          }
        }
    
        /**
         * Removes an entry from within a table. All entries following the removed node can stay, but
         * all preceding ones need to be cloned.
         *
         * <p>This method does not decrement count for the removed entry, but does decrement count for
         * all partially collected entries which are skipped. As such callers which are modifying count
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

              unlock();
            }
          }
        }
    
        /**
         * Removes an entry from within a table. All entries following the removed node can stay, but
         * all preceding ones need to be cloned.
         *
         * <p>This method does not decrement count for the removed entry, but does decrement count for
         * all partially collected entries which are skipped. As such callers which are modifying count
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  7. maven-core/src/test/resources/apiv4-repo/org/apache/maven/artifact/maven-artifact/3.0-SNAPSHOT/maven-artifact-3.0-SNAPSHOT.jar

    ArtifactVersion recommendedVersion; private final java.util.List restrictions; private void VersionRange(ArtifactVersion, java.util.List); public ArtifactVersion getRecommendedVersio(); public java.util.List getRestrictions(); public VersionRange cloneOf(); public static VersionRange createFromVersionSpe(String) throws InvalidVersionSpecif; private static Restriction parseRestriction(String) throws InvalidVersionSpecif; public static VersionRange createFromVersion(String); public VersionRange res...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Oct 02 08:41:25 UTC 2022
    - 160.1K bytes
    - Viewed (0)
  8. maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/artifact/maven-artifact/3.0-SNAPSHOT/maven-artifact-3.0-SNAPSHOT.jar

    ArtifactVersion recommendedVersion; private final java.util.List restrictions; private void VersionRange(ArtifactVersion, java.util.List); public ArtifactVersion getRecommendedVersio(); public java.util.List getRestrictions(); public VersionRange cloneOf(); public static VersionRange createFromVersionSpe(String) throws InvalidVersionSpecif; private static Restriction parseRestriction(String) throws InvalidVersionSpecif; public static VersionRange createFromVersion(String); public VersionRange res...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Oct 16 20:15:40 UTC 2007
    - 160.1K bytes
    - Viewed (0)
  9. pkg/controller/volume/persistentvolume/pv_controller.go

    	resyncPeriod              time.Duration
    
    	// Cache of the last known version of volumes and claims. This cache is
    	// thread safe as long as the volumes/claims there are not modified, they
    	// must be cloned before any modification. These caches get updated both by
    	// "xxx added/updated/deleted" events from etcd and by the controller when
    	// it saves newer version to etcd.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 89.2K bytes
    - Viewed (0)
  10. src/net/http/transport_test.go

    		sf := rt.Field(i)
    		if !token.IsExported(sf.Name) {
    			continue
    		}
    		if rv.Field(i).IsZero() {
    			t.Errorf("cloned field t2.%s is zero", sf.Name)
    		}
    	}
    
    	if _, ok := tr2.TLSNextProto["foo"]; !ok {
    		t.Errorf("cloned Transport lacked TLSNextProto 'foo' key")
    	}
    
    	// But test that a nil TLSNextProto is kept nil:
    	tr = new(Transport)
    	tr2 = tr.Clone()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
Back to top