Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for Si (0.75 sec)

  1. cmd/namespace-lock.go

    	for i, path := range li.paths {
    		if !li.ns.lock(ctx, li.volume, path, lockSource, li.opsID, readLock, timeout.Timeout()) {
    			timeout.LogFailure()
    			for si, sint := range success {
    				if sint == 1 {
    					li.ns.unlock(li.volume, li.paths[si], readLock)
    				}
    			}
    			if errors.Is(ctx.Err(), context.Canceled) {
    				return LockContext{}, ctx.Err()
    			}
    			return LockContext{}, OperationTimedOut{}
    		}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Jun 05 23:56:35 GMT 2023
    - 9.2K bytes
    - Viewed (0)
  2. src/cmd/api/testdata/src/pkg/p1/p1.go

    func unexported(x int8, y int16, z int64) {}
    
    func TakesFunc(f func(dontWantName int) int)
    
    type Codec struct {
    	Func func(x int, y int) (z int)
    }
    
    type SI struct {
    	I int
    }
    
    var SIVal = SI{}
    var SIPtr = &SI{}
    var SIPtr2 *SI
    
    type T struct {
    	common
    }
    
    type B struct {
    	common
    }
    
    type common struct {
    	i int
    }
    
    type TPtrUnexported struct {
    	*common
    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)
  3. cmd/veeam-sos-api.go

    	var buf []byte
    	switch object {
    	case systemXMLObject:
    		si := systemInfo{
    			ProtocolVersion: `"1.0"`,
    			ModelName:       "\"MinIO " + ReleaseTag + "\"",
    		}
    		si.ProtocolCapabilities.CapacityInfo = true
    
    		// Default recommended block size with MinIO
    		si.SystemRecommendations.KBBlockSize = 4096
    
    		buf = encodeResponse(&si)
    	case capacityXMLObject:
    		objAPI := newObjectLayerFn()
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jan 30 18:43:58 GMT 2024
    - 8.2K bytes
    - Viewed (2)
  4. istioctl/pkg/admin/istiodconfig.go

    		err       error
    		scopeName string
    	}, len(scopes))
    	var wg sync.WaitGroup
    	for _, scope := range scopes {
    		wg.Add(1)
    		go func(si *ScopeInfo) {
    			defer wg.Done()
    			err := c.PutScope(si)
    			ch <- struct {
    				err       error
    				scopeName string
    			}{err: err, scopeName: si.Name}
    		}(scope)
    	}
    	wg.Wait()
    	close(ch)
    	for result := range ch {
    		if result.err != nil {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/operand_test.go

    	{"(R9)(BX*8)", "(R9)(BX*8)"},
    	{"(SI)", "(SI)"},
    	{"(SI)(BX*1)", "(SI)(BX*1)"},
    	{"(SI)(DX*1)", "(SI)(DX*1)"},
    	{"(SP)", "(SP)"},
    	{"(SP)(AX*4)", "(SP)(AX*4)"},
    	{"32(SP)(BX*2)", "32(SP)(BX*2)"},
    	{"32323(SP)(R8*4)", "32323(SP)(R8*4)"},
    	{"+3(PC)", "3(PC)"},
    	{"-1(DI)(BX*1)", "-1(DI)(BX*1)"},
    	{"-3(PC)", "-3(PC)"},
    	{"-64(SI)(BX*1)", "-64(SI)(BX*1)"},
    	{"-96(SI)(BX*1)", "-96(SI)(BX*1)"},
    	{"AL", "AL"},
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Aug 29 18:31:05 GMT 2023
    - 23.9K bytes
    - Viewed (0)
  6. cmd/rebalance-admin.go

    	err = meta.load(ctx, z.serverPools[0])
    	if err != nil {
    		return r, err
    	}
    
    	// Compute disk usage percentage
    	si := z.StorageInfo(ctx, true)
    	diskStats := make([]struct {
    		AvailableSpace uint64
    		TotalSpace     uint64
    	}, len(z.serverPools))
    	for _, disk := range si.Disks {
    		// Ignore invalid.
    		if disk.PoolIndex < 0 || len(diskStats) <= disk.PoolIndex {
    			// https://github.com/minio/minio/issues/16500
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Dec 22 00:56:43 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  7. schema/field.go

    					} else if sameType {
    						field.ReflectValueOf(ctx, value).Set(reflect.ValueOf(s.Serializer))
    					}
    					si := reflect.New(serializerType)
    					si.Elem().Set(serializerValue)
    					s.Serializer = si.Interface().(SerializerInterface)
    				}
    			} else {
    				err = oldFieldSetter(ctx, value, v)
    			}
    			return
    		}
    	}
    }
    
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 32K bytes
    - Viewed (1)
  8. cmd/erasure-server-pool.go

    					continue
    				}
    				stats, err := disk.StatInfoFile(ctx, volume, file, true)
    				if err != nil {
    					continue
    				}
    				for _, si := range stats {
    					found++
    					var r io.ReadCloser
    					if !si.Dir {
    						r, err = disk.ReadFileStream(ctx, volume, si.Name, 0, si.Size)
    						if err != nil {
    							continue
    						}
    					} else {
    						r = io.NopCloser(bytes.NewBuffer([]byte{}))
    					}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 19 16:44:59 GMT 2024
    - 77.8K bytes
    - Viewed (0)
  9. cmd/xl-storage-disk-id-check.go

    }
    
    func (p *xlStorageDiskIDCheck) DiskInfo(ctx context.Context, opts DiskInfoOptions) (info DiskInfo, err error) {
    	if contextCanceled(ctx) {
    		return DiskInfo{}, ctx.Err()
    	}
    
    	si := p.updateStorageMetrics(storageMetricDiskInfo)
    	defer si(&err)
    
    	if opts.NoOp {
    		if opts.Metrics {
    			info.Metrics = p.getMetrics()
    		}
    		info.Metrics.TotalWrites = p.totalWrites.Load()
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 32.7K bytes
    - Viewed (0)
  10. cmd/admin-handlers.go

    	}
    
    	rawDataFn := func(r io.Reader, host, disk, filename string, si StatInfo) error {
    		// Prefix host+disk
    		filename = path.Join(host, disk, filename)
    		if si.Dir {
    			filename += "/"
    			si.Size = 0
    		}
    		if si.Mode == 0 {
    			// Not, set it to default.
    			si.Mode = 0o600
    		}
    		if si.ModTime.IsZero() {
    			// Set time to now.
    			si.ModTime = time.Now()
    		}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 97.3K bytes
    - Viewed (2)
Back to top