Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for ResNet (0.15 sec)

  1. cmd/erasure-server-pool.go

    		return nil, err
    	}
    
    	// This is a special call attempted first to check for SOS-API calls.
    	gr, err = veeamSOSAPIGetObject(ctx, bucket, object, rs, opts)
    	if err == nil {
    		return gr, nil
    	}
    
    	// reset any error to 'nil' and any reader to be 'nil'
    	gr = nil
    	err = nil
    
    	object = encodeDirObject(object)
    
    	if z.SinglePool() {
    		return z.serverPools[0].GetObjectNInfo(ctx, bucket, object, rs, h, opts)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  2. cmd/iam.go

    					sys.updateGroupMembershipsForLDAP(ctx)
    				}
    				if sys.OpenIDConfig.ProviderEnabled() {
    					sys.purgeExpiredCredentialsForExternalSSO(ctx)
    				}
    			}
    
    			timer.Reset(waitInterval())
    		case <-ctx.Done():
    			return
    		}
    	}
    }
    
    func (sys *IAMSys) validateAndAddRolePolicyMappings(ctx context.Context, m map[arn.ARN]string) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  3. cmd/erasure-object.go

    			if r == nil {
    				onlineDisks[i] = OfflineDisk
    			}
    		}
    		// Track total bytes read from disk and written to the client.
    		totalBytesRead += partLength
    		// partOffset will be valid only for the first part, hence reset it to 0 for
    		// the remaining parts.
    		partOffset = 0
    	} // End of read all parts loop.
    	// Return success.
    	return nil
    }
    
    // GetObjectInfo - reads object metadata and replies back ObjectInfo.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  4. cmd/xl-storage.go

    	// platforms, look for this value as NAME_MAX in
    	// /usr/include/linux/limits.h
    	var count int64
    	for _, p := range pathName {
    		switch p {
    		case '/':
    			count = 0 // Reset
    		case '\\':
    			if runtime.GOOS == globalWindowsOSName {
    				count = 0
    			}
    		default:
    			count++
    			if count > 255 {
    				return errFileNameTooLong
    			}
    		}
    	} // Success.
    	return nil
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  5. cmd/test-utils_test.go

    	// set globalObjectAPI to `nil`.
    	resetGlobalObjectAPI()
    	// Reset config path set.
    	resetGlobalConfigPath()
    	// Reset Global server config.
    	resetGlobalConfig()
    	// Reset global endpoints.
    	resetGlobalEndpoints()
    	// Reset global isErasure flag.
    	resetGlobalIsErasure()
    	// Reset global heal state
    	resetGlobalHealState()
    	// Reset globalIAMSys to `nil`
    	resetGlobalIAMSys()
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  6. cmd/peer-rest-server.go

    	enc := json.NewEncoder(buf)
    	tmpEvt := struct{ Records []event.Event }{[]event.Event{{}}}
    	for {
    		select {
    		case <-ctx.Done():
    			grid.PutByteBuffer(buf.Bytes())
    			return nil
    		case ev := <-ch:
    			buf.Reset()
    			tmpEvt.Records[0] = ev
    			if err := enc.Encode(tmpEvt); err != nil {
    				peersLogOnceIf(ctx, err, "event: Encode failed")
    				continue
    			}
    			out <- grid.NewBytesWithCopyOf(buf.Bytes())
    		}
    	}
    }
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  7. cmd/storage-datatypes_gen_test.go

    	if buf.Len() > m {
    		t.Log("WARNING: TestEncodeDecodeBaseOptions Msgsize() is inaccurate")
    	}
    
    	vn := BaseOptions{}
    	err := msgp.Decode(&buf, &vn)
    	if err != nil {
    		t.Error(err)
    	}
    
    	buf.Reset()
    	msgp.Encode(&buf, &v)
    	err = msgp.NewReader(&buf).Skip()
    	if err != nil {
    		t.Error(err)
    	}
    }
    
    func BenchmarkEncodeBaseOptions(b *testing.B) {
    	v := BaseOptions{}
    	var buf bytes.Buffer
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 01 23:42:09 GMT 2024
    - 60.4K bytes
    - Viewed (0)
  8. cmd/bucket-handlers.go

    		// instead of "copying" from source, we need the stream to be seekable
    		// to ensure that we can make fan-out calls concurrently.
    		buf := bytebufferpool.Get()
    		defer func() {
    			buf.Reset()
    			bytebufferpool.Put(buf)
    		}()
    
    		md5w := md5.New()
    
    		// Maximum allowed fan-out object size.
    		const maxFanOutSize = 16 << 20
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
Back to top