Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for barrier (0.2 sec)

  1. src/cmd/cgo/internal/test/issue21897.go

    import (
    	"runtime/debug"
    	"testing"
    	"unsafe"
    )
    
    func test21897(t *testing.T) {
    	// Please write barrier, kick in soon.
    	defer debug.SetGCPercent(debug.SetGCPercent(1))
    
    	for i := 0; i < 10000; i++ {
    		testCFNumberRef()
    		testCFDateRef()
    		testCFBooleanRef()
    		// Allocate some memory, so eventually the write barrier is enabled
    		// and it will see writes of bad pointers in the test* functions below.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  2. cmd/xl-storage-format-v1.go

    import (
    	"encoding/binary"
    	"encoding/hex"
    	"encoding/json"
    	"fmt"
    	"time"
    
    	"github.com/cespare/xxhash/v2"
    	jsoniter "github.com/json-iterator/go"
    )
    
    // XL constants.
    const (
    	// XL metadata file carries per object metadata.
    	xlStorageFormatFileV1 = "xl.json"
    )
    
    // Valid - tells us if the format is sane by validating
    // format version and erasure coding information.
    func (m *xlMetaV1Object) valid() bool {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  3. internal/bucket/lifecycle/lifecycle.go

    					return true
    				}
    				switch events[j].Action {
    				case DeleteAction, DeleteVersionAction:
    					return false
    				}
    				return true
    			}
    
    			// Prefer earlier occurring event
    			return events[i].Due.Before(events[j].Due)
    		})
    		return events[0]
    	}
    
    	return Event{
    		Action: NoneAction,
    	}
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 06:41:22 GMT 2024
    - 17K bytes
    - Viewed (0)
  4. internal/config/config.go

    func RegisterDefaultKVS(kvsMap map[string]KVS) {
    	for subSys, kvs := range kvsMap {
    		DefaultKVS[subSys] = kvs
    	}
    }
    
    // HelpSubSysMap - help for all individual KVS for each sub-systems
    // also carries a special empty sub-system which dumps
    // help for each sub-system key.
    var HelpSubSysMap = map[string]HelpKVS{}
    
    // RegisterHelpSubSys - this function saves
    // input help KVS for each sub-system globally,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  5. src/cmd/api/main_test.go

    			ok = false // feature not in api/next/*
    		default:
    			take(&required)
    			take(&features)
    		}
    	}
    
    	return ok
    }
    
    // aliasReplacer applies type aliases to earlier API files,
    // to avoid misleading negative results.
    // This makes all the references to os.FileInfo in go1.txt
    // be read as if they said fs.FileInfo, since os.FileInfo is now an alias.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  6. cmd/erasure-multipart.go

    //
    // Internally this function creates 'uploads.json' associated for the
    // incoming object at
    // '.minio.sys/multipart/bucket/object/uploads.json' on all the
    // disks. `uploads.json` carries metadata regarding on-going multipart
    // operation(s) on the object.
    func (er erasureObjects) newMultipartUpload(ctx context.Context, bucket string, object string, opts ObjectOptions) (*NewMultipartUploadResult, error) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  7. cmd/data-usage-cache.go

    			// spl interval: [1024B, 1MiB)
    			res[szInt.name] = splCount
    		case humanize.KiByte <= szInt.start && szInt.end <= humanize.MiByte-1:
    			// intervals that fall within the spl interval above; they
    			// appear earlier in this array of intervals, see
    			// ObjectsHistogramIntervals
    			splCount += count
    			fallthrough
    		default:
    			res[szInt.name] = count
    		}
    	}
    	return res
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 41.4K bytes
    - Viewed (1)
  8. cmd/update_fips.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 cmd
    
    // Newer official download info URLs appear earlier below.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 934 bytes
    - Viewed (0)
  9. internal/config/dns/types.go

    	// Group is used to group (or *not* to group) different services
    	// together. Services with an identical Group are returned in
    	// the same answer.
    	Group string `json:"group,omitempty"`
    
    	// Key carries the original key used during Put().
    	Key string `json:"-"`
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 2K bytes
    - Viewed (0)
  10. cmd/api-datatypes.go

    }
    
    // ObjectV object version key/versionId
    type ObjectV struct {
    	ObjectName string `xml:"Key"`
    	VersionID  string `xml:"VersionId"`
    }
    
    // ObjectToDelete carries key name for the object to delete.
    type ObjectToDelete struct {
    	ObjectV
    	// Replication status of DeleteMarker
    	DeleteMarkerReplicationStatus string `xml:"DeleteMarkerReplicationStatus"`
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Jan 03 09:28:52 GMT 2022
    - 3K bytes
    - Viewed (0)
Back to top