Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 136 for oldu (0.1 sec)

  1. src/cmd/go/testdata/script/work_edit.txt

    )
    
    replace x.1 v1.4.0 => ../z
    -- go.work.want_json --
    {
    	"Go": "1.19",
    	"Use": [
    		{
    			"DiskPath": "../a"
    		},
    		{
    			"DiskPath": "./b"
    		}
    	],
    	"Replace": [
    		{
    			"Old": {
    				"Path": "x.1",
    				"Version": "v1.4.0"
    			},
    			"New": {
    				"Path": "../z"
    			}
    		}
    	]
    }
    -- unformatted --
    go 1.18
     use (
     a
      b
      c
      )
      replace (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:52:10 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. src/cmd/internal/objfile/plan9obj.go

    	if pclntab, err = loadPlan9Table(f.plan9, "runtime.pclntab", "runtime.epclntab"); err != nil {
    		// We didn't find the symbols, so look for the names used in 1.3 and earlier.
    		// TODO: Remove code looking for the old symbols when we no longer care about 1.3.
    		var err2 error
    		if pclntab, err2 = loadPlan9Table(f.plan9, "pclntab", "epclntab"); err2 != nil {
    			return 0, nil, nil, err
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 21 01:01:44 UTC 2017
    - 3.5K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modfetch/sumdb.go

    		// the first time we connect to a given database.
    		return []byte{}, nil
    	}
    	return data, err
    }
    
    // WriteConfig rewrites the latest tree head.
    func (*dbClient) WriteConfig(file string, old, new []byte) error {
    	if file == "key" {
    		// Should not happen.
    		return fmt.Errorf("cannot write key")
    	}
    	if cfg.SumdbDir == "" {
    		return fmt.Errorf("could not locate sumdb file: missing $GOPATH: %s",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 20 15:02:47 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  4. src/cmd/fix/cftype.go

    	register(cftypeFix)
    }
    
    var cftypeFix = fix{
    	name:     "cftype",
    	date:     "2017-09-27",
    	f:        cftypefix,
    	desc:     `Fixes initializers and casts of C.*Ref and JNI types`,
    	disabled: false,
    }
    
    // Old state:
    //
    //	type CFTypeRef unsafe.Pointer
    //
    // New state:
    //
    //	type CFTypeRef uintptr
    //
    // and similar for other *Ref types.
    // This fix finds nils initializing these types and replaces the nils with 0s.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 00:25:49 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/godebug_default.txt

    cp go.mod.21 go.mod
    ! go run .
    stderr 'panic: panic called with nil argument'
    
    ! go run rsc.io/panicnil
    stderr 'panic: panic called with nil argument'
    
    # Programs in Go 1.20 work module use old panic nil behavior.
    cp go.mod.20 go.mod
    ! go run .
    stderr 'panic: nil'
    
    ! go run rsc.io/panicnil
    stderr 'panic: nil'
    
    # Programs in no module at all should use their go.mod file.
    rm go.mod
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:52:10 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. src/cmd/internal/pgo/pprof.go

    		// fall back to using absolute line numbers, which is better
    		// than nothing.
    		return NamedEdgeMap{}, 0, fmt.Errorf("profile missing Function.start_line data (Go version of profiled application too old? Go 1.20+ automatically adds this to profiles)")
    	}
    	return postProcessNamedEdgeMap(weight, totalWeight)
    }
    
    func sortByWeight(edges []NamedCallEdge, weight map[NamedCallEdge]int64) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:20:01 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/BiMapPutTester.java

      @CollectionSize.Require(ZERO)
      public void testPutPresentKeyDifferentValue() {
        getMap().put(k0(), v0());
        getMap().put(k0(), v1());
        // verify that the bimap is changed, and that the old inverse mapping
        // from v1 -> v0 is deleted
        expectContents(Helpers.mapEntry(k0(), v1()));
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(ZERO)
      public void putDistinctKeysDistinctValues() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/ListSetTester.java

        doTestSet(e3());
      }
    
      private void doTestSet(E newValue) {
        int index = aValidIndex();
        E initialValue = getList().get(index);
        assertEquals(
            "set(i, x) should return the old element at position i.",
            initialValue,
            getList().set(index, newValue));
        assertEquals("After set(i, x), get(i) should return x", newValue, getList().get(index));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapPutTester.java

      @CollectionSize.Require(ZERO)
      public void testPutPresentKeyDifferentValue() {
        getMap().put(k0(), v0());
        getMap().put(k0(), v1());
        // verify that the bimap is changed, and that the old inverse mapping
        // from v1 -> v0 is deleted
        expectContents(Helpers.mapEntry(k0(), v1()));
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(ZERO)
      public void putDistinctKeysDistinctValues() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/ListSetTester.java

        doTestSet(e3());
      }
    
      private void doTestSet(E newValue) {
        int index = aValidIndex();
        E initialValue = getList().get(index);
        assertEquals(
            "set(i, x) should return the old element at position i.",
            initialValue,
            getList().set(index, newValue));
        assertEquals("After set(i, x), get(i) should return x", newValue, getList().get(index));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top