Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 108 for Concatenates (0.17 sec)

  1. android/guava-tests/test/com/google/common/io/ByteSourceTest.java

        ByteSource source = ByteSource.wrap(new byte[] {0, 1, 2, 3});
        Iterable<ByteSource> cycle = Iterables.cycle(ImmutableList.of(source));
        ByteSource concatenated = ByteSource.concat(cycle);
    
        byte[] expected = {0, 1, 2, 3, 0, 1, 2, 3};
        assertArrayEquals(expected, concatenated.slice(0, 8).read());
      }
    
      private static final ByteSource BROKEN_CLOSE_SOURCE =
          new TestByteSource(new byte[10], CLOSE_THROWS);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  2. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerWriter.kt

    package okhttp3.tls.internal.der
    
    import java.math.BigInteger
    import okio.Buffer
    import okio.BufferedSink
    import okio.ByteString
    
    internal class DerWriter(sink: BufferedSink) {
      /** A stack of buffers that will be concatenated once we know the length of each. */
      private val stack = mutableListOf(sink)
    
      /** Type hints scoped to the call stack, manipulated with [pushTypeHint] and [popTypeHint]. */
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/stablehlo/tests/composite-lowering.mlir

      %15 = mhlo.add %13, %4 : tensor<32x32xi64>
      %16 = mhlo.select %14, %15, %13 : tensor<32x32xi1>, tensor<32x32xi64>
      %17 = mhlo.reshape %16 : (tensor<32x32xi64>) -> tensor<32x32x1xi64>
      %18 = "mhlo.concatenate"(%12, %17) <{dimension = 2 : i64}> : (tensor<32x32x1xi64>, tensor<32x32x1xi64>) -> tensor<32x32x2xi64>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  4. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/parsing/ErrorParsingTest.kt

                    rhs = IntLiteral [indexes: 29..30, line/column: 3/9..3/10, file: test] (9)
                )""".trimIndent()
            parse(code).assert(expected)
        }
    
        @Test
        fun `accidentally concatenated lines in a series of assignments`() {
            val code = """
                val a = 1
                val b = 2 val c = 3
                val d = 4
            """.trimIndent()
    
            val expected = """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 09:41:25 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  5. src/cmd/cgo/doc.go

    used to compile C files in that package. All the CPPFLAGS and CXXFLAGS
    directives in a package are concatenated and used to compile C++ files in that
    package. All the CPPFLAGS and FFLAGS directives in a package are concatenated
    and used to compile Fortran files in that package. All the LDFLAGS directives
    in any package in the program are concatenated and used at link time. All the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 17:12:16 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/server/options/serving.go

    	fs.StringVar(&s.ServerCert.CertKey.CertFile, "tls-cert-file", s.ServerCert.CertKey.CertFile, ""+
    		"File containing the default x509 Certificate for HTTPS. (CA cert, if any, concatenated "+
    		"after server cert). If HTTPS serving is enabled, and --tls-cert-file and "+
    		"--tls-private-key-file are not provided, a self-signed certificate and key "+
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 13:08:18 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  7. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/FileUtils.java

        }
    
        /**
         * Returns a representation of the file path with an alternate extension.  If the file path has no extension,
         * then the provided extension is simply concatenated.  If the file path has an extension, the extension is
         * stripped and replaced with the provided extension.
         *
         * e.g. with a provided extension of ".bar"
         * foo -&gt; foo.bar
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  8. src/compress/gzip/gzip_test.go

    	}
    
    	n3 := buf.Len()
    	if n2 == n3 {
    		t.Fatal("Flush didn't flush any data")
    	}
    
    	if err := w.Close(); err != nil {
    		t.Fatal(err)
    	}
    
    }
    
    // Multiple gzip files concatenated form a valid gzip file.
    func TestConcat(t *testing.T) {
    	var buf bytes.Buffer
    	w := NewWriter(&buf)
    	w.Write([]byte("hello "))
    	w.Close()
    	w = NewWriter(&buf)
    	w.Write([]byte("world\n"))
    	w.Close()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 17:10:06 UTC 2024
    - 6K bytes
    - Viewed (0)
  9. operator/cmd/mesh/manifest-generate.go

    	for k, v := range installTree {
    		componentName := string(k)
    		// In cases (like gateways) where multiple instances can exist, concatenate the manifests and apply as one.
    		ym := strings.Join(manifests[k], helm.YAMLSeparator)
    		l.LogAndPrintf("Rendering: %s", componentName)
    		dirName := filepath.Join(outputDir, componentName)
    		if !dryRun {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 01:18:49 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/http2/Http2Test.kt

        frame.writeAll(headerBlock)
    
        // Check writer sends the same bytes.
        assertThat(sendHeaderFrames(false, sentHeaders)).isEqualTo(frame)
    
        // Reading the above frames should result in a concatenated headerBlock.
        reader.nextFrame(
          requireSettings = false,
          object : BaseTestHandler() {
            override fun headers(
              inFinished: Boolean,
              streamId: Int,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 28.1K bytes
    - Viewed (0)
Back to top