Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,624 for Perron (0.22 sec)

  1. src/cmd/api/testdata/src/pkg/p1/p1.go

    )
    
    // Variables from function calls.
    var (
    	V = ptwo.F()
    	// Deprecated: use WError.
    	VError = BarE()
    	V1     = Bar1(1, 2, 3)
    	V2     = ptwo.G()
    )
    
    // Variables with conversions:
    var (
    	StrConv  = string("foo")
    	ByteConv = []byte("foo")
    )
    
    var ChecksumError = ptwo.NewError("gzip checksum error")
    
    const B0 = 2
    const StrConst = "foo"
    const FloatConst = 1.5
    
    type myInt int
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Dec 02 16:29:41 GMT 2022
    - 3.3K bytes
    - Viewed (0)
  2. tests/scan_test.go

    	if err := DB.Select("people.*, addresses.*").
    		Table("people").
    		Joins("inner join person_addresses on people.id = person_addresses.person_id").
    		Joins("inner join addresses on person_addresses.address_id = addresses.id").
    		Find(&personAddressInfoList).Error; err != nil {
    		t.Errorf("Failed to run join query, got error: %v", err)
    	}
    
    	personMatched := false
    	addressMatched := false
    
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Sat May 28 14:18:07 GMT 2022
    - 8.2K bytes
    - Viewed (0)
  3. tests/joins_table_test.go

    	person := Person{Name: "person", Addresses: []Address{address1, address2}}
    	DB.Create(&person)
    
    	var addresses1 []Address
    	if err := DB.Model(&person).Association("Addresses").Find(&addresses1); err != nil || len(addresses1) != 2 {
    		t.Fatalf("Failed to find address, got error %v, length: %v", err, len(addresses1))
    	}
    
    	if err := DB.Model(&person).Association("Addresses").Delete(&person.Addresses[0]); err != nil {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Thu Sep 10 13:46:18 GMT 2020
    - 3.5K bytes
    - Viewed (0)
  4. cmd/xl-storage-errors.go

    	var pathErr *os.PathError
    	if errors.As(err, &pathErr) {
    		var errno syscall.Errno
    		if errors.As(pathErr.Err, &errno) {
    			// ERROR_PATH_NOT_FOUND
    			return errno == 0x6
    		}
    	}
    	return false
    }
    
    func isSysErrCrossDevice(err error) bool {
    	return errors.Is(err, syscall.EXDEV)
    }
    
    // Check if given error corresponds to too many open files
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Mar 06 16:56:29 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  5. internal/config/errors-utils.go

    // Hint - Replace the current error's message
    func (u Err) Hint(m string, args ...interface{}) Err {
    	e := u.Clone()
    	e.hint = fmt.Sprintf(m, args...)
    	return e
    }
    
    // ErrFn function wrapper
    type ErrFn func(err error) Err
    
    // Create a UI error generator, this is needed to simplify
    // the update of the detailed error message in several places
    // in MinIO code
    func newErrFn(msg, action, hint string) ErrFn {
    	return func(err error) Err {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Mar 06 16:56:10 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  6. src/cmd/api/testdata/src/pkg/p1/golden.txt

    pkg p1, type EmbedURLPtr struct
    pkg p1, type EmbedURLPtr struct, embedded *URL
    pkg p1, type Embedded struct
    pkg p1, type Error interface { Error, Temporary }
    pkg p1, type Error interface, Error() string
    pkg p1, type Error interface, Temporary() bool
    pkg p1, type FuncType func(int, int, string) (*B, error)
    pkg p1, type I interface, Get(string) int64
    pkg p1, type I interface, Get //deprecated
    pkg p1, type I interface, GetNamed(string) int64
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Dec 02 16:29:41 GMT 2022
    - 3.6K bytes
    - Viewed (0)
  7. cmd/xl-storage-errors_test.go

    			t.Fatalf("Unexpected error expecting %s", syscall.ENOTEMPTY)
    		}
    	} else {
    		pathErr = &os.PathError{Err: syscall.Errno(0x91)}
    		ok = isSysErrNotEmpty(pathErr)
    		if !ok {
    			t.Fatal("Unexpected error expecting 0x91")
    		}
    	}
    	if runtime.GOOS == globalWindowsOSName {
    		pathErr = &os.PathError{Err: syscall.Errno(0x03)}
    		ok = isSysErrPathNotFound(pathErr)
    		if !ok {
    			t.Fatal("Unexpected error expecting 0x03")
    		}
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 1.7K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem_helper.cc

        close(src_fd);
        return -1;
      }
    
      // Both files have been opened, do the transfer.
      // Since errno would be overridden by `close` below, save it here.
      int error_code = 0;
      if (CopyFileContents(dst_fd, src_fd, size) < 0) error_code = errno;
    
      close(src_fd);
      close(dst_fd);
      if (error_code != 0) {
        errno = error_code;
        return -1;
      } else {
        return 0;
      }
    }
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jan 16 05:36:52 GMT 2020
    - 2.1K bytes
    - Viewed (1)
  9. api/go1.txt

    pkg bufio, method (ReadWriter) ReadString(uint8) (string, error)
    pkg bufio, method (ReadWriter) UnreadByte() error
    pkg bufio, method (ReadWriter) UnreadRune() error
    pkg bufio, method (ReadWriter) Write([]uint8) (int, error)
    pkg bufio, method (ReadWriter) WriteByte(uint8) error
    pkg bufio, method (ReadWriter) WriteRune(int32) (int, error)
    pkg bufio, method (ReadWriter) WriteString(string) (int, error)
    pkg bufio, type ReadWriter struct
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (1)
  10. docs/pt/docs/python-types.md

    ### Classes como tipos
    
    Você também pode declarar uma classe como o tipo de uma variável.
    
    Digamos que você tenha uma classe `Person`, com um nome:
    
    ```Python hl_lines="1 2 3"
    {!../../../docs_src/python_types/tutorial010.py!}
    ```
    
    Então você pode declarar que uma variável é do tipo `Person`:
    
    ```Python hl_lines="6"
    {!../../../docs_src/python_types/tutorial010.py!}
    ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.6K bytes
    - Viewed (0)
Back to top