Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for deepcopy (0.04 sec)

  1. fastapi/dependencies/utils.py

    import inspect
    from contextlib import AsyncExitStack, contextmanager
    from copy import copy, deepcopy
    from dataclasses import dataclass
    from typing import (
        Any,
        Callable,
        Coroutine,
        Dict,
        ForwardRef,
        List,
        Mapping,
        Optional,
        Sequence,
        Tuple,
        Type,
        Union,
        cast,
    )
    
    import anyio
    from fastapi import params
    from fastapi._compat import (
        PYDANTIC_V2,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 21:46:26 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  2. istioctl/pkg/describe/describe.go

    	ingressNss := sets.New[string]()
    	for i, pod := range pods.Items {
    		ns := pod.GetNamespace()
    		ingressNss.Insert(ns)
    		ingressPods[ns] = append(ingressPods[ns], pods.Items[i].DeepCopy())
    	}
    
    	foundIngresses := []*ingressInfo{}
    	for _, ns := range ingressNss.UnsortedList() {
    		// Currently no support for non-standard gateways selecting non ingressgateway pods
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
  3. cni/pkg/repair/repair_test.go

    		})
    	}
    }
    
    func fakeClient(pods ...*corev1.Pod) kube.Client {
    	var csPods []runtime.Object
    
    	for _, pod := range pods {
    		csPods = append(csPods, pod.DeepCopy())
    	}
    	return kube.NewFakeClient(csPods...)
    }
    
    func makePodLabelMap(pods []*corev1.Pod) (podmap map[string]string) {
    	podmap = map[string]string{}
    	for _, pod := range pods {
    		podmap[pod.Name] = ""
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Oct 24 03:31:28 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  4. istioctl/pkg/tag/generate_test.go

    				}
    			}
    		}
    	}
    }
    
    func testGenerateOption(t *testing.T, generate bool, assertFunc func(*testing.T, []admitv1.MutatingWebhook, []admitv1.MutatingWebhook)) {
    	defaultWh := defaultRevisionCanonicalWebhook.DeepCopy()
    	fakeClient := kube.NewFakeClient(defaultWh)
    
    	opts := &GenerateOptions{
    		Generate: generate,
    		Tag:      "default",
    		Revision: "default",
    	}
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. CHANGELOG/CHANGELOG-1.32.md

    - github.com/moby/sys/mountinfo: [v0.7.1 → v0.7.2](https://github.com/moby/sys/compare/mountinfo/v0.7.1...mountinfo/v0.7.2)
    - github.com/mohae/deepcopy: [491d360 → c48cc78](https://github.com/mohae/deepcopy/compare/491d360...c48cc78)
    - github.com/opencontainers/runc: [v1.1.14 → v1.1.15](https://github.com/opencontainers/runc/compare/v1.1.14...v1.1.15)
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Tue Oct 29 20:17:52 UTC 2024
    - 121.6K bytes
    - Viewed (0)
  6. RELEASE.md

    *   Improves stability of GCS filesystem on Mac.
    *   Add time estimation to HloCostAnalysis.
    *   Fixed the bug in Estimator that params in constructor was not a deepcopy of
        the user provided one. This bugs inadvertently enabled user to mutate the
        params after the creation of Estimator, leading to potentially undefined
        behavior.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Oct 22 14:33:53 UTC 2024
    - 735.3K bytes
    - Viewed (0)
Back to top