Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for rot (0.02 sec)

  1. src/cmd/asm/internal/lex/tokenizer.go

    	switch t.tok {
    	case '\n':
    		t.line++
    	case '-':
    		if s.Peek() == '>' {
    			s.Next()
    			t.tok = ARR
    			return ARR
    		}
    	case '@':
    		if s.Peek() == '>' {
    			s.Next()
    			t.tok = ROT
    			return ROT
    		}
    	case '<':
    		if s.Peek() == '<' {
    			s.Next()
    			t.tok = LSH
    			return LSH
    		}
    	case '>':
    		if s.Peek() == '>' {
    			s.Next()
    			t.tok = RSH
    			return RSH
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 04 20:35:21 UTC 2022
    - 3K bytes
    - Viewed (0)
  2. docs/erasure/README.md

    ![Erasure](https://github.com/minio/minio/blob/master/docs/screenshots/erasure-code.jpg?raw=true)
    
    ## What is Bit Rot protection?
    
    Bit Rot, also known as data rot or silent data corruption is a data loss issue faced by disk drives today. Data on the drive may silently get corrupted without signaling an error has occurred, making bit rot more dangerous than a permanent hard drive failure.
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 4.1K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/arch/arm/armasm/decode.go

    	case arg_const:
    		v := x & (1<<8 - 1)
    		rot := (x >> 8) & (1<<4 - 1) * 2
    		if rot > 0 && v&3 == 0 {
    			// could rotate less
    			return ImmAlt{uint8(v), uint8(rot)}
    		}
    		if rot >= 24 && ((v<<(32-rot))&0xFF)>>(32-rot) == v {
    			// could wrap around to rot==0.
    			return ImmAlt{uint8(v), uint8(rot)}
    		}
    		return Imm(v>>rot | v<<(32-rot))
    
    	case arg_endian:
    		return Endian((x >> 9) & 1)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 17:16:14 UTC 2022
    - 12.6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/magic_test.go

    		max := udivisible(n, int64(c)).max
    		mask := ^uint64(0) >> (64 - n)
    		for i := uint64(0); i < maxU; i++ {
    			want := i%c == 0
    			mul := (i * m) & mask
    			rot := (mul>>uint(k) | mul<<(n-uint(k))) & mask
    			got := rot <= max
    			if want != got {
    				t.Errorf("unsigned divisible wrong for %d %% %d == 0: got %v, want %v (k=%d,m=%d,max=%d)\n", i, c, got, want, k, m, max)
    			}
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 22:02:07 UTC 2019
    - 9.1K bytes
    - Viewed (0)
  5. cmd/bitrot-whole.go

    type wholeBitrotReader struct {
    	disk       StorageAPI
    	volume     string
    	filePath   string
    	verifier   *BitrotVerifier // Holds the bit-rot info
    	tillOffset int64           // Affects the length of data requested in disk.ReadFile depending on Read()'s offset
    	buf        []byte          // Holds bit-rot verified data
    }
    
    func (b *wholeBitrotReader) ReadAt(buf []byte, offset int64) (n int, err error) {
    	if b.buf == nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jan 31 02:11:45 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. internal/disk/stat_linux.go

    						qst, err = bfs.SysBlockDeviceQueueStats(parentDev)
    					}
    				}
    				if err == nil {
    					info.NRRequests = qst.NRRequests
    					rot := qst.Rotational == 1 // Rotational is '1' if the device is HDD
    					info.Rotational = &rot
    				}
    			}
    		}
    	}
    
    	return info, nil
    }
    
    // GetDriveStats returns IO stats of the drive by its major:minor
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/lex/lex.go

    	LSH          ScanToken = -1000 - iota // << Left shift.
    	RSH                                   // >> Logical right shift.
    	ARR                                   // -> Used on ARM for shift type 3, arithmetic right shift.
    	ROT                                   // @> Used on ARM for shift type 4, rotate right.
    	Include                               // included file started here
    	BuildComment                          // //go:build or +build comment
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 18:31:05 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  8. cmd/storage-errors.go

    // errFileCorrupt - file has an unexpected size, or is not readable
    var errFileCorrupt = StorageErr("file is corrupted")
    
    // errBitrotHashAlgoInvalid - the algo for bit-rot hash
    // verification is empty or invalid.
    var errBitrotHashAlgoInvalid = StorageErr("bit-rot hash algorithm is invalid")
    
    // errCrossDeviceLink - rename across devices not allowed.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. pkg/log/config_test.go

    	if err == nil {
    		t.Errorf("Got success, expecting error")
    	}
    }
    
    func TestRotateNoStdout(t *testing.T) {
    	// Ensure that rotation is setup properly
    
    	dir := t.TempDir()
    
    	file := dir + "/rot.log"
    
    	o := DefaultOptions()
    	o.OutputPaths = []string{}
    	o.RotateOutputPath = file
    	if err := Configure(o); err != nil {
    		t.Fatalf("Unable to configure logging: %v", err)
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 26 20:38:10 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/arch/arm/armasm/inst.go

    // An ImmAlt is an alternate encoding of an integer constant.
    type ImmAlt struct {
    	Val uint8
    	Rot uint8
    }
    
    func (ImmAlt) IsArg() {}
    
    func (i ImmAlt) Imm() Imm {
    	v := uint32(i.Val)
    	r := uint(i.Rot)
    	return Imm(v>>r | v<<(32-r))
    }
    
    func (i ImmAlt) String() string {
    	return fmt.Sprintf("#%#x, %d", i.Val, i.Rot)
    }
    
    // A Label is a text (code) address.
    type Label uint32
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 22:23:32 UTC 2017
    - 7.5K bytes
    - Viewed (0)
Back to top