Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 27 for copyTest (0.23 sec)

  1. src/main/webapp/js/clipboard.min.js

    Elem),this.selectedText=(0,c.default)(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=(0,c.default)(this.target),this.copyText()}},{key:"copyText",value:function(){var e=void 0;try{e=document.execCommand(...
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Sat May 28 04:16:16 UTC 2022
    - 10.5K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/mod_vendor.txt

    # if any package within their module is copied.
    exists vendor/a/foo/AUTHORS.txt
    exists vendor/a/foo/CONTRIBUTORS
    exists vendor/a/foo/LICENSE
    exists vendor/a/foo/PATENTS
    exists vendor/a/foo/COPYING
    exists vendor/a/foo/COPYLEFT
    exists vendor/x/NOTICE!
    exists vendor/mysite/myname/mypkg/LICENSE.txt
    
    ! exists vendor/a/foo/licensed-to-kill
    ! exists vendor/w
    ! exists vendor/w/LICENSE
    ! exists vendor/x/x2
    ! exists vendor/x/x2/LICENSE
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 15 16:24:01 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  3. common/config/license-lint.yml

      - W3C
      - Xnet
      - Zlib
    
    reciprocal_licenses:
      - CC0-1.0
      - APSL-2.0
      - CDDL-1.0
      - CDDL-1.1
      - CPL-1.0
      - EPL-1.0
      - IPL-1.0
      - MPL-1.0
      - MPL-1.1
      - MPL-2.0
      - MPL-2.0-no-copyleft-exception
      - Ruby
    
    restricted_licenses:
      - GPL-1.0-only
      - GPL-1.0-or-later
      - GPL-2.0-only
      - GPL-2.0-or-later
      - GPL-3.0-only
      - GPL-3.0-or-later
      - LGPL-2.0-only
      - LGPL-2.0-or-later
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 25 19:26:20 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/test/testdata/gen/copyGen.go

    	fmt.Fprintf(w, "}\n")
    
    	// gofmt result
    	b := w.Bytes()
    	src, err := format.Source(b)
    	if err != nil {
    		fmt.Printf("%s\n", b)
    		panic(err)
    	}
    
    	// write to file
    	err = os.WriteFile("../copy_test.go", src, 0666)
    	if err != nil {
    		log.Fatalf("can't write output: %v\n", err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 20 02:13:02 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  5. src/compress/flate/inflate.go

    			f.err = CorruptInputError(f.roffset)
    			return
    		}
    
    		f.copyLen, f.copyDist = length, dist
    		goto copyHistory
    	}
    
    copyHistory:
    	// Perform a backwards copy according to RFC section 3.2.3.
    	{
    		cnt := f.dict.tryWriteCopy(f.copyDist, f.copyLen)
    		if cnt == 0 {
    			cnt = f.dict.writeCopy(f.copyDist, f.copyLen)
    		}
    		f.copyLen -= cnt
    
    		if f.dict.availWrite() == 0 || f.copyLen > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 23:20:03 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  6. src/syscall/js/js_test.go

    		err := recover()
    		if err == nil {
    			t.Errorf("expected panic")
    		}
    	}()
    	fn()
    }
    
    var copyTests = []struct {
    	srcLen  int
    	dstLen  int
    	copyLen int
    }{
    	{5, 3, 3},
    	{3, 5, 3},
    	{0, 0, 0},
    }
    
    func TestCopyBytesToGo(t *testing.T) {
    	for _, tt := range copyTests {
    		t.Run(fmt.Sprintf("%d-to-%d", tt.srcLen, tt.dstLen), func(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 14:35:26 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modcmd/vendor.go

    // to nudge people toward more agreement on the naming
    // and also trying to avoid false positives.
    var metaPrefixes = []string{
    	"AUTHORS",
    	"CONTRIBUTORS",
    	"COPYLEFT",
    	"COPYING",
    	"COPYRIGHT",
    	"LEGAL",
    	"LICENSE",
    	"NOTICE",
    	"PATENTS",
    }
    
    // matchMetadata reports whether info is a metadata file.
    func matchMetadata(dir string, info fs.DirEntry) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 14:19:59 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  8. src/text/template/parse/parse.go

    // Copy returns a copy of the [Tree]. Any parsing state is discarded.
    func (t *Tree) Copy() *Tree {
    	if t == nil {
    		return nil
    	}
    	return &Tree{
    		Name:      t.Name,
    		ParseName: t.ParseName,
    		Root:      t.Root.CopyList(),
    		text:      t.text,
    	}
    }
    
    // Parse returns a map from template name to [Tree], created by parsing the
    // templates described in the argument string. The top-level template will be
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:57:51 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  9. src/html/template/escape.go

    		// with different top level templates, or clone if necessary.
    		dt := e.template(dname)
    		if dt == nil {
    			dt = template.New(dname)
    			dt.Tree = &parse.Tree{Name: dname, Root: t.Root.CopyList()}
    			e.derived[dname] = dt
    		}
    		t = dt
    	}
    	return e.computeOutCtx(c, t), dname
    }
    
    // computeOutCtx takes a template and its start context and computes the output
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 02 15:18:39 UTC 2023
    - 32.4K bytes
    - Viewed (0)
  10. LICENSE

     Everyone is permitted to copy and distribute verbatim copies
     of this license document, but changing it is not allowed.
    
                                Preamble
    
      The GNU Affero General Public License is a free, copyleft license for
    software and other kinds of works, specifically designed to ensure
    cooperation with the community in the case of network server software.
    
      The licenses for most software and other practical works are designed
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 33.7K bytes
    - Viewed (0)
Back to top