Search Options

Results per page
Sort
Preferred Languages
Advance

Results 541 - 550 of 1,214 for Func (0.07 sec)

  1. internal/config/lambda/event/targetidset_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 event
    
    import (
    	"reflect"
    	"testing"
    )
    
    func TestTargetIDSetClone(t *testing.T) {
    	testCases := []struct {
    		set           TargetIDSet
    		targetIDToAdd TargetID
    	}{
    		{NewTargetIDSet(), TargetID{"1", "webhook"}},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 07 16:12:41 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  2. cmd/object-api-multipart_test.go

    )
    
    // Wrapper for calling NewMultipartUpload tests for both Erasure multiple disks and single node setup.
    func TestObjectNewMultipartUpload(t *testing.T) {
    	if runtime.GOOS == globalWindowsOSName {
    		t.Skip()
    	}
    	ExecObjectLayerTest(t, testObjectNewMultipartUpload)
    }
    
    // Tests validate creation of new multipart upload instance.
    func testObjectNewMultipartUpload(obj ObjectLayer, instanceType string, t TestErrHandler) {
    	bucket := "minio-bucket"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 88.8K bytes
    - Viewed (0)
  3. cmd/batch-handlers_gen.go

    		}
    	}
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z BatchJobPrefix) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	o = msgp.AppendArrayHeader(o, uint32(len(z)))
    	for zb0003 := range z {
    		o = msgp.AppendString(o, z[zb0003])
    	}
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    func (z *BatchJobPrefix) UnmarshalMsg(bts []byte) (o []byte, err error) {
    	var zb0002 uint32
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  4. api/go1.20.txt

    pkg syscall (freebsd-riscv64), func CloseOnExec(int) #53466
    pkg syscall (freebsd-riscv64), func CmsgLen(int) int #53466
    pkg syscall (freebsd-riscv64), func CmsgSpace(int) int #53466
    pkg syscall (freebsd-riscv64), func Connect(int, Sockaddr) error #53466
    pkg syscall (freebsd-riscv64), func Dup(int) (int, error) #53466
    pkg syscall (freebsd-riscv64), func Dup2(int, int) error #53466
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Feb 17 21:23:32 UTC 2023
    - 602.6K bytes
    - Viewed (0)
  5. internal/s3select/parquet/args.go

    type ReaderArgs struct {
    	unmarshaled bool
    }
    
    // IsEmpty - returns whether reader args is empty or not.
    func (args *ReaderArgs) IsEmpty() bool {
    	return !args.unmarshaled
    }
    
    // UnmarshalXML - decodes XML data.
    func (args *ReaderArgs) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error {
    	// Make subtype to avoid recursive UnmarshalXML().
    	type subReaderArgs ReaderArgs
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  6. internal/ioutil/discard.go

    // and as such incurred latencies.
    var Discard io.Writer = discard{}
    
    // discard is /dev/null for Golang.
    type discard struct{}
    
    func (discard) Write(p []byte) (int, error) {
    	return len(p), nil
    }
    
    // DiscardReader discarded reader
    func DiscardReader(r io.Reader) {
    	Copy(Discard, r)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Nov 06 22:26:08 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  7. cmd/post-policy_test.go

    	retStr += conditionStr
    	retStr += "}"
    
    	return []byte(retStr)
    }
    
    // Wrapper
    func TestPostPolicyReservedBucketExploit(t *testing.T) {
    	ExecObjectLayerTestWithDirs(t, testPostPolicyReservedBucketExploit)
    }
    
    // testPostPolicyReservedBucketExploit is a test for the exploit fixed in PR
    // #16849
    func testPostPolicyReservedBucketExploit(obj ObjectLayer, instanceType string, dirs []string, t TestErrHandler) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  8. cmd/copy-part-range.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    	"net/http"
    	"net/url"
    )
    
    // Writes S3 compatible copy part range error.
    func writeCopyPartErr(ctx context.Context, w http.ResponseWriter, err error, url *url.URL) {
    	switch err {
    	case errInvalidRange:
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrInvalidCopyPartRange), url)
    		return
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 18 03:27:04 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/arch/mips.go

    	"cmd/internal/obj/mips"
    )
    
    func jumpMIPS(word string) bool {
    	switch word {
    	case "BEQ", "BFPF", "BFPT", "BGEZ", "BGEZAL", "BGTZ", "BLEZ", "BLTZ", "BLTZAL", "BNE", "JMP", "JAL", "CALL":
    		return true
    	}
    	return false
    }
    
    // IsMIPSCMP reports whether the op (as defined by an mips.A* constant) is
    // one of the CMP instructions that require special handling.
    func IsMIPSCMP(op obj.As) bool {
    	switch op {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Mar 04 19:06:44 UTC 2020
    - 1.7K bytes
    - Viewed (0)
  10. callbacks/helper.go

    package callbacks
    
    import (
    	"reflect"
    	"sort"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/clause"
    )
    
    // ConvertMapToValuesForCreate convert map to values
    func ConvertMapToValuesForCreate(stmt *gorm.Statement, mapValue map[string]interface{}) (values clause.Values) {
    	values.Columns = make([]clause.Column, 0, len(mapValue))
    	selectColumns, restricted := stmt.SelectAndOmitColumns(true, false)
    
    	keys := make([]string, 0, len(mapValue))
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Apr 14 12:32:57 UTC 2022
    - 3.7K bytes
    - Viewed (0)
Back to top