Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 39 for MOD (0.03 sec)

  1. 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)
  2. src/math/all_test.go

    		}
    	}
    }
    
    func TestMod(t *testing.T) {
    	for i := 0; i < len(vf); i++ {
    		if f := Mod(10, vf[i]); fmod[i] != f {
    			t.Errorf("Mod(10, %g) = %g, want %g", vf[i], f, fmod[i])
    		}
    	}
    	for i := 0; i < len(vffmodSC); i++ {
    		if f := Mod(vffmodSC[i][0], vffmodSC[i][1]); !alike(fmodSC[i], f) {
    			t.Errorf("Mod(%g, %g) = %g, want %g", vffmodSC[i][0], vffmodSC[i][1], f, fmodSC[i])
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jul 07 17:39:26 UTC 2023
    - 86.8K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/cmd/go/internal/test/test.go

    	"cmd/go/internal/lockedfile"
    	"cmd/go/internal/modload"
    	"cmd/go/internal/search"
    	"cmd/go/internal/str"
    	"cmd/go/internal/trace"
    	"cmd/go/internal/work"
    	"cmd/internal/test2json"
    
    	"golang.org/x/mod/module"
    )
    
    // Break init loop.
    func init() {
    	CmdTest.Run = runTest
    }
    
    const testUsage = "go test [build/test flags] [packages] [build/test flags & test binary flags]"
    
    var CmdTest = &base.Command{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  8. tensorflow/cc/gradients/math_grad.cc

      // [3]
      auto rank = Rank(cpu_scope, op.input(0));
    
      // Normalize any negative indices in the reduction_axes to positive values.
      auto reduction_indices_pos =
          Mod(cpu_scope, Add(cpu_scope, reduction_indices, rank), rank);
    
      // [1]
      auto reduced = Cast(cpu_scope, reduction_indices_pos, DataType::DT_INT32);
    
      // [0, 1, 2]
      auto idx = Range(cpu_scope, zero, rank, one);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 25 18:20:20 UTC 2023
    - 50.7K bytes
    - Viewed (0)
  9. pkg/proxy/nftables/proxier.go

    		)
    		if i != len(endpoints)-1 {
    			elements = append(elements, ",")
    		}
    	}
    	tx.Add(&knftables.Rule{
    		Chain: svcChain,
    		Rule: knftables.Concat(
    			"numgen random mod", len(endpoints), "vmap",
    			"{", elements, "}",
    		),
    	})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/_gen/AMD64.rules

    (Select1 (NEGLflags (NEGQ (SBBQcarrymask x)))) => x
    
    
    (Mul64uhilo ...) => (MULQU2 ...)
    (Div128u ...) => (DIVQU2 ...)
    
    (Avg64u ...) => (AVGQU ...)
    
    (Mod(64|32|16) [a] x y) => (Select1 (DIV(Q|L|W) [a] x y))
    (Mod8  x y) => (Select1 (DIVW  (SignExt8to16 x) (SignExt8to16 y)))
    (Mod(64|32|16)u x y) => (Select1 (DIV(Q|L|W)U x y))
    (Mod8u x y) => (Select1 (DIVWU (ZeroExt8to16 x) (ZeroExt8to16 y)))
    
    (And(64|32|16|8) ...) => (AND(Q|L|L|L) ...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 93.9K bytes
    - Viewed (0)
Back to top