Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 99 for slicemap (0.14 sec)

  1. test/typeparam/sliceimp.go

    Matthew Dempsky <******@****.***> 1646087539 -0800
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 187 bytes
    - Viewed (0)
  2. test/typeparam/sliceimp.dir/a.go

    // If the slice is empty it returns the zero value of the element type.
    func SliceMax[Elem Ordered](s []Elem) Elem {
    	if len(s) == 0 {
    		var zero Elem
    		return zero
    	}
    	return Reduce(s[1:], s[0], Max[Elem])
    }
    
    // Min returns the minimum element in a slice of some ordered type.
    // If the slice is empty it returns the zero value of the element type.
    func SliceMin[Elem Ordered](s []Elem) Elem {
    	if len(s) == 0 {
    		var zero Elem
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 30 01:55:58 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  3. src/internal/saferio/io_test.go

    	t.Run("maxint", func(t *testing.T) {
    		c := SliceCap[byte](1 << 63)
    		if c >= 0 {
    			t.Errorf("SliceCap returned %d, expected failure", c)
    		}
    	})
    
    	t.Run("overflow", func(t *testing.T) {
    		c := SliceCap[int64](1 << 62)
    		if c >= 0 {
    			t.Errorf("SliceCap returned %d, expected failure", c)
    		}
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 31 00:34:05 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/rewritedec.go

    	v_0 := v.Args[0]
    	b := v.Block
    	config := b.Func.Config
    	typ := &b.Func.Config.Types
    	// match: (SliceCap (SliceMake _ _ cap))
    	// result: cap
    	for {
    		if v_0.Op != OpSliceMake {
    			break
    		}
    		cap := v_0.Args[2]
    		v.copyOf(cap)
    		return true
    	}
    	// match: (SliceCap x:(Load <t> ptr mem))
    	// cond: t.IsSlice()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:48:31 UTC 2023
    - 24.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

                                                slice_op.getLimitIndices());
        auto strides =
            rewriter.create<TF::ConstOp>(slice_op.getLoc(), slice_op.getStrides());
        rewriter.replaceOpWithNewOp<TF::StridedSliceOp>(
            slice_op, slice_op.getType(), slice_op.getOperand(), begin, end,
            strides);
        return success();
      }
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapSet.java

        public static final String INDEX = "Index";
    
        private final List<Sitemap> sitemapList = new ArrayList<>();
    
        private String type = URLSET;
    
        public void addSitemap(final Sitemap sitemap) {
            sitemapList.add(sitemap);
        }
    
        public void removeSitemap(final Sitemap sitemap) {
            sitemapList.remove(sitemap);
        }
    
        public Sitemap[] getSitemaps() {
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. fess-crawler/src/test/resources/sitemaps/sitemap2.xml

    <?xml version="1.0" encoding="UTF-8"?>
    <sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
       <sitemap>
          <loc>http://www.example.com/sitemap1.xml.gz</loc>
          <lastmod>2004-10-01T18:23:17+00:00</lastmod>
       </sitemap>
       <sitemap>
          <loc>http://www.example.com/sitemap2.xml.gz</loc>
          <lastmod>2005-01-01</lastmod>
       </sitemap>
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Sun Oct 11 02:16:55 UTC 2015
    - 376 bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapFile.java

     * @author shinsuke
     *
     */
    public class SitemapFile implements Sitemap {
    
        private static final long serialVersionUID = 1L;
    
        /**
         * Identifies the location of the Sitemap. This location can be a Sitemap,
         * an Atom file, RSS file or a simple text file.
         */
        private String loc;
    
        /**
         * Identifies the time that the corresponding Sitemap file was modified. It
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/processor/impl/SitemapsResponseProcessor.java

                final Set<RequestData> requestDataSet = new LinkedHashSet<>();
                for (final Sitemap sitemap : sitemapSet.getSitemaps()) {
                    if (sitemap != null) {
                        requestDataSet.add(RequestDataBuilder.newRequestData().get().url(sitemap.getLoc()).build());
                    }
                }
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. test/nilptr2.go

    	{"*intp", func() { println(*intp) }},
    	{"&*intp", func() { println(&*intp) }},
    	{"*slicep", func() { println(*slicep) }},
    	{"&*slicep", func() { println(&*slicep) }},
    	{"(*slicep)[0]", func() { println((*slicep)[0]) }},
    	{"&(*slicep)[0]", func() { println(&(*slicep)[0]) }},
    	{"(*slicep)[i]", func() { println((*slicep)[i]) }},
    	{"&(*slicep)[i]", func() { println(&(*slicep)[i]) }},
    	{"*a10p", func() { use(*a10p) }},
    	{"&*a10p", func() { println(&*a10p) }},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 03:02:33 UTC 2019
    - 3.6K bytes
    - Viewed (0)
Back to top