- Sort Score
- Result 10 results
- Languages All
Results 1181 - 1190 of 1,425 for Func (0.55 sec)
-
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) -
internal/disk/disk_windows.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 19 01:35:22 UTC 2021 - 951 bytes - Viewed (0) -
internal/s3select/csv/reader_contrib_test.go
t.Errorf("Case %d failed: expected %v results %v", i, c.totalFields, fields) } }) } } type errReader struct { err error } func (e errReader) Read(p []byte) (n int, err error) { return 0, e.err } func TestReadFailures(t *testing.T) { customErr := errors.New("unable to read file :(") cases := []struct { file string recordDelimiter string
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 19 18:05:16 UTC 2022 - 38.5K bytes - Viewed (0) -
internal/disk/disk_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package disk_test import ( "testing" "github.com/minio/minio/internal/disk" ) func TestFree(t *testing.T) { di, err := disk.GetInfo(t.TempDir(), true) if err != nil { t.Fatal(err) } if di.FSType == "UNKNOWN" { t.Error("Unexpected FSType", di.FSType) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 31 22:20:48 UTC 2023 - 1.1K bytes - Viewed (0) -
internal/disk/root_disk.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package disk import "runtime" // IsRootDisk returns if diskPath belongs to root-disk, i.e the disk mounted at "/" func IsRootDisk(diskPath string, rootDisk string) (bool, error) { if runtime.GOOS == "windows" { // On windows this function is not implemented. return false, nil } return SameDisk(diskPath, rootDisk)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 1.1K bytes - Viewed (0) -
istioctl/cmd/sysexits_test.go
analyze.FileParseError{}: ExitDataError, analyze.AnalyzerFoundIssuesError{}: ExitAnalyzerFoundIssues, } func TestKnownExitStrings(t *testing.T) { for err, wantCode := range KnownErrorCode { if code := GetExitCode(err); code != wantCode { t.Errorf("For %v want %v, but is %v", err, wantCode, code) } }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Jun 15 15:02:17 UTC 2023 - 1.3K bytes - Viewed (0)