Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 332 for sing (0.32 sec)

  1. internal/event/target/nsq.go

    		producer, err := nsq.NewProducer(target.args.NSQDAddress.String(), target.config)
    		if err != nil {
    			return false, err
    		}
    		target.producer = producer
    	}
    
    	if err := target.producer.Ping(); err != nil {
    		// To treat "connection refused" errors as errNotConnected.
    		if xnet.IsConnRefusedErr(err) {
    			return false, store.ErrNotConnected
    		}
    		return false, err
    	}
    	return true, nil
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  2. src/runtime/profbuf.go

    // zero, that is, only when there is no pending overflow entry, in
    // preparation for creating a new one. The reader can therefore fetch and
    // clear the entry atomically using
    //
    //	for {
    //		overflow = load(&b.overflow)
    //		if uint32(overflow) == 0 {
    //			// no pending entry
    //			break
    //		}
    //		time = load(&b.overflowTime)
    //		if cas(&b.overflow, overflow, ((overflow>>32)+1)<<32) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/http2/MockHttp2Peer.kt

          errorCode: ErrorCode,
        ) {
          check(type == -1)
          this.type = Http2.TYPE_RST_STREAM
          this.streamId = streamId
          this.errorCode = errorCode
        }
    
        override fun ping(
          ack: Boolean,
          payload1: Int,
          payload2: Int,
        ) {
          check(type == -1)
          type = Http2.TYPE_PING
          this.ack = ack
          this.payload1 = payload1
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  4. src/sync/rwmutex.go

    	}
    }
    
    // TryRLock tries to lock rw for reading and reports whether it succeeded.
    //
    // Note that while correct uses of TryRLock do exist, they are rare,
    // and use of TryRLock is often a sign of a deeper problem
    // in a particular use of mutexes.
    func (rw *RWMutex) TryRLock() bool {
    	if race.Enabled {
    		_ = rw.w.state
    		race.Disable()
    	}
    	for {
    		c := rw.readerCount.Load()
    		if c < 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  5. src/runtime/abi_test.go

    	// after this point, which would interfere with the test and could
    	// cause a crash, but because we're running in a separate process
    	// it's extremely unlikely.
    	runtime.GC()
    	runtime.GC()
    
    	// fing will only pick the new IntRegArgs up if it's currently
    	// sleeping and wakes up, so wait for it to go to sleep.
    	success := false
    	for i := 0; i < 100; i++ {
    		if runtime.FinalizerGAsleep() {
    			success = true
    			break
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. src/runtime/mprof.go

    	// system goroutine (to be excluded). Pick one before restarting the world.
    	if fing != nil {
    		fing.goroutineProfiled.Store(goroutineProfileSatisfied)
    		if readgstatus(fing) != _Gdead && !isSystemGoroutine(fing, false) {
    			doRecordGoroutineProfile(fing, pcbuf)
    		}
    	}
    	startTheWorld(stw)
    
    	// Visit each goroutine that existed as of the startTheWorld call above.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  7. src/internal/trace/raw/doc.go

    	Trace Go1.XX
    
    Following that is a series of event lines. Each event begins with an
    event name, followed by zero or more named unsigned integer arguments.
    Names are separated from their integer values by an '=' sign. Names can
    consist of any UTF-8 character except '='.
    
    For example:
    
    	EventName arg1=23 arg2=55 arg3=53
    
    Any amount of whitespace is allowed to separate each token. Whitespace
    is identified via unicode.IsSpace.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. cmd/signature-v4-parser_test.go

    			expectedSignStr:  "",
    			expectedErrCode:  ErrMissingFields,
    		},
    		// Test case - 3.
    		// SignElement with missing "SignatureTag",ErrMissingSignTag expected.
    		{
    			inputSignElement: "Sign=",
    			expectedSignStr:  "",
    			expectedErrCode:  ErrMissingSignTag,
    		},
    		// Test case - 4.
    		// Test case with valid inputs.
    		{
    			inputSignElement: "Signature=abcd",
    			expectedSignStr:  "abcd",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  9. src/crypto/rsa/pss_test.go

    func TestPSSOpenSSL(t *testing.T) {
    	hash := crypto.SHA256
    	h := hash.New()
    	h.Write([]byte("testing"))
    	hashed := h.Sum(nil)
    
    	// Generated with `echo -n testing | openssl dgst -sign key.pem -sigopt rsa_padding_mode:pss -sha256 > sig`
    	sig := []byte{
    		0x95, 0x59, 0x6f, 0xd3, 0x10, 0xa2, 0xe7, 0xa2, 0x92, 0x9d,
    		0x4a, 0x07, 0x2e, 0x2b, 0x27, 0xcc, 0x06, 0xc2, 0x87, 0x2c,
    		0x52, 0xf0, 0x4a, 0xcc, 0x05, 0x94, 0xf2, 0xc3, 0x2e, 0x20,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  10. src/go/types/const.go

    			}
    		}
    		// x does not fit into int64
    		switch n := constant.BitLen(x); typ.kind {
    		case Uint, Uintptr:
    			var s = uint(sizeof(typ)) * 8
    			return constant.Sign(x) >= 0 && n <= int(s)
    		case Uint64:
    			return constant.Sign(x) >= 0 && n <= 64
    		case UntypedInt:
    			return true
    		}
    
    	case isFloat(typ):
    		x := constant.ToFloat(x)
    		if x.Kind() != constant.Float {
    			return false
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top