Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,763 for perror (0.14 sec)

  1. src/internal/poll/fd_poll_runtime.go

    	if pd.runtimeCtx == 0 {
    		return errors.New("waiting for unsupported file type")
    	}
    	res := runtime_pollWait(pd.runtimeCtx, mode)
    	return convertErr(res, isFile)
    }
    
    func (pd *pollDesc) waitRead(isFile bool) error {
    	return pd.wait('r', isFile)
    }
    
    func (pd *pollDesc) waitWrite(isFile bool) error {
    	return pd.wait('w', isFile)
    }
    
    func (pd *pollDesc) waitCanceled(mode int) {
    	if pd.runtimeCtx == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:59 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. pkg/volume/flexvolume/plugin.go

    	return &flexVolumeAttacher{plugin}, nil
    }
    
    func (plugin *flexVolumeAttachablePlugin) NewDeviceMounter() (volume.DeviceMounter, error) {
    	return plugin.NewAttacher()
    }
    
    // NewDetacher is part of the volume.AttachableVolumePlugin interface.
    func (plugin *flexVolumeAttachablePlugin) NewDetacher() (volume.Detacher, error) {
    	return &flexVolumeDetacher{plugin}, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  3. tests/embedded_struct_test.go

    		t.Errorf("no error should happen when query with embedded struct, but got %v", err)
    	} else if egNews.BasePost.Title != "engadget_news" {
    		t.Errorf("embedded struct's value should be scanned correctly")
    	}
    
    	var egPosts []EngadgetPost
    	if err := DB.Order("author_name asc").Find(&egPosts).Error; err != nil {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  4. cni/pkg/ipset/nldeps_unspecified.go

    	return errors.New("not implemented on this platform")
    }
    
    func (m *realDeps) deleteIP(name string, ip netip.Addr, ipProto uint8) error {
    	return errors.New("not implemented on this platform")
    }
    
    func (m *realDeps) flush(name string) error {
    	return errors.New("not implemented on this platform")
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 22:24:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. pkg/util/coverage/fake_test_deps.go

    	return nil
    }
    
    //nolint:unused // U1000 see comment above, we know it's unused normally.
    func (fakeTestDeps) RunFuzzWorker(func(corpusEntry) error) error {
    	return nil
    }
    
    //nolint:unused // U1000 see comment above, we know it's unused normally.
    func (fakeTestDeps) ReadCorpus(string, []reflect.Type) ([]corpusEntry, error) {
    	return nil, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 15:31:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sync/errgroup/errgroup.go

    // the same overall task.
    //
    // A zero Group is valid, has no limit on the number of active goroutines,
    // and does not cancel on error.
    type Group struct {
    	cancel func(error)
    
    	wg sync.WaitGroup
    
    	sem chan token
    
    	errOnce sync.Once
    	err     error
    }
    
    func (g *Group) done() {
    	if g.sem != nil {
    		<-g.sem
    	}
    	g.wg.Done()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:57:25 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. src/internal/buildcfg/cfg_test.go

    	if goriscv64() != 22 {
    		t.Errorf("Wrong parsing of RISCV64=rva22u64")
    	}
    	Error = nil
    	os.Setenv("GORISCV64", "rva22")
    	if _ = goriscv64(); Error == nil {
    		t.Errorf("Wrong parsing of RISCV64=rva22")
    	}
    	Error = nil
    	os.Setenv("GOARM64", "v7.0")
    	if _ = goarm64(); Error == nil {
    		t.Errorf("Wrong parsing of GOARM64=7.0")
    	}
    	Error = nil
    	os.Setenv("GOARM64", "8.0")
    	if _ = goarm64(); Error == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  8. src/net/http/transport_internal_test.go

    		t.Errorf("pc.closed = %#v, %v; want errServerClosedIdle or transportReadFromServerError, or nothingWrittenError", err, err)
    	}
    }
    
    func isNothingWrittenError(err error) bool {
    	_, ok := err.(nothingWrittenError)
    	return ok
    }
    
    func isTransportReadFromServerError(err error) bool {
    	_, ok := err.(transportReadFromServerError)
    	return ok
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 15:57:17 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  9. src/os/stat_unix.go

    func statNolog(name string) (FileInfo, error) {
    	var fs fileStat
    	err := ignoringEINTR(func() error {
    		return syscall.Stat(name, &fs.sys)
    	})
    	if err != nil {
    		return nil, &PathError{Op: "stat", Path: name, Err: err}
    	}
    	fillFileStatFromSys(&fs, name)
    	return &fs, nil
    }
    
    // lstatNolog lstats a file with no test logging.
    func lstatNolog(name string) (FileInfo, error) {
    	var fs fileStat
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 22:38:03 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  10. pkg/registry/core/service/portallocator/storage/storage_test.go

    		t.Error("Allocator expected to be full")
    	}
    	// release one port in the allocated block and another a new one randomly
    	if err := storage.Release(basePortRange + 53); err != nil {
    		t.Fatalf("Unexpected error trying to release port 30053: %v", err)
    	}
    	if _, err := storage.AllocateNext(); err != nil {
    		t.Error(err)
    	}
    	if _, err := storage.AllocateNext(); err == nil {
    		t.Error("Allocator expected to be full")
    	}
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 08 07:15:02 UTC 2024
    - 8.1K bytes
    - Viewed (0)
Back to top