Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for 9000 (0.34 sec)

  1. src/crypto/aes/block.go

    // This Go implementation is derived in part from the reference
    // ANSI C implementation, which carries the following notice:
    //
    //	rijndael-alg-fst.c
    //
    //	@version 3.0 (December 2000)
    //
    //	Optimised ANSI C code for the Rijndael cipher (now AES)
    //
    //	@author Vincent Rijmen <******@****.***>
    //	@author Antoon Bosselaers <******@****.***>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. src/crypto/tls/tls_test.go

    			name := fmt.Sprintf("%sPacket/%dkbps", mode, kbps)
    			b.Run(name, func(b *testing.B) {
    				b.Run("TLSv12", func(b *testing.B) {
    					latency(b, VersionTLS12, kbps*1000, mode == "Max")
    				})
    				b.Run("TLSv13", func(b *testing.B) {
    					latency(b, VersionTLS13, kbps*1000, mode == "Max")
    				})
    			})
    		}
    	}
    }
    
    func TestConnectionStateMarshal(t *testing.T) {
    	cs := &ConnectionState{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 60.5K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modfetch/fetch.go

    // the corrupt file should contain at least one of the null
    // bytes written by the truncate operation.
    func isValidSum(data []byte) bool {
    	if bytes.IndexByte(data, '\000') >= 0 {
    		return false
    	}
    
    	if len(data) != len("h1:")+base64.StdEncoding.EncodedLen(sha256.Size) {
    		return false
    	}
    
    	return true
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  4. src/crypto/tls/conn.go

    		}
    	}
    	if c.vers == VersionTLS13 {
    		payloadBytes-- // encrypted ContentType
    	}
    
    	// Allow packet growth in arithmetic progression up to max.
    	pkt := c.packetsSent
    	c.packetsSent++
    	if pkt > 1000 {
    		return maxPlaintext // avoid overflow in multiply below
    	}
    
    	n := payloadBytes * int(pkt+1)
    	if n > maxPlaintext {
    		n = maxPlaintext
    	}
    	return n
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/x86/asm6.go

    	{AMOVW, Ytask, Ynone, Yml, movRegMem2op, [4]uint8{0x0f, 0x00, 1, 0}},
    
    	/* load full pointer - unsupported
    	{AMOVL, Yml, Ycol, movFullPtr, [4]uint8{0, 0, 0, 0}},
    	{AMOVW, Yml, Ycol, movFullPtr, [4]uint8{Pe, 0, 0, 0}},
    	*/
    
    	// double shift
    	{ASHLL, Yi8, Yrl, Yml, movDoubleShift, [4]uint8{0xa4, 0xa5, 0, 0}},
    	{ASHLL, Ycl, Yrl, Yml, movDoubleShift, [4]uint8{0xa4, 0xa5, 0, 0}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  6. src/archive/tar/writer_test.go

    		// the behavior is verified by researching the source code.
    		//
    		//	$ bsdtar -tvf pax-global-records.tar
    		//	----------  0 0      0           0 Dec 31  1969 file1
    		//	----------  0 0      0           0 Dec 31  1969 file2
    		//	----------  0 0      0           0 Dec 31  1969 file3
    		//	----------  0 0      0           0 May 13  2014 file4
    		//
    		// GNU tar v1.27.1 applies global headers to subsequent records,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 38.7K bytes
    - Viewed (0)
  7. src/crypto/tls/handshake_messages_test.go

    							break
    						}
    					}
    				}
    			}
    		})
    	}
    }
    
    func TestFuzz(t *testing.T) {
    	rand := rand.New(rand.NewSource(0))
    	for _, m := range tests {
    		for j := 0; j < 1000; j++ {
    			len := rand.Intn(1000)
    			bytes := randomBytes(len, rand)
    			// This just looks for crashes due to bounds errors etc.
    			m.unmarshal(bytes)
    		}
    	}
    }
    
    func randomBytes(n int, rand *rand.Rand) []byte {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/telemetry/internal/upload/reports.go

    		}
    		// and turn it into a float64
    		x := math.Float64frombits(binary.LittleEndian.Uint64(b))
    		if math.IsNaN(x) || math.IsInf(x, 0) {
    			continue
    		}
    		x = math.Abs(x)
    		if x < 0x1p-1000 { // avoid underflow patterns
    			continue
    		}
    		frac, _ := math.Frexp(x) // 52 bits of randomness
    		return frac*2 - 1
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 14:52:56 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/ppc64/asm9.go

    	case AEXTSWSLICC:
    		return OPVCC(31, 445, 0, 1)
    
    	case ASTSW:
    		return OPVCC(31, 725, 0, 0)
    
    	case ASUBC:
    		return OPVCC(8, 0, 0, 0)
    
    	case ATW:
    		return OPVCC(3, 0, 0, 0)
    	case ATD:
    		return OPVCC(2, 0, 0, 0)
    
    	/* Vector (VMX/Altivec) instructions */
    	/* ISA 2.03 enables these for PPC970. For POWERx processors, these */
    	/* are enabled starting at POWER6 (ISA 2.05). */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:55:28 UTC 2024
    - 156.1K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/debug.go

    	}
    	state := &f.Cache.debugState
    	state.loggingLevel = loggingLevel % 1000
    
    	// A specific number demands exactly that many iterations. Under
    	// particular circumstances it make require more than the total of
    	// 2 passes implied by a single run through liveness and a single
    	// run through location list generation.
    	state.convergeCount = loggingLevel / 1000
    	state.f = f
    	state.registers = f.Config.registers
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
Back to top