Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 6,002 for append (0.15 sec)

  1. test/typeparam/append.go

    type Recv <-chan int
    
    type sliceOf[E any] interface {
    	~[]E
    }
    
    func _Append[S sliceOf[T], T any](s S, t ...T) S {
    	return append(s, t...)
    }
    
    func main() {
    	recv := make(Recv)
    	a := _Append([]Recv{recv}, recv)
    	if len(a) != 2 || a[0] != recv || a[1] != recv {
    		panic(a)
    	}
    
    	recv2 := make(chan<- int)
    	a2 := _Append([]chan<- int{recv2}, recv2)
    	if len(a2) != 2 || a2[0] != recv2 || a2[1] != recv2 {
    		panic(a)
    Registered: 2024-06-12 16:32
    - Last Modified: 2022-03-01 19:45
    - 597 bytes
    - Viewed (0)
  2. test/append.go

    	{"byte c", append([]byte{}, 0, 1, 2, 3), []byte{0, 1, 2, 3}},
    
    	{"byte d", append([]byte{0, 1, 2}), []byte{0, 1, 2}},
    	{"byte e", append([]byte{0, 1, 2}, 3), []byte{0, 1, 2, 3}},
    	{"byte f", append([]byte{0, 1, 2}, 3, 4, 5), []byte{0, 1, 2, 3, 4, 5}},
    
    	{"byte g", append([]byte{}, []byte{0}...), []byte{0}},
    	{"byte h", append([]byte{}, []byte{0, 1, 2, 3}...), []byte{0, 1, 2, 3}},
    
    Registered: 2024-06-12 16:32
    - Last Modified: 2018-05-06 04:28
    - 9.1K bytes
    - Viewed (0)
  3. internal/ioutil/append-file_windows.go

    package ioutil
    
    import (
    	"io"
    	"os"
    
    	"github.com/minio/minio/internal/lock"
    )
    
    // AppendFile - appends the file "src" to the file "dst"
    func AppendFile(dst string, src string, osync bool) error {
    	appendFile, err := lock.Open(dst, os.O_WRONLY|os.O_APPEND|os.O_CREATE, 0o666)
    	if err != nil {
    		return err
    	}
    	defer appendFile.Close()
    
    	srcFile, err := lock.Open(src, os.O_RDONLY, 0o666)
    Registered: 2024-06-16 00:44
    - Last Modified: 2022-01-02 17:15
    - 1.2K bytes
    - Viewed (0)
  4. tools/istio-iptables/pkg/builder/testdata/append-single.golden

    Leonardo Sarra <******@****.***> 1718116194 +0200
    Registered: 2024-06-14 15:00
    - Last Modified: 2024-06-11 14:29
    - 49 bytes
    - Viewed (0)
  5. internal/ioutil/append-file_nix.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package ioutil
    
    import (
    	"io"
    	"os"
    )
    
    // AppendFile - appends the file "src" to the file "dst"
    func AppendFile(dst string, src string, osync bool) error {
    	flags := os.O_WRONLY | os.O_APPEND | os.O_CREATE
    	if osync {
    		flags |= os.O_SYNC
    	}
    	appendFile, err := os.OpenFile(dst, flags, 0o666)
    	if err != nil {
    		return err
    	}
    Registered: 2024-06-16 00:44
    - Last Modified: 2022-01-02 17:15
    - 1.3K bytes
    - Viewed (0)
  6. tools/istio-iptables/pkg/builder/testdata/append-multi.golden

    Leonardo Sarra <******@****.***> 1718116194 +0200
    Registered: 2024-06-14 15:00
    - Last Modified: 2024-06-11 14:29
    - 112 bytes
    - Viewed (0)
  7. tools/istio-iptables/pkg/builder/testdata/append-single-restore.golden

    Leonardo Sarra <******@****.***> 1718116194 +0200
    Registered: 2024-06-14 15:00
    - Last Modified: 2024-06-11 14:29
    - 46 bytes
    - Viewed (0)
  8. tools/istio-iptables/pkg/builder/testdata/append-multi-restore.golden

    Leonardo Sarra <******@****.***> 1718116194 +0200
    Registered: 2024-06-14 15:00
    - Last Modified: 2024-06-11 14:29
    - 91 bytes
    - Viewed (0)
  9. maven-model-builder/src/test/resources/poms/inheritance/no-append-urls3-expected.xml

      <artifactId>inheritance</artifactId>
      <version>11-SNAPSHOT</version>
      <name>Model urls inheritance test child</name>
    
      <scm child.scm.connection.inherit.append.path="true"
           child.scm.developerConnection.inherit.append.path="true"
           child.scm.url.inherit.append.path="true">
        <connection>scm:my-scm:http://domain.org/base</connection>
        <developerConnection>scm:my-scm:https://domain.org/base/</developerConnection>
    Registered: 2024-06-12 09:55
    - Last Modified: 2019-11-07 15:16
    - 1.9K bytes
    - Viewed (0)
  10. tools/istio-iptables/pkg/builder/testdata/append-insert-multi.golden

    Leonardo Sarra <******@****.***> 1718116194 +0200
    Registered: 2024-06-14 15:00
    - Last Modified: 2024-06-11 14:29
    - 115 bytes
    - Viewed (0)
Back to top