Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 36 for sigs (0.05 sec)

  1. src/cmd/compile/internal/types2/expr.go

    type target struct {
    	sig  *Signature
    	desc string
    }
    
    // newTarget creates a new target for the given type and description.
    // The result is nil if typ is not a signature.
    func newTarget(typ Type, desc string) *target {
    	if typ != nil {
    		if sig, _ := under(typ).(*Signature); sig != nil {
    			return &target{sig, desc}
    		}
    	}
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  2. src/go/types/api_test.go

    		// in Identical() or String().
    		sig, _ := sel.Type().(*Signature)
    		if sel.Kind() == MethodVal {
    			got := sig.Recv().Type()
    			want := sel.Recv()
    			if !Identical(got, want) {
    				t.Errorf("%s: Recv() = %s, want %s", syntax, got, want)
    			}
    		} else if sig != nil && sig.Recv() != nil {
    			t.Errorf("%s: signature has receiver %s", sig, sig.Recv().Type())
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  3. src/crypto/x509/x509.go

    // certificate signing key.
    type ConstraintViolationError struct{}
    
    func (ConstraintViolationError) Error() string {
    	return "x509: invalid signature: parent certificate cannot sign this kind of certificate"
    }
    
    func (c *Certificate) Equal(other *Certificate) bool {
    	if c == nil || other == nil {
    		return c == other
    	}
    	return bytes.Equal(c.Raw, other.Raw)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:20:15 UTC 2024
    - 82K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/windows/security_windows.go

    	}
    	return *getSidSubAuthority(sid, idx)
    }
    
    // IsValid returns whether the SID has a valid revision and length.
    func (sid *SID) IsValid() bool {
    	return isValidSid(sid)
    }
    
    // Equals compares two SIDs for equality.
    func (sid *SID) Equals(sid2 *SID) bool {
    	return EqualSid(sid, sid2)
    }
    
    // IsWellKnown determines whether the SID matches the well-known sidType.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_test.go

    			positive, _, num, denom, suffix, err := parseQuantityString(item.input)
    			if err != nil {
    				t.Errorf("%v: unexpected error: %v", item.input, err)
    				continue
    			}
    			if got.Sign() >= 0 && !positive || got.Sign() < 0 && positive {
    				t.Errorf("%v: positive was incorrect: %t", item.input, positive)
    				continue
    			}
    			var value string
    			if !positive {
    				value = "-"
    			}
    			value += num
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  6. src/runtime/malloc.go

    	// heapAddrBits is the number of bits in a heap address. On
    	// amd64, addresses are sign-extended beyond heapAddrBits. On
    	// other arches, they are zero-extended.
    	//
    	// On most 64-bit platforms, we limit this to 48 bits based on a
    	// combination of hardware and OS limitations.
    	//
    	// amd64 hardware limits addresses to 48 bits, sign-extended
    	// to 64 bits. Addresses where the top 16 bits are not either
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  7. configure.py

        # maximum performance should compile TF in their environment and can pass
        # `-march=native` there.
        # See https://github.com/tensorflow/tensorflow/issues/45744 and duplicates
        default_cc_opt_flags = '-Wno-sign-compare'
      question = ('Please specify optimization flags to use during compilation when'
                  ' bazel option "--config=opt" is specified [Default is %s]: '
                 ) % default_cc_opt_flags
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 10 04:32:44 UTC 2024
    - 53.8K bytes
    - Viewed (1)
  8. src/time/time.go

    			return w
    		case u < uint64(Microsecond):
    			// print nanoseconds
    			prec = 0
    			buf[w] = 'n'
    		case u < uint64(Millisecond):
    			// print microseconds
    			prec = 3
    			// U+00B5 'µ' micro sign == 0xC2 0xB5
    			w-- // Need room for two bytes.
    			copy(buf[w:], "µ")
    		default:
    			// print milliseconds
    			prec = 6
    			buf[w] = 'm'
    		}
    		w, u = fmtFrac(buf[:w], u, prec)
    		w = fmtInt(buf[:w], u)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 50.7K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/ianlancetaylor/demangle/demangle.go

    	}
    	// We don't currently print out the discriminator, so we don't
    	// save it.
    	return a
    }
    
    // closureTypeName parses:
    //
    //	<closure-type-name> ::= Ul <lambda-sig> E [ <nonnegative number> ] _
    //	<lambda-sig> ::= <parameter type>+
    func (st *state) closureTypeName() AST {
    	st.checkChar('U')
    	st.checkChar('l')
    
    	oldLambdaTemplateLevel := st.lambdaTemplateLevel
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 94.1K bytes
    - Viewed (0)
  10. src/time/time_test.go

    		}
    	}
    }
    
    var parseDurationTests = []struct {
    	in   string
    	want Duration
    }{
    	// simple
    	{"0", 0},
    	{"5s", 5 * Second},
    	{"30s", 30 * Second},
    	{"1478s", 1478 * Second},
    	// sign
    	{"-5s", -5 * Second},
    	{"+5s", 5 * Second},
    	{"-0", 0},
    	{"+0", 0},
    	// decimal
    	{"5.0s", 5 * Second},
    	{"5.6s", 5*Second + 600*Millisecond},
    	{"5.s", 5 * Second},
    	{".5s", 500 * Millisecond},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:13:47 UTC 2024
    - 56.5K bytes
    - Viewed (0)
Back to top