Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for nval1 (0.03 seconds)

  1. tests/lru_test.go

    	lc := lru.NewLRU[string, string](0, nil, time.Millisecond*5)
    
    	lc.Add("key1", "val1")
    	if lc.Len() != 1 {
    		t.Fatalf("length differs from expected")
    	}
    
    	v, ok := lc.Peek("key1")
    	if v != "val1" {
    		t.Fatalf("value differs from expected")
    	}
    	if !ok {
    		t.Fatalf("should be true")
    	}
    
    	v, ok = lc.Get("key1")
    	if v != "val1" {
    		t.Fatalf("value differs from expected")
    	}
    	if !ok {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Sep 08 09:19:22 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  2. internal/s3select/sql/funceval.go

    }
    
    func handleDateDiff(r Record, d *DateDiffFunc, tableAlias string) (*Value, error) {
    	tval1, err := d.Timestamp1.evalNode(r, tableAlias)
    	if err != nil {
    		return nil, err
    	}
    	if err = inferTypeAsTimestamp(tval1); err != nil {
    		return nil, err
    	}
    	ts1, ok := tval1.ToTimestamp()
    	if !ok {
    		return nil, fmt.Errorf("%s() expects two timestamp arguments", sqlFnDateDiff)
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  3. internal/bucket/lifecycle/lifecycle_test.go

    			expectedValidationErr: errLifecycleNoRule,
    		},
    		{ // Valid lifecycle config
    			inputConfig: `<LifecycleConfiguration>
    					  <Rule>
    					  <Filter>
    					  <And><Tag><Key>key1</Key><Value>val1</Value><Key>key2</Key><Value>val2</Value></Tag></And>
    		                          </Filter>
    		                          <Expiration><Days>3</Days></Expiration>
    		                          </Rule>
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 55.5K bytes
    - Click Count (0)
  4. compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesTest.java

            pw.println("# Comment ");
            pw.println("# ");
            pw.println("");
            pw.println("# Another comment");
            pw.println("");
            pw.println("# A value comment");
            pw.println("key1 = val1");
            pw.println("");
            pw.println("# Another value comment");
            pw.println("key2 = ${key1}/foo");
            pw.println("");
            pw.println("# A third comment");
            pw.println("key3 = val3");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 16.4K bytes
    - Click Count (0)
  5. cmd/xl-storage-format_test.go

    		Distribution: []int{9, 10, 1, 2, 3, 4, 5, 6, 7, 8},
    	}
    	xlMeta.Stat = StatInfo{
    		Size:    int64(20),
    		ModTime: UTCNow(),
    	}
    	// Set meta data.
    	xlMeta.Meta = make(map[string]string)
    	xlMeta.Meta["testKey1"] = "val1"
    	xlMeta.Meta["testKey2"] = "val2"
    	return xlMeta
    }
    
    func (m *xlMetaV1Object) AddTestObjectCheckSum(partNumber int, algorithm BitrotAlgorithm, hash string) {
    	checksum, err := hex.DecodeString(hash)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  6. src/archive/tar/reader_test.go

    		{"3 somelongkey=\n", nil, false},
    		{"50 tooshort=\n", nil, false},
    		{"13 key1=haha\n13 key2=nana\n13 key3=kaka\n",
    			map[string]string{"key1": "haha", "key2": "nana", "key3": "kaka"}, true},
    		{"13 key1=val1\n13 key2=val2\n8 key1=\n",
    			map[string]string{"key1": "", "key2": "val2"}, true},
    		{"22 GNU.sparse.size=10\n26 GNU.sparse.numblocks=2\n" +
    			"23 GNU.sparse.offset=1\n25 GNU.sparse.numbytes=2\n" +
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Dec 15 16:34:13 GMT 2025
    - 47.5K bytes
    - Click Count (0)
Back to Top