Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 865 for errC (0.12 sec)

  1. internal/lock/lock_solaris.go

    			Op:   "open",
    			Path: path,
    			Err:  syscall.EINVAL,
    		}
    	}
    
    	lock := syscall.Flock_t{
    		Start:  0,
    		Len:    0,
    		Pid:    0,
    		Type:   lockType,
    		Whence: 0,
    	}
    
    	f, err := os.OpenFile(path, flag, perm)
    	if err != nil {
    		return nil, err
    	}
    
    	if err = syscall.FcntlFlock(f.Fd(), rlockType, &lock); err != nil {
    		f.Close()
    		if err == syscall.EAGAIN {
    			err = ErrAlreadyLocked
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  2. internal/event/target/postgresql.go

    	if target.store != nil {
    		_, err := target.store.Put(eventData)
    		return err
    	}
    
    	if err := target.init(); err != nil {
    		return err
    	}
    
    	_, err := target.isActive()
    	if err != nil {
    		return err
    	}
    	return target.send(eventData)
    }
    
    // IsConnErr - To detect a connection error.
    func IsConnErr(err error) bool {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. cmd/batch-handlers_gen_test.go

    	v := BatchJobPrefix{}
    	bts, err := v.MarshalMsg(nil)
    	if err != nil {
    		t.Fatal(err)
    	}
    	left, err := v.UnmarshalMsg(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left)
    	}
    
    	left, err = msgp.Skip(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  4. cmd/local-locker_gen_test.go

    	v := localLockMap{}
    	bts, err := v.MarshalMsg(nil)
    	if err != nil {
    		t.Fatal(err)
    	}
    	left, err := v.UnmarshalMsg(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left)
    	}
    
    	left, err = msgp.Skip(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 19 22:54:46 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. cmd/object_api_suite_test.go

    	// add one and test exists.
    	err := obj.MakeBucket(context.Background(), "bucket1", MakeBucketOptions{})
    	if err != nil {
    		t.Fatalf("%s: <ERROR> %s", instanceType, err)
    	}
    	err = obj.MakeBucket(context.Background(), "bucket2", MakeBucketOptions{})
    	if err != nil {
    		t.Fatalf("%s: <ERROR> %s", instanceType, err)
    	}
    	buckets, err := obj.ListBuckets(context.Background(), BucketOptions{})
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 02 15:13:05 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  6. cmd/metrics-v2_gen.go

    			if err != nil {
    				err = msgp.WrapError(err, "dependGlobalKMS")
    				return
    			}
    		case "bucketOnly":
    			z.bucketOnly, bts, err = msgp.ReadBoolBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "bucketOnly")
    				return
    			}
    		case "dependGlobalLambdaTargetList":
    			z.dependGlobalLambdaTargetList, bts, err = msgp.ReadBoolBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "dependGlobalLambdaTargetList")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Mar 10 09:15:15 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  7. cmd/metrics-v3-system-process.go

    	stat, err := p.Stat()
    	if err != nil {
    		metricsLogIf(ctx, err)
    	} else {
    		loadProcStatMetrics(ctx, stat, m)
    	}
    
    	io, err := p.IO()
    	if err != nil {
    		metricsLogIf(ctx, err)
    	} else {
    		loadProcIOMetrics(ctx, io, m)
    	}
    
    	l, err := p.Limits()
    	if err != nil {
    		metricsLogIf(ctx, err)
    	} else {
    		if l.OpenFiles > 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jun 20 17:55:03 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  8. cmd/tier_gen.go

    	// map header, size 1
    	// write "Tiers"
    	err = en.Append(0x81, 0xa5, 0x54, 0x69, 0x65, 0x72, 0x73)
    	if err != nil {
    		return
    	}
    	err = en.WriteMapHeader(uint32(len(z.Tiers)))
    	if err != nil {
    		err = msgp.WrapError(err, "Tiers")
    		return
    	}
    	for za0001, za0002 := range z.Tiers {
    		err = en.WriteString(za0001)
    		if err != nil {
    			err = msgp.WrapError(err, "Tiers")
    			return
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 20 00:53:08 UTC 2023
    - 4K bytes
    - Viewed (0)
  9. cmd/batch-handlers.go

    	if !r.Target.Creds.Empty() {
    		if err := r.Target.Creds.Validate(); err != nil {
    			return err
    		}
    	}
    
    	if err := r.Target.Type.Validate(); err != nil {
    		return err
    	}
    
    	for _, tag := range r.Flags.Filter.Tags {
    		if err := tag.Validate(); err != nil {
    			return err
    		}
    	}
    
    	for _, meta := range r.Flags.Filter.Metadata {
    		if err := meta.Validate(); err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  10. internal/s3select/sql/statement.go

    			err = errQueryAnalysisFailure(errors.New("WHERE clause cannot have an aggregation"))
    			return
    		}
    	}
    
    	// Validate table name
    	err = validateTableName(selectAST.From)
    	if err != nil {
    		return
    	}
    
    	// Analyze main select expression
    	stmt.selectQProp = selectAST.Expression.analyze(&selectAST)
    	err = stmt.selectQProp.err
    	if err != nil {
    		err = errQueryAnalysisFailure(err)
    	}
    
    	// Set table alias
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top