Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 105 for clonePod (0.17 sec)

  1. src/unique/clone.go

    package unique
    
    import (
    	"internal/abi"
    	"internal/stringslite"
    	"unsafe"
    )
    
    // clone makes a copy of value, and may update string values found in value
    // with a cloned version of those strings. The purpose of explicitly cloning
    // strings is to avoid accidentally giving a large string a long lifetime.
    //
    // Note that this will clone strings in structs and arrays found in value,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 05 00:24:21 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. pkg/config/model_test.go

    		},
    		Spec: &networking.Gateway{},
    	}
    
    	copied := cfg.DeepCopy()
    
    	if diff := cmp.Diff(copied, cfg, protocmp.Transform()); diff != "" {
    		t.Fatalf("cloned config is not identical: %v", diff)
    	}
    
    	copied.Labels["app"] = "cloned-app"
    	copied.Annotations["policy.istio.io/checkRetries"] = "0"
    	if cfg.Labels["app"] == copied.Labels["app"] ||
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 17:37:32 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/hash/MacHashFunction.java

     *
     * @author Kurt Alfred Kluever
     */
    @Immutable
    @ElementTypesAreNonnullByDefault
    final class MacHashFunction extends AbstractHashFunction {
    
      @SuppressWarnings("Immutable") // cloned before each use
      private final Mac prototype;
    
      @SuppressWarnings("Immutable") // keys are immutable, but not provably so
      private final Key key;
    
      private final String toString;
      private final int bits;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 15 22:31:55 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/MacHashFunction.java

     *
     * @author Kurt Alfred Kluever
     */
    @Immutable
    @ElementTypesAreNonnullByDefault
    final class MacHashFunction extends AbstractHashFunction {
    
      @SuppressWarnings("Immutable") // cloned before each use
      private final Mac prototype;
    
      @SuppressWarnings("Immutable") // keys are immutable, but not provably so
      private final Key key;
    
      private final String toString;
      private final int bits;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 15 22:31:55 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  5. src/html/template/clone_test.go

    	// toClone must be the same as uncloned. It has to be recreated from scratch,
    	// since cloning cannot occur after execution.
    	toClone := Must(New("").Funcs(funcs).Parse("{{customFunc}}"))
    	cloned := Must(toClone.Clone())
    	gotErr := cloned.Execute(io.Discard, nil)
    
    	if wantErr.Error() != gotErr.Error() {
    		t.Errorf("clone error message mismatch want %q got %q", wantErr, gotErr)
    	}
    }
    
    // https://golang.org/issue/16101
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 06 15:48:16 UTC 2022
    - 8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/MessageDigestHashFunction.java

     * @author Dimitris Andreou
     */
    @Immutable
    @ElementTypesAreNonnullByDefault
    final class MessageDigestHashFunction extends AbstractHashFunction implements Serializable {
    
      @SuppressWarnings("Immutable") // cloned before each use
      private final MessageDigest prototype;
    
      private final int bytes;
      private final boolean supportsClone;
      private final String toString;
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 25 20:32:46 UTC 2022
    - 5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/hash/MessageDigestHashFunction.java

     * @author Dimitris Andreou
     */
    @Immutable
    @ElementTypesAreNonnullByDefault
    final class MessageDigestHashFunction extends AbstractHashFunction implements Serializable {
    
      @SuppressWarnings("Immutable") // cloned before each use
      private final MessageDigest prototype;
    
      private final int bytes;
      private final boolean supportsClone;
      private final String toString;
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 25 20:32:46 UTC 2022
    - 5K bytes
    - Viewed (0)
  8. docs/en/docs/contributing.md

    ## Developing
    
    If you already cloned the <a href="https://github.com/tiangolo/fastapi" class="external-link" target="_blank">fastapi repository</a> and you want to deep dive in the code, here are some guidelines to set up your environment.
    
    ### Virtual environment with `venv`
    
    You can create an isolated virtual local environment in a directory using Python's `venv` module. Let's do this in the cloned repository (where the `requirements.txt` is):
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Jan 11 17:42:43 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  9. pkg/scheduler/framework/cycle_state.go

    	if c == nil {
    		return
    	}
    	c.recordPluginMetrics = flag
    }
    
    // Clone creates a copy of CycleState and returns its pointer. Clone returns
    // nil if the context being cloned is nil.
    func (c *CycleState) Clone() *CycleState {
    	if c == nil {
    		return nil
    	}
    	copy := NewCycleState()
    	// Safe copy storage in case of overwriting.
    	c.storage.Range(func(k, v interface{}) bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 06:48:20 UTC 2023
    - 4K bytes
    - Viewed (0)
  10. maven-core/src/test/java/org/apache/maven/project/MavenProjectTest.java

            assertNotSame(
                    activeProfilesOrig,
                    activeProfilesClone,
                    "The list of active profiles should have been cloned too but is same");
        }
    
        @Test
        void testCloneWithBaseDir() throws Exception {
            File f = getFileForClasspathResource("canonical-pom.xml");
            MavenProject projectToClone = getProject(f);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sat Apr 15 17:24:20 UTC 2023
    - 8K bytes
    - Viewed (0)
Back to top