Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for recordLine (0.39 sec)

  1. staging/src/k8s.io/cli-runtime/pkg/genericclioptions/record_flags.go

    const ChangeCauseAnnotation = "kubernetes.io/change-cause"
    
    // RecordFlags contains all flags associated with the "--record" operation
    type RecordFlags struct {
    	// Record indicates the state of the recording flag.  It is a pointer so a caller can opt out or rebind
    	Record *bool
    
    	changeCause string
    }
    
    // ToRecorder returns a ChangeCause recorder if --record=false was not
    // explicitly given by the user
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/InputTrackingState.kt

    import kotlin.reflect.KProperty
    
    
    /**
     * Maintains the current state of the build configuration input tracking.
     * Input tracking may be disabled for a particular thread to avoid recording inputs that doesn't
     * directly affect the configuration.
     * For example, accessing environment variable inside the `ValueSource` being obtained at
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/RepositoryDisabler.java

         */
        Optional<Throwable> getDisabledReason(String repositoryId);
    
        /**
         * Attempts to disable the repository with the given id, recording the exception causing it to be disabled, if
         * that exception is deemed critical.
         *
         * @param repositoryId the id of the repository to disable
         * @param throwable the reason why the repository is being disabled
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 19:29:11 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. pkg/proxy/conntrack/fake.go

    limitations under the License.
    */
    
    package conntrack
    
    import (
    	"fmt"
    
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/util/sets"
    )
    
    // FakeInterface implements Interface by just recording entries that have been cleared.
    type FakeInterface struct {
    	ClearedIPs      sets.Set[string]
    	ClearedPorts    sets.Set[int]
    	ClearedNATs     map[string]string // origin -> dest
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 26 04:15:49 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheClassLoaderScopeRegistryListener.kt

        private
        val loaders = mutableMapOf<ClassLoader, Pair<ClassLoaderScopeSpec, ClassLoaderRole>>()
    
        override fun afterStart() {
            listenerManager.add(this)
        }
    
        /**
         * Stops recording [ClassLoaderScopeSpec]s and releases any recorded state.
         */
        fun dispose() {
            synchronized(lock) {
                // TODO:configuration-cache find a way to make `dispose` unnecessary;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. src/internal/trace/parser.go

    	FakeP    = 1000000 + iota
    	TimerP   // depicts timer unblocks
    	NetpollP // depicts network unblocks
    	SyscallP // depicts returns from syscalls
    	GCP      // depicts GC state
    	ProfileP // depicts recording of CPU profile samples
    )
    
    // Event types in the trace.
    // Verbatim copy from src/runtime/trace.go with the "trace" prefix removed.
    const (
    	EvNone              = 0  // unused
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:31:04 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. pkg/apis/storagemigration/types.go

    	// to migrate. When the .status.conditions indicates the migration is
    	// "Running", users can use this token to check the progress of the
    	// migration.
    	// +optional
    	ContinueToken string
    	// TODO: consider recording the storage version hash when the migration
    	// is created. It can avoid races.
    }
    
    // The names of the group, the version, and the resource.
    type GroupVersionResource struct {
    	// The name of the group.
    	Group string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/AbstractDevelocityInputIgnoringServiceIntegrationTest.groovy

            // TODO(mlopatkin) Accessing the value source in the background job should not make it an input,
            //  so the configuration should be loaded from the cache. A naive solution of gating the input
            //  recording will break the other test as only the first value source read is broadcasted to
            //  listeners.
            configurationCache.assertStateStored() // TODO: replace with .assertStateLoaded() once the above is implemented
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 29 16:27:53 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/telemetry/counter/counter.go

    // conventions.
    func NewStack(name string, depth int) *StackCounter {
    	return counter.NewStack(name, depth)
    }
    
    // Open prepares telemetry counters for recording to the file system.
    //
    // If the telemetry mode is "off", Open is a no-op. Otherwise, it opens the
    // counter file on disk and starts to mmap telemetry counters to the file.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 18:02:34 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  10. src/cmd/go/internal/help/help.go

    		n += n0
    		if err != nil {
    			return n, err
    		}
    		if b == '\n' {
    			c.wroteSlashes = false
    		}
    	}
    	return len(p), nil
    }
    
    // An errWriter wraps a writer, recording whether a write error occurred.
    type errWriter struct {
    	w   io.Writer
    	err error
    }
    
    func (w *errWriter) Write(b []byte) (int, error) {
    	n, err := w.w.Write(b)
    	if err != nil {
    		w.err = err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top