Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 109 for a$b (0.08 sec)

  1. src/go/build/build.go

    // hasGoFiles reports whether dir contains any files with names ending in .go.
    // For a vendor check we must exclude directories that contain no .go files.
    // Otherwise it is not possible to vendor just a/b/c and still import the
    // non-vendored a/b. See golang.org/issue/13832.
    func hasGoFiles(ctxt *Context, dir string) bool {
    	ents, _ := ctxt.readDir(dir)
    	for _, ent := range ents {
    		if !ent.IsDir() && strings.HasSuffix(ent.Name(), ".go") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  2. cmd/kube-controller-manager/app/options/options_test.go

    	"--service-account-private-key-file=/service-account-private-key",
    	"--terminated-pod-gc-threshold=12000",
    	"--unhealthy-zone-threshold=0.6",
    	"--use-service-account-credentials=true",
    	"--cert-dir=/a/b/c",
    	"--bind-address=192.168.4.21",
    	"--secure-port=10001",
    	"--concurrent-ttl-after-finished-syncs=8",
    }
    
    func TestAddFlags(t *testing.T) {
    	fs := pflag.NewFlagSet("addflagstest", pflag.ContinueOnError)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 02:59:09 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td

      // select(true_tensor, A, B) -> A
      def Optimize#SelectOp#True : Pat<
        (SelectOp:$result (Arith_ConstantOp $constant),
                          $input1,
                          $input2),
        (replaceWithValue $input1),
        [(HaveSameType $input1, $result),
         (AllElementsAreBool<"true"> $constant)]>;
      // select(false_tensor, A, B) -> B
      def Optimize#SelectOp#False : Pat<
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 20:31:41 UTC 2024
    - 66.4K bytes
    - Viewed (0)
  4. src/crypto/tls/conn.go

    	// last byte of that block decrypted to the block size.
    	//
    	// See also macAndPaddingGood logic below.
    	paddingLen &= good
    
    	toRemove = int(paddingLen) + 1
    	return
    }
    
    func roundUp(a, b int) int {
    	return a + (b-a%b)%b
    }
    
    // cbcMode is an interface for block ciphers using cipher block chaining.
    type cbcMode interface {
    	cipher.BlockMode
    	SetIV([]byte)
    }
    
    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/runtime/pprof/pprof_test.go

    	maxDiff := 0.10
    	if testing.Short() {
    		maxDiff = 0.40
    	}
    
    	compare := func(a, b time.Duration, maxDiff float64) error {
    		if a <= 0 || b <= 0 {
    			return fmt.Errorf("Expected both time reports to be positive")
    		}
    
    		if a < b {
    			a, b = b, a
    		}
    
    		diff := float64(a-b) / float64(a)
    		if diff > maxDiff {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

            .cookieJar(cookieJar)
            .build()
        server.enqueue(
          MockResponse(headers = headersOf("set-cookie", "a=b")),
        )
        val call = client.newCall(Request(server.url("/")))
        val response = call.execute()
        assertThat(response.body.string()).isEqualTo("")
        cookieJar.assertResponseCookies("a=b; path=/")
      }
    
      @ParameterizedTest
      @ArgumentsSource(ProtocolParamProvider::class)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types/type.go

    	CalcSize(t)
    	return int64(t.align)
    }
    
    func (t *Type) SimpleString() string {
    	return t.kind.String()
    }
    
    // Cmp is a comparison between values a and b.
    //
    //	-1 if a < b
    //	 0 if a == b
    //	 1 if a > b
    type Cmp int8
    
    const (
    	CMPlt = Cmp(-1)
    	CMPeq = Cmp(0)
    	CMPgt = Cmp(1)
    )
    
    // Compare compares types for purposes of the SSA back
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/encapsulate_subgraphs_pass.cc

     private:
      // A subgraph of the input, all marked with a common 'group_attribute'
      // value.
      //
      // In the following simple example, A, B, ..., E are nodes in the original
      // graph. The group attributes g are each shown as either 0 or empty.
      //
      //  A  -->  B  -->  C  -->  D  -->  E
      //  g:      g:0     g:0     g:0     g:
      //
      // The example is rewritten to two graphs; one on the host and one to be
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 51K bytes
    - Viewed (0)
  9. src/net/http/client_test.go

    	}
    }
    
    func removeCommonLines(a, b string) (asuffix, bsuffix string, commonLines int) {
    	for {
    		nl := strings.IndexByte(a, '\n')
    		if nl < 0 {
    			return a, b, commonLines
    		}
    		line := a[:nl+1]
    		if !strings.HasPrefix(b, line) {
    			return a, b, commonLines
    		}
    		commonLines++
    		a = a[len(line):]
    		b = b[len(line):]
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  10. src/encoding/json/decode_test.go

    	*u = unmarshaler{true} // All we need to see that UnmarshalJSON is called.
    	return nil
    }
    
    type ustruct struct {
    	M unmarshaler
    }
    
    type unmarshalerText struct {
    	A, B string
    }
    
    // needed for re-marshaling tests
    func (u unmarshalerText) MarshalText() ([]byte, error) {
    	return []byte(u.A + ":" + u.B), nil
    }
    
    func (u *unmarshalerText) UnmarshalText(b []byte) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 16:40:14 UTC 2024
    - 67.6K bytes
    - Viewed (0)
Back to top