Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 938 for Nil$ (0.03 sec)

  1. cmd/bootstrap-peer-server_gen.go

    		err = msgp.WrapError(err, "NEndpoints")
    		return
    	}
    	// write "CmdLines"
    	err = en.Append(0xa8, 0x43, 0x6d, 0x64, 0x4c, 0x69, 0x6e, 0x65, 0x73)
    	if err != nil {
    		return
    	}
    	err = en.WriteArrayHeader(uint32(len(z.CmdLines)))
    	if err != nil {
    		err = msgp.WrapError(err, "CmdLines")
    		return
    	}
    	for za0001 := range z.CmdLines {
    		err = en.WriteString(z.CmdLines[za0001])
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 14:49:49 UTC 2024
    - 7K bytes
    - Viewed (0)
  2. internal/s3select/sql/record.go

    		v, err := iter.String()
    		if err != nil {
    			return nil, err
    		}
    		return v, nil
    	case simdjson.TypeFloat:
    		v, err := iter.Float()
    		if err != nil {
    			return nil, err
    		}
    		return v, nil
    	case simdjson.TypeInt:
    		v, err := iter.Int()
    		if err != nil {
    			return nil, err
    		}
    		return v, nil
    	case simdjson.TypeUint:
    		v, err := iter.Int()
    		if err != nil {
    			// Can't fit into int, convert to float.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 3.4K bytes
    - Viewed (0)
  3. cmd/naughty-disk_test.go

    		return nil, err
    	}
    	return d.disk.ListVols(ctx)
    }
    
    func (d *naughtyDisk) StatVol(ctx context.Context, volume string) (vol VolInfo, err error) {
    	if err := d.calcError(); err != nil {
    		return VolInfo{}, err
    	}
    	return d.disk.StatVol(ctx, volume)
    }
    
    func (d *naughtyDisk) DeleteVol(ctx context.Context, volume string, forceDelete bool) (err error) {
    	if err := d.calcError(); err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Aug 12 08:38:15 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  4. src/archive/zip/writer_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	if _, err := dw.Write(nil); err != nil {
    		t.Errorf("Write(nil) to directory: got %v, want nil", err)
    	}
    	if _, err := dw.Write([]byte("hello")); err == nil {
    		t.Error(`Write("hello") to directory: got nil error, want non-nil`)
    	}
    }
    
    func TestWriterDirAttributes(t *testing.T) {
    	var buf bytes.Buffer
    	w := NewWriter(&buf)
    	if _, err := w.CreateHeader(&FileHeader{
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  5. internal/event/target/postgresql.go

    		eventTime, err := time.Parse(event.AMZTimeFormat, eventData.EventTime)
    		if err != nil {
    			return err
    		}
    
    		data, err := json.Marshal(struct{ Records []event.Event }{[]event.Event{eventData}})
    		if err != nil {
    			return err
    		}
    
    		if _, err = target.insertStmt.Exec(eventTime, data); err != nil {
    			return err
    		}
    	}
    
    	return nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  6. cmd/batch-handlers.go

    		return errInvalidArgument
    	}
    
    	if err := j.Validate(ctx, api); err != nil {
    		return err
    	}
    
    	job, err := j.MarshalMsg(nil)
    	if err != nil {
    		return err
    	}
    
    	return saveConfig(ctx, api, getJobPath(*j), job)
    }
    
    func (j *BatchJobRequest) load(ctx context.Context, api ObjectLayer, name string) error {
    	if j == 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)
  7. cmd/peer-rest-client.go

    	if client == nil {
    		return nil, errPeerNotReachable
    	}
    
    	if values == nil {
    		values = make(url.Values)
    	}
    
    	respBody, err = client.restClient.Call(ctx, method, values, body, length)
    	if err == nil {
    		return respBody, nil
    	}
    
    	if xnet.IsNetworkOrHostDown(err, true) {
    		return nil, errPeerNotReachable
    	}
    
    	return nil, err
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  8. cmd/config.go

    		data, err = readConfig(ctx, objAPI, configFile)
    		if err != nil {
    			if errors.Is(err, errConfigNotFound) {
    				lookupConfigs(srvCfg, objAPI)
    				return srvCfg, nil
    			}
    			return nil, err
    		}
    
    		data, err = decryptData(data, configFile)
    		if err != nil {
    			lookupConfigs(srvCfg, objAPI)
    			return nil, err
    		}
    	}
    
    	json := jsoniter.ConfigCompatibleWithStandardLibrary
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 23 10:07:06 UTC 2023
    - 6K bytes
    - Viewed (0)
  9. cmd/storage-datatypes_gen_test.go

    	v := BaseOptions{}
    	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 Aug 12 08:38:15 UTC 2024
    - 73.9K bytes
    - Viewed (0)
  10. cmd/bucket-metadata_gen.go

    	if err != nil {
    		return
    	}
    	err = en.WriteString(z.Name)
    	if err != nil {
    		err = msgp.WrapError(err, "Name")
    		return
    	}
    	// write "Created"
    	err = en.Append(0xa7, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64)
    	if err != nil {
    		return
    	}
    	err = en.WriteTime(z.Created)
    	if err != nil {
    		err = msgp.WrapError(err, "Created")
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 25.4K bytes
    - Viewed (0)
Back to top