Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 214 for RECORD (0.09 sec)

  1. src/log/slog/record.go

    package slog
    
    import (
    	"runtime"
    	"slices"
    	"time"
    )
    
    const nAttrsInline = 5
    
    // A Record holds information about a log event.
    // Copies of a Record share state.
    // Do not modify a Record after handing out a copy to it.
    // Call [NewRecord] to create a new Record.
    // Use [Record.Clone] to create a copy with no shared state.
    type Record struct {
    	// The time at which the output method (Log, Info, etc.) was called.
    	Time time.Time
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 16:30:56 UTC 2023
    - 6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/cli-runtime/pkg/genericclioptions/record_flags.go

    	if f == nil {
    		return
    	}
    
    	if f.Record != nil {
    		cmd.Flags().BoolVar(f.Record, "record", *f.Record, "Record current kubectl command in the resource annotation. If set to false, do not record the command. If set to true, record the command. If not set, default to updating the existing annotation value only if one already exists.")
    		cmd.Flags().MarkDeprecated("record", "--record will be removed in the future")
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. maven-slf4j-provider/src/main/java/org/apache/maven/slf4j/MavenFailOnSeverityLogger.java

            super.warn(msg);
            logLevelRecorder.record(Level.WARN);
        }
    
        /**
         * Perform single parameter substitution before logging the message of level
         * WARN according to the format outlined above.
         */
        @Override
        public void warn(String format, Object arg) {
            super.warn(format, arg);
            logLevelRecorder.record(Level.WARN);
        }
    
        /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jan 09 06:36:58 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/jos/RecordingObjectOutputStream.kt

            writeString(str)
        }
    
        override fun writeObjectOverride(obj: Any?) = record {
            write(obj)
        }
    
        override fun write(`val`: Int) = record {
            outputStream.write(`val`)
        }
    
        override fun write(buf: ByteArray) = record {
            outputStream.write(buf)
        }
    
        override fun write(buf: ByteArray, off: Int, len: Int) = record {
            outputStream.write(buf, off, len)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. pkg/kubelet/userns/userns_manager_switch_test.go

    	// Create the manager with the feature gate enabled, to record some pods on disk.
    	featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, pkgfeatures.UserNamespacesSupport, true)
    
    	pods := []types.UID{"pod-1", "pod-2"}
    
    	testUserNsPodsManager := &testUserNsPodsManager{
    		podDir: t.TempDir(),
    		// List the same pods we will record, so the second time we create the userns
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. internal/s3select/sql/aggregation.go

    }
    
    func (e *AliasedExpression) aggregateRow(r Record, tableAlias string) error {
    	return e.Expression.aggregateRow(r, tableAlias)
    }
    
    func (e *Expression) aggregateRow(r Record, tableAlias string) error {
    	for _, ex := range e.And {
    		err := ex.aggregateRow(r, tableAlias)
    		if err != nil {
    			return err
    		}
    	}
    	return nil
    }
    
    func (e *ListExpr) aggregateRow(r Record, tableAlias string) error {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Dec 23 07:19:11 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginArtifactsCache.java

            Objects.requireNonNull(pluginArtifacts, "pluginArtifacts cannot be null");
    
            assertUniqueKey(key);
    
            CacheRecord record = new CacheRecord(Collections.unmodifiableList(new ArrayList<>(pluginArtifacts)));
    
            cache.put(key, record);
    
            return record;
        }
    
        protected void assertUniqueKey(Key key) {
            if (cache.containsKey(key)) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  8. internal/s3select/sql/statement.go

    		}
    		return r, nil
    	}
    }
    
    // EvalFrom evaluates the From clause on the input record. It only
    // applies to JSON input data format (currently).
    func (e *SelectStatement) EvalFrom(format string, input Record) ([]*Record, error) {
    	if !e.selectAST.From.HasKeypath() {
    		return []*Record{&input}, nil
    	}
    	_, rawVal := input.Raw()
    
    	if format != "json" {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jan 09 17:19:11 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  9. pkg/monitoring/monitoring_test.go

    	assertRecordedMetrics()
    
    	// Once we write it shows up
    	testEmptyGauge.Record(0)
    	testEmptySum.Record(0)
    	testEmptyDistribution.Record(0)
    	assertRecordedMetrics(relevantMetrics.UnsortedList()...)
    }
    
    func TestGauge(t *testing.T) {
    	mt := monitortest.New(t)
    
    	testGauge.Record(42)
    	testGauge.Record(77)
    
    	mt.Assert(testGauge.Name(), nil, monitortest.Exactly(77))
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Sep 13 16:04:48 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  10. src/encoding/csv/fuzz_test.go

    				t.Logf("records = %v\n", records)
    				t.Fatal(err)
    			}
    
    			// The reader turns \r\n into \n.
    			for _, record := range records {
    				for i, s := range record {
    					record[i] = strings.ReplaceAll(s, "\r\n", "\n")
    				}
    			}
    			// Note that the reader parses the quoted record "" as an empty string,
    			// and the writer turns that into an empty line, which the reader skips over.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 01:26:13 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top