Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 71 for caerror (0.28 sec)

  1. src/cmd/cgo/internal/testcshared/testdata/main1.c

    int check_int8(void* handle, const char* fname, int8_t want) {
      int8_t (*fn)();
      fn = (int8_t (*)())dlsym(handle, fname);
      if (!fn) {
        fprintf(stderr, "ERROR: missing %s: %s\n", fname, dlerror());
        return 1;
      }
      signed char ret = fn();
      if (ret != want) {
        fprintf(stderr, "ERROR: %s=%d, want %d\n", fname, ret, want);
        return 1;
      }
      return 0;
    }
    
    int check_int32(void* handle, const char* fname, int32_t want) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. src/os/error.go

    func (e *SyscallError) Unwrap() error { return e.Err }
    
    // Timeout reports whether this error represents a timeout.
    func (e *SyscallError) Timeout() bool {
    	t, ok := e.Err.(timeout)
    	return ok && t.Timeout()
    }
    
    // NewSyscallError returns, as an error, a new [SyscallError]
    // with the given system call name and error details.
    // As a convenience, if err is nil, NewSyscallError returns nil.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. internal/crypto/error.go

    	e := fmt.Errorf(format, a...)
    	ee := Error{}
    	ee.msg = e.Error()
    	ee.cause = errors.Unwrap(e)
    	return ee
    }
    
    // Unwrap the internal error.
    func (e Error) Unwrap() error { return e.cause }
    
    // Error 'error' compatible method.
    func (e Error) Error() string {
    	if e.msg == "" {
    		return "crypto: cause <nil>"
    	}
    	return e.msg
    }
    
    var (
    	// ErrInvalidEncryptionMethod indicates that the specified SSE encryption method
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Mar 28 17:44:56 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. src/html/template/error.go

    import (
    	"fmt"
    	"text/template/parse"
    )
    
    // Error describes a problem encountered during template Escaping.
    type Error struct {
    	// ErrorCode describes the kind of error.
    	ErrorCode ErrorCode
    	// Node is the node that caused the problem, if known.
    	// If not nil, it overrides Name and Line.
    	Node parse.Node
    	// Name is the name of the template in which the error was encountered.
    	Name string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 02 15:18:39 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/testcshared/testdata/main3.c

      void* handle = dlopen(argv[1], RTLD_LAZY | RTLD_GLOBAL);
      if (!handle) {
        fprintf(stderr, "ERROR: failed to open the shared library: %s\n",
                dlerror());
        return 2;
      }
    
      uintptr_t main_fn = (uintptr_t)dlsym(handle, "main.main");
      if (!main_fn) {
        fprintf(stderr, "ERROR: missing main.main: %s\n", dlerror());
        return 2;
      }
    
      // TODO(hyangah): check that main.main can run.
    
      printf("PASS\n");
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 785 bytes
    - Viewed (0)
  6. pkg/network/error.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package network
    
    import (
    	"errors"
    	"net"
    	"net/http"
    )
    
    func IsUnexpectedListenerError(err error) bool {
    	if err == nil {
    		return false
    	}
    	if errors.Is(err, net.ErrClosed) {
    		return false
    	}
    	if errors.Is(err, http.ErrServerClosed) {
    		return false
    	}
    	return true
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 21 08:25:27 UTC 2023
    - 858 bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexResponse.java

                hasError = false;
            } else {
                hasError = true;
                errors.forEach(this.errors::add);
            }
        }
    
        public int getNumberOfSuggestDocs() {
            return numberOfSuggestDocs;
        }
    
        public int getNumberOfInputDocs() {
            return numberOfInputDocs;
        }
    
        public boolean hasError() {
            return hasError;
        }
    
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. test/fixedbugs/bug195.go

    package main
    
    type I1 interface{ I2 } // ERROR "interface"
    type I2 int
    
    type I3 interface{ int } // ERROR "interface"
    
    type S struct { // GC_ERROR "invalid recursive type"
    	x interface{ S } // GCCGO_ERROR "interface"
    }
    type I4 interface { // GC_ERROR "invalid recursive type: I4 refers to itself"
    	I4 // GCCGO_ERROR "interface"
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 29 14:21:33 UTC 2022
    - 704 bytes
    - Viewed (0)
  9. pkg/controller/nodeipam/ipam/sync/sync_test.go

    			t.Errorf("%v, %v; fake.events = %#v, want %#v", tc.desc, tc.mode, tc.fake.events, tc.events)
    		}
    
    		var hasError bool
    		for _, r := range tc.fake.results {
    			hasError = hasError || (r != nil)
    		}
    		if hasError != tc.wantError {
    			t.Errorf("%v, %v; hasError = %t, errors = %v, want %t",
    				tc.desc, tc.mode, hasError, tc.fake.events, tc.wantError)
    		}
    	}
    }
    
    func TestNodeSyncResync(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 05 23:39:52 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  10. test/fixedbugs/issue52697.go

    // license that can be found in the LICENSE file.
    
    //go:build !386 && !amd64p32 && !arm && !mips && !mipsle
    
    package main
    
    func g() { // GC_ERROR "stack frame too large"
    	xs := [3000 * 2000][33]int{}
    	for _, x := range xs {
    		if len(x) > 50 {
    
    		}
    	}
    }
    
    func main() { // GC_ERROR "stack frame too large"
    	defer f()
    	g()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 16:32:07 UTC 2023
    - 459 bytes
    - Viewed (0)
Back to top