Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 31 for new404 (0.28 sec)

  1. tensorflow/cc/gradients/math_grad_test.cc

        EXPECT_LT(max_error, 1e-3f);
      }
    
      float RV(const std::vector<float>& v) {
        return v[random::New64() % v.size()];
      }
    
      complex64 CRV(const std::vector<complex64>& v) {
        return v[random::New64() % v.size()];
      }
    
      complex64 conjugate(const complex64& val) {
        return complex64(val.real(), -val.imag());
      }
    
      Scope scope_;
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 25 18:20:20 UTC 2023
    - 36K bytes
    - Viewed (0)
  2. src/crypto/sha256/sha256_test.go

    	}
    }
    
    func TestSize(t *testing.T) {
    	c := New()
    	if got := c.Size(); got != Size {
    		t.Errorf("Size = %d; want %d", got, Size)
    	}
    	c = New224()
    	if got := c.Size(); got != Size224 {
    		t.Errorf("New224.Size = %d; want %d", got, Size224)
    	}
    }
    
    func TestBlockSize(t *testing.T) {
    	c := New()
    	if got := c.BlockSize(); got != BlockSize {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 03 21:21:42 UTC 2023
    - 34.8K bytes
    - Viewed (0)
  3. test/live.go

    type T40 struct {
    	m map[int]int
    }
    
    //go:noescape
    func useT40(*T40)
    
    func newT40() *T40 {
    	ret := T40{}
    	ret.m = make(map[int]int, 42) // ERROR "live at call to makemap: &ret$"
    	return &ret
    }
    
    func bad40() {
    	t := newT40()
    	_ = t
    	printnl()
    }
    
    func good40() {
    	ret := T40{}              // ERROR "stack object ret T40$"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 18K bytes
    - Viewed (0)
  4. src/crypto/tls/prf.go

    	switch version {
    	case VersionTLS10, VersionTLS11:
    		return prf10, crypto.Hash(0)
    	case VersionTLS12:
    		if suite.flags&suiteSHA384 != 0 {
    			return prf12(sha512.New384), crypto.SHA384
    		}
    		return prf12(sha256.New), crypto.SHA256
    	default:
    		panic("unknown version")
    	}
    }
    
    func prfForVersion(version uint16, suite *cipherSuite) func(result, secret, label, seed []byte) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 16:29:49 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  5. test/live_regabi.go

    type T40 struct {
    	m map[int]int
    }
    
    //go:noescape
    func useT40(*T40)
    
    func newT40() *T40 {
    	ret := T40{}
    	ret.m = make(map[int]int, 42) // ERROR "live at call to makemap: &ret$"
    	return &ret
    }
    
    func bad40() {
    	t := newT40()
    	_ = t
    	printnl()
    }
    
    func good40() {
    	ret := T40{}              // ERROR "stack object ret T40$"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 18.4K bytes
    - Viewed (0)
  6. tests/hooks_test.go

    		t.Errorf("invalid data after update, got %+v", product)
    	}
    
    	// Code changed, price should changed
    	DB.Model(&product).Select("Name", "Code", "Price").Updates(Product3{Name: "Product New4", Code: ""})
    	if product.Name != "Product New4" || product.Price != 320 || product.Code != "" {
    		t.Errorf("invalid data after update, got %+v", product)
    	}
    
    	DB.Model(&product).UpdateColumns(Product3{Code: "L1215"})
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Sat Feb 18 01:20:29 UTC 2023
    - 15.9K bytes
    - Viewed (0)
  7. tensorflow/cc/gradients/nn_grad_test.cc

          tensor_flat(i) = cur;
          cur += 5e-2;
        }
        // Fischer-Yates shuffle the array
        for (size_t i = tensor->NumElements() - 1; i >= 1; i--) {
          // j <- random integer 0 <= j <= i
          size_t j = random::New64() % (i + 1);
          // swap values at i, j
          T tmp = tensor_flat(i);
          tensor_flat(i) = tensor_flat(j);
          tensor_flat(j) = tmp;
        }
      }
    
      Scope scope_;
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 22 20:45:22 UTC 2022
    - 15K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_variable_runtime_reformatting.cc

    constexpr char kDefaultShardingValue[] = "";
    constexpr char kMirroredVariableIndicesAttr[] = "_mirrored_variable_indices";
    
    std::string GetRandomStateVariableName() {
      return absl::StrCat("VariablesFormatState_", tensorflow::random::New64());
    }
    
    #define GEN_PASS_DEF_TPUVARIABLERUNTIMEREFORMATTINGPASS
    #include "tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/runtime_passes.h.inc"
    
    struct TPUVariableRuntimeReformattingPass
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  9. src/crypto/sha512/sha512_test.go

    			}
    		}
    	}
    }
    
    func TestSize(t *testing.T) {
    	c := New()
    	if got := c.Size(); got != Size {
    		t.Errorf("Size = %d; want %d", got, Size)
    	}
    	c = New384()
    	if got := c.Size(); got != Size384 {
    		t.Errorf("New384.Size = %d; want %d", got, Size384)
    	}
    	c = New512_224()
    	if got := c.Size(); got != Size224 {
    		t.Errorf("New512224.Size = %d; want %d", got, Size224)
    	}
    	c = New512_256()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 03 21:17:08 UTC 2023
    - 105.6K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"Sum", Func, 2},
    	},
    	"crypto/sha256": {
    		{"BlockSize", Const, 0},
    		{"New", Func, 0},
    		{"New224", Func, 0},
    		{"Size", Const, 0},
    		{"Size224", Const, 0},
    		{"Sum224", Func, 2},
    		{"Sum256", Func, 2},
    	},
    	"crypto/sha512": {
    		{"BlockSize", Const, 0},
    		{"New", Func, 0},
    		{"New384", Func, 0},
    		{"New512_224", Func, 5},
    		{"New512_256", Func, 5},
    		{"Size", Const, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top