- Sort Score
- Result 10 results
- Languages All
Results 1181 - 1190 of 1,405 for rfunc (0.08 sec)
-
clause/joins_test.go
package clause_test import ( "sync" "testing" "gorm.io/gorm" "gorm.io/gorm/clause" "gorm.io/gorm/schema" "gorm.io/gorm/utils/tests" ) func TestJoin(t *testing.T) { results := []struct { name string join clause.Join sql string }{ { name: "LEFT JOIN", join: clause.Join{ Type: clause.LeftJoin, Table: clause.Table{Name: "user"}, ON: clause.Where{
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Nov 03 13:03:13 UTC 2022 - 2.6K bytes - Viewed (0) -
istioctl/pkg/writer/compare/comparator_test.go
// limitations under the License. package compare import ( "bytes" "os" "testing" ) // TestComparatorMatchingConfigs tests the scenario where Istiod and Envoy configurations match func TestComparatorMatchingSameConfigs(t *testing.T) { cfg, err := os.ReadFile("testdata/configdump.json") if err != nil { t.Fatalf("Failed to read test data: %v", err) } var outputBuffer bytes.Buffer
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Mar 12 10:02:09 UTC 2024 - 2.3K bytes - Viewed (0) -
cni/pkg/plugin/sidecar_iptables_linux.go
) // getNs is a unit test override variable for interface create. var getNs = ns.GetNS // Program defines a method which programs iptables based on the parameters // provided in Redirect. func (ipt *iptables) Program(podName, netns string, rdrct *Redirect) error { cfg := config.DefaultConfig() cfg.HostFilesystemPodNetwork = true cfg.NetworkNamespace = netns cfg.ProxyPort = rdrct.targetPort
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Jun 29 01:24:47 UTC 2024 - 2.6K bytes - Viewed (0) -
docs/debugging/inspect/main.go
export = flag.Bool("export", false, "export xl.meta") djson = flag.Bool("djson", false, "expect djson format for xl.meta") genkey = flag.Bool("genkey", false, "generate key pair") ) func main() { flag.Parse() if *genkey { generateKeys() os.Exit(0) } var privateKey []byte if *keyHex == "" { if b, err := os.ReadFile(*privKeyPath); err == nil { privateKey = b
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 31 14:49:23 UTC 2024 - 5.2K bytes - Viewed (0) -
internal/config/scanner/scanner.go
// Deprecated Oct 2022 config.KV{ Key: Cycle, Value: "", HiddenIfEmpty: true, }, } // LookupConfig - lookup config and override with valid environment settings if any. func LookupConfig(kvs config.KVS) (cfg Config, err error) { cfg = Config{ ExcessVersions: 100, ExcessFolders: 50000, IdleMode: 0, // Default is on }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 5.5K bytes - Viewed (0) -
cni/pkg/pluginlistener/listener.go
// limitations under the License. package pluginlistener import ( "fmt" "net" "os" "path/filepath" "istio.io/istio/pkg/log" ) func NewListener(path string) (net.Listener, error) { // Remove unix socket before use. if err := os.Remove(path); err != nil && !os.IsNotExist(err) { // Anything other than "file not found" is an error.
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jan 26 20:34:28 UTC 2024 - 1.7K bytes - Viewed (0) -
tensorflow/c/eager/c_api_remote_function_test.cc
bool remote_func_outputs = false, bool has_packed_input = false) { return TestRemoteExecuteSilentCopies(async, remote, /*func=*/true, heavy_load_on_streaming_rpc, remote_func_outputs, has_packed_input); } TEST(CAPI, RemoteExecuteSilentCopiesAsyncFunc) {
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Fri Dec 11 22:56:03 UTC 2020 - 3.6K bytes - Viewed (0) -
manifests/addons/dashboards/lib/lib-grid.libsonnet
// This is forked from https://grafana.github.io/grafonnet/API/util.html#obj-grid // to allow automatic width to fill the grid { local root = self, local gridWidth = 24, '#makeGrid':: d.func.new( ||| `makeGrid` returns an array of `panels` organized in a grid with equal width and `panelHeight`. Row panels are used as "linebreaks", if a Row panel is collapsed,
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Jun 04 18:05:06 UTC 2024 - 2.3K bytes - Viewed (0) -
cmd/os-dirent_namelen_bsd.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import "syscall" func direntNamlen(dirent *syscall.Dirent) (uint64, error) { return uint64(dirent.Namlen), nil
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 19 01:35:22 UTC 2021 - 982 bytes - Viewed (0) -
cmd/version_test.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "testing" "time" ) func TestVersion(t *testing.T) { Version = "2017-05-07T06:37:49Z" _, err := time.Parse(time.RFC3339, Version) if err != nil { t.Fatal(err) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 956 bytes - Viewed (0)