Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 129 for mod$ (0.12 sec)

  1. guava-tests/test/com/google/common/collect/MapsTest.java

      @GwtIncompatible // NavigableMap
      public void testUnmodifiableNavigableMap() {
        TreeMap<Integer, String> mod = Maps.newTreeMap();
        mod.put(1, "one");
        mod.put(2, "two");
        mod.put(3, "three");
    
        NavigableMap<Integer, String> unmod = unmodifiableNavigableMap(mod);
    
        /* unmod is a view. */
        mod.put(4, "four");
        assertEquals("four", unmod.get(4));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 67.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/SetsTest.java

      }
    
      @GwtIncompatible // NavigableSet
      public void testUnmodifiableNavigableSet() {
        TreeSet<Integer> mod = Sets.newTreeSet();
        mod.add(1);
        mod.add(2);
        mod.add(3);
    
        NavigableSet<Integer> unmod = unmodifiableNavigableSet(mod);
    
        /* Unmodifiable is a view. */
        mod.add(4);
        assertTrue(unmod.contains(4));
        assertTrue(unmod.descendingSet().contains(4));
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 49.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/_gen/ARM64Ops.go

    		{name: "SRAconst", argLength: 1, reg: gp11, asm: "ASR", aux: "Int64"},     // arg0 >> auxInt, signed, auxInt should be in the range 0 to 63.
    		{name: "ROR", argLength: 2, reg: gp21, asm: "ROR"},                        // arg0 right rotate by (arg1 mod 64) bits
    		{name: "RORW", argLength: 2, reg: gp21, asm: "RORW"},                      // arg0 right rotate by (arg1 mod 32) bits
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 58.8K bytes
    - Viewed (0)
  4. src/go/build/build.go

    }
    
    // Import is shorthand for Default.Import.
    func Import(path, srcDir string, mode ImportMode) (*Package, error) {
    	return Default.Import(path, srcDir, mode)
    }
    
    // ImportDir is shorthand for Default.ImportDir.
    func ImportDir(dir string, mode ImportMode) (*Package, error) {
    	return Default.ImportDir(dir, mode)
    }
    
    var (
    	plusBuild = []byte("+build")
    
    	goBuildComment = []byte("//go:build")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  5. src/net/http/httputil/reverseproxy_test.go

    		w.Header().Add("X-Hit-Mod", fmt.Sprintf("%v", r.URL.Path == "/mod"))
    	}))
    	defer backendServer.Close()
    
    	rpURL, _ := url.Parse(backendServer.URL)
    	rproxy := NewSingleHostReverseProxy(rpURL)
    	rproxy.ErrorLog = log.New(io.Discard, "", 0) // quiet for tests
    	rproxy.ModifyResponse = func(resp *http.Response) error {
    		if resp.Header.Get("X-Hit-Mod") != "true" {
    			return fmt.Errorf("tried to by-pass proxy")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 54.6K bytes
    - Viewed (0)
  6. src/cmd/dist/build.go

    	os.Unsetenv("GO111MODULE")
    	os.Setenv("GOENV", "off")
    	os.Unsetenv("GOFLAGS")
    	os.Setenv("GOWORK", "off")
    
    	workdir = xworkdir()
    	if err := os.WriteFile(pathf("%s/go.mod", workdir), []byte("module bootstrap"), 0666); err != nil {
    		fatalf("cannot write stub go.mod: %s", err)
    	}
    	xatexit(rmworkdir)
    
    	tooldir = pathf("%s/pkg/tool/%s_%s", goroot, gohostos, gohostarch)
    
    	goversion := findgoversion()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:40 UTC 2024
    - 54K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/loong64/asm.go

    	case ADIVV:
    		return 0x44 << 15 // div.d
    	case ADIVVU:
    		return 0x46 << 15 // div.du
    	case AREM:
    		return 0x41 << 15 // mod.w
    	case AREMU:
    		return 0x43 << 15 // mod.wu
    	case AREMV:
    		return 0x45 << 15 // mod.d
    	case AREMVU:
    		return 0x47 << 15 // mod.du
    
    	case AJMP:
    		return 0x13 << 26 // jirl r0, rj, 0
    	case AJAL:
    		return (0x13 << 26) | 1 // jirl r1, rj, 0
    
    	case ADIVF:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 61.8K bytes
    - Viewed (0)
  8. src/time/time.go

    // of the week match up. It simplifies the computations to choose the
    // cycle boundaries so that the exceptional years are always delayed as
    // long as possible. That means choosing a year equal to 1 mod 400, so
    // that the first leap year is the 4th year, the first missed leap year
    // is the 100th year, and the missed missed leap year is the 400th year.
    // So we'd prefer instead to print a calendar for 2001-2400 and reuse it
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 50.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

        return success();
      }
    };
    
    #include "tensorflow/compiler/mlir/lite/transforms/generated_lower_static_tensor_list.inc"
    
    bool ModuleContainsTensorListOp(ModuleOp mod) {
      auto res = mod->walk([&](mlir::Operation *op) -> WalkResult {
        if (op->getName().getStringRef().contains("TensorList")) {
          return WalkResult::interrupt();
        }
        return WalkResult::advance();
      });
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
  10. src/cmd/go/internal/test/test.go

    Go test runs in two different modes:
    
    The first, called local directory mode, occurs when go test is
    invoked with no package arguments (for example, 'go test' or 'go
    test -v'). In this mode, go test compiles the package sources and
    tests found in the current directory and then runs the resulting
    test binary. In this mode, caching (discussed below) is disabled.
    After the package test finishes, go test prints a summary line
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
Back to top