Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 866 for OUT (0.1 sec)

  1. pilot/pkg/serviceregistry/serviceentry/conversion_test.go

    }
    
    func TestConvertInstances(t *testing.T) {
    	serviceInstanceTests := []struct {
    		externalSvc *config.Config
    		out         []*model.ServiceInstance
    	}{
    		{
    			// single instance with multiple ports
    			externalSvc: httpNone,
    			// DNS type none means service should not have a registered instance
    			out: []*model.ServiceInstance{},
    		},
    		{
    			// service entry tcp
    			externalSvc: tcpNone,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 39K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/einsum.cc

          } else {
            dnums.rhs_out.emplace_back(i, out_index->second);
          }
        }
      }
      for (int64_t i = 0, e = out.size(); i < e; ++i) {
        auto lhs_index = lhs_map.find(out[i]);
        auto rhs_index = rhs_map.find(out[i]);
        if (lhs_index == lhs_map.end() && rhs_index == rhs_map.end()) {
          // out only isn't supported
          return std::nullopt;
        }
      }
      return dnums;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  3. src/crypto/cipher/gcm.go

    	tail = head[len(in):]
    	return
    }
    
    // counterCrypt crypts in to out using g.cipher in counter mode.
    func (g *gcm) counterCrypt(out, in []byte, counter *[gcmBlockSize]byte) {
    	var mask [gcmBlockSize]byte
    
    	for len(in) >= gcmBlockSize {
    		g.cipher.Encrypt(mask[:], counter[:])
    		gcmInc32(counter)
    
    		subtle.XORBytes(out, in, mask[:])
    		out = out[gcmBlockSize:]
    		in = in[gcmBlockSize:]
    	}
    
    	if len(in) > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  4. src/cmd/link/internal/ld/elf_test.go

    	ecmd := testenv.Command(t, testenv.GoToolPath(t), "env", "CC")
    	if out, err := ecmd.CombinedOutput(); err != nil {
    		t.Fatalf("go env CC failed: %v:\n%s", err, out)
    	} else {
    		ccprog := strings.TrimSpace(string(out))
    		tries := []string{"strip", "llvm-strip"}
    		for _, try := range tries {
    			cmd := testenv.Command(t, ccprog, "-print-prog-name="+try)
    			if out, err := cmd.CombinedOutput(); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 13:44:07 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/aggregate/controller.go

    		gws = append(gws, r.NetworkGateways()...)
    	}
    	return gws
    }
    
    func (c *Controller) MCSServices() []model.MCSServiceInfo {
    	var out []model.MCSServiceInfo
    	for _, r := range c.GetRegistries() {
    		out = append(out, r.MCSServices()...)
    	}
    	return out
    }
    
    func nodeClusterID(node *model.Proxy) cluster.ID {
    	if node.Metadata == nil || node.Metadata.ClusterID == "" {
    		return ""
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 06:28:11 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/cmd/token.go

    			fmt.Fprintln(out, joinCommand)
    		}
    	} else {
    		if certificateKey != "" {
    			return errors.New("cannot use --certificate-key without --print-join-command")
    		}
    		fmt.Fprintln(out, internalcfg.BootstrapTokens[0].Token.String())
    	}
    
    	return nil
    }
    
    // RunGenerateToken just generates a random token for the user
    func RunGenerateToken(out io.Writer) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 05:47:48 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/kube/conversion_test.go

    		t.Run(testName, func(t *testing.T) {
    			out := kube.ConvertProtocol(c.port, c.name, c.proto, c.appProtocol)
    			if out != c.out {
    				t.Fatalf("convertProtocol(%d, %q, %q) => %q, want %q", c.port, c.name, c.proto, out, c.out)
    			}
    		})
    	}
    }
    
    func BenchmarkConvertProtocol(b *testing.B) {
    	cases := []struct {
    		name  string
    		proto corev1.Protocol
    		out   protocol.Instance
    	}{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  8. src/database/sql/convert_test.go

    				i, tt.c, tt.in, tt.in, goterr, tt.err)
    		}
    		if tt.err != "" {
    			continue
    		}
    		if !reflect.DeepEqual(out, tt.out) {
    			t.Errorf("test %d: %T(%T(%v)) = %v (%T); want %v (%T)",
    				i, tt.c, tt.in, tt.in, out, out, tt.out, tt.out)
    		}
    	}
    }
    
    // Tests that assigning to RawBytes doesn't allocate (and also works).
    func TestRawBytesAllocs(t *testing.T) {
    	var tests = []struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 10 20:23:22 UTC 2024
    - 17K bytes
    - Viewed (0)
  9. platforms/core-runtime/io/src/test/groovy/org/gradle/internal/io/StreamByteBufferTest.groovy

            def byteBuffer = new StreamByteBuffer(8)
            def out = byteBuffer.outputStream
    
            when:
            out.write("1234567890123".bytes)
            then:
            byteBuffer.totalBytesUnread() == 13
    
            when:
            byteBuffer.readAsString()
            then:
            byteBuffer.totalBytesUnread() == 0
    
            when:
            out.write("4567890123456".bytes)
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 13:06:08 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. pilot/pkg/model/sidecar.go

    		hostsByNamespace[ns] = hc
    	}
    
    	out.virtualServices = SelectVirtualServices(ps.virtualServiceIndex, configNamespace, hostsByNamespace)
    	svces := ps.servicesExportedToNamespace(configNamespace)
    	out.services = out.selectServices(svces, configNamespace, hostsByNamespace)
    	out.mostSpecificWildcardVsIndex = computeWildcardHostVirtualServiceIndex(out.virtualServices, out.services)
    
    	return out
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 20:32:23 UTC 2024
    - 38.4K bytes
    - Viewed (0)
Back to top