Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 529 for copiedS (0.18 sec)

  1. tools/docker-builder/dockerfile/parse.go

    type state struct {
    	args   map[string]string
    	env    map[string]string
    	labels map[string]string
    	bases  map[string]string
    
    	copies     map[string]string // copies stores a map of destination path -> source path
    	user       string
    	workdir    string
    	base       string
    	entrypoint []string
    	cmd        []string
    
    	shlex *shell.Lex
    }
    
    func cut(s, sep string) (before, after string) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  2. docs/fr/docs/tutorial/index.md

    Vous pouvez donc revenir et voir exactement ce dont vous avez besoin.
    
    ## Exécuter le code
    
    Tous les blocs de code peuvent être copiés et utilisés directement (il s'agit en fait de fichiers Python testés).
    
    Pour exécuter l'un de ces exemples, copiez le code dans un fichier `main.py`, et commencez `uvicorn` avec :
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --reload
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Jul 27 18:51:55 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/xla_host_recv_device_context.h

                                  StatusCallback done) const override {
        done(errors::Internal("device->device copy not implemented."));
      }
    
     private:
      se::Stream* stream_;  // Not owned.
      // This is copied rather than a reference or pointer since its lifetime
      // is not guaranteed to outlast the original object.  Object slicing is
      // not an issue here since only DeviceMemoryBase methods/members are used.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 22:46:36 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. pilot/pkg/networking/util/fuzz_test.go

    		empty2 := &networking.TrafficPolicy{}
    		copied = mergeTrafficPolicy(empty2, copied, true)
    		assert.Equal(fg.T(), copyFrom, copied)
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 20:32:49 UTC 2024
    - 1.8K bytes
    - Viewed (1)
  5. pkg/apis/flowcontrol/v1beta3/conversion.go

    	//  - remove the roundtrip annotation for the 'NominalConcurrencyShares' field
    	//  - make sure we don't mutate the source (v1beta3) object's annotations
    	annotations, copied := dropPriorityLevelConcurrencyShareDefaultAnnotation(out.ObjectMeta.Annotations)
    	if copied {
    		out.ObjectMeta.Annotations = annotations
    	}
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 22:22:51 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  6. 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"] ||
    		cfg.Annotations["policy.istio.io/checkRetries"] == copied.Annotations["policy.istio.io/checkRetries"] {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 17:37:32 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  7. test/typeparam/sliceimp.dir/a.go

    		s = s[:tot]
    	} else {
    		news := make([]T, tot, tot+tot/2)
    		Copy(news, s)
    		s = news
    	}
    	Copy(s[lens:tot], t)
    	return s
    }
    
    // Copy copies values from t to s, stopping when either slice is full,
    // returning the number of values copied. This is like the predeclared
    // copy function; it's an example of how to write it using generics.
    func Copy[T any](s, t []T) int {
    	i := 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 30 01:55:58 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  8. src/sync/cond.go

    func (c *copyChecker) check() {
    	// Check if c has been copied in three steps:
    	// 1. The first comparison is the fast-path. If c has been initialized and not copied, this will return immediately. Otherwise, c is either not initialized, or has been copied.
    	// 2. Ensure c is initialized. If the CAS succeeds, we're done. If it fails, c was either initialized concurrently and we simply lost the race, or c has been copied.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. src/archive/tar/stat_unix.go

    		case "linux":
    			// Copied from golang.org/x/sys/unix/dev_linux.go.
    			major := uint32((dev & 0x00000000000fff00) >> 8)
    			major |= uint32((dev & 0xfffff00000000000) >> 32)
    			minor := uint32((dev & 0x00000000000000ff) >> 0)
    			minor |= uint32((dev & 0x00000ffffff00000) >> 12)
    			h.Devmajor, h.Devminor = int64(major), int64(minor)
    		case "darwin", "ios":
    			// Copied from golang.org/x/sys/unix/dev_darwin.go.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 16:01:50 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. pilot/pkg/model/fuzz_test.go

    }
    
    type deepCopier[T any] interface {
    	DeepCopy() T
    }
    
    func fuzzDeepCopy[T deepCopier[T]](f test.Fuzzer) {
    	fuzz.Fuzz(f, func(fg fuzz.Helper) {
    		orig := fuzz.Struct[T](fg)
    		copied := orig.DeepCopy()
    		assert.Equal(fg.T(), orig, copied)
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Aug 10 17:36:04 UTC 2023
    - 1.3K bytes
    - Viewed (0)
Back to top