Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 66 for idempotent (0.11 sec)

  1. src/go/printer/printer_test.go

    	{"slow.input", "slow.golden", idempotent},
    	{"complit.input", "complit.x", export},
    	{"go2numbers.input", "go2numbers.golden", idempotent},
    	{"go2numbers.input", "go2numbers.norm", normNumber | idempotent},
    	{"generics.input", "generics.golden", idempotent | allowTypeParams},
    	{"gobuild1.input", "gobuild1.golden", idempotent},
    	{"gobuild2.input", "gobuild2.golden", idempotent},
    	{"gobuild3.input", "gobuild3.golden", idempotent},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  2. docs/bucket/versioning/README.md

    > NOTE: Server side replication is supported for idempotent versions on directory objects.
    
    ### Idempotent versions on delete markers
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 04 21:43:52 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  3. pkg/volume/volume.go

    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    )
    
    // Volume represents a directory used by pods or hosts on a node. All method
    // implementations of methods in the volume interface must be idempotent.
    type Volume interface {
    	// GetPath returns the path to which the volume should be mounted for the
    	// pod.
    	GetPath() string
    
    	// MetricsProvider embeds methods for exposing metrics (e.g.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/ir/tf_traits.h

      return {};
    }
    
    }  // namespace detail
    
    // This class adds property that the operation is idempotent.
    // This means a unary to unary operation "f" that satisfies f(f(x)) = f(x),
    // or a binary operation "g" that satisfies g(x, x) = x.
    template <typename ConcreteType>
    class IsIdempotent : public TraitBase<ConcreteType, IsIdempotent> {
     public:
      static LogicalResult verifyTrait(Operation* op) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  5. src/net/http/httputil/persist.go

    	r := sc.r
    	lastbody := sc.lastbody
    	sc.lastbody = nil
    	sc.mu.Unlock()
    
    	// Make sure body is fully consumed, even if user does not call body.Close
    	if lastbody != nil {
    		// body.Close is assumed to be idempotent and multiple calls to
    		// it should return the error that its first invocation
    		// returned.
    		err = lastbody.Close()
    		if err != nil {
    			sc.mu.Lock()
    			defer sc.mu.Unlock()
    			sc.re = err
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/initialization/DefaultGradlePropertiesControllerTest.groovy

            then:
            properties.find("property") == '42'
            properties.mergeProperties([:]) == [property: '42']
        }
    
        def "loadGradlePropertiesFrom is idempotent"() {
    
            given:
            // use a different File instance for each call to ensure it is compared by value
            def currentDir = { new File('.') }
            def loader = Mock(IGradlePropertiesLoader)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 06 11:52:10 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  7. pkg/volume/downwardapi/downwardapi.go

    	return volume.Attributes{
    		ReadOnly:       true,
    		Managed:        true,
    		SELinuxRelabel: true,
    	}
    }
    
    // SetUp puts in place the volume plugin.
    // This function is not idempotent by design. We want the data to be refreshed periodically.
    // The internal sync interval of kubelet will drive the refresh of data.
    // TODO: Add volume specific ticker and refresh loop
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. pkg/volume/emptydir/empty_dir.go

    	if ed.mounter == nil {
    		return fmt.Errorf("memory storage requested, but mounter is nil")
    	}
    	if err := ed.setupDir(dir); err != nil {
    		return err
    	}
    	// Make SetUp idempotent.
    	medium, isMnt, _, err := ed.mountDetector.GetMountMedium(dir, ed.medium)
    	if err != nil {
    		return err
    	}
    	// If the directory is a mountpoint with medium memory, there is no
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 19K bytes
    - Viewed (0)
  9. cni/pkg/iptables/iptables.go

    				log.Debugf("ignoring error deleting optional iptables rule: %v", err)
    			}
    		}
    	}
    	return errors.Join(delErrs...)
    }
    
    // Setup iptables rules for in-pod mode. Ideally this should be an idempotent function.
    // NOTE that this expects to be run from within the pod network namespace!
    func (cfg *IptablesConfigurator) CreateInpodRules(hostProbeSNAT, hostProbeV6SNAT *netip.Addr) error {
    	// Append our rules here
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 21:45:18 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  10. pkg/kubelet/cm/dra/manager.go

    	}
    
    	return &ContainerInfo{Annotations: annotations, CDIDevices: cdiDevices}, nil
    }
    
    // UnprepareResources calls a plugin's NodeUnprepareResource API for each resource claim owned by a pod.
    // This function is idempotent and may be called multiple times against the same pod.
    // As such, calls to the underlying NodeUnprepareResource API are skipped for claims that have
    // already been successfully unprepared.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 13:23:29 UTC 2024
    - 19.4K bytes
    - Viewed (0)
Back to top