Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 242 for getn (0.08 sec)

  1. src/index/suffixarray/gen.go

    // license that can be found in the LICENSE file.
    
    //go:build ignore
    
    // Gen generates sais2.go by duplicating functions in sais.go
    // using different input types.
    // See the comment at the top of sais.go for details.
    package main
    
    import (
    	"bytes"
    	"log"
    	"os"
    	"strings"
    )
    
    func main() {
    	log.SetPrefix("gen: ")
    	log.SetFlags(0)
    
    	data, err := os.ReadFile("sais.go")
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  2. src/image/internal/imageutil/gen.go

    	}
    	out, err := format.Source(w.Bytes())
    	if err != nil {
    		log.Fatal(err)
    	}
    	if err := os.WriteFile("impl.go", out, 0660); err != nil {
    		log.Fatal(err)
    	}
    }
    
    const pre = `// Code generated by go run gen.go; DO NOT EDIT.
    
    package imageutil
    
    import (
    	"image"
    )
    
    // DrawYCbCr draws the YCbCr source image on the RGBA destination image with
    // r.Min in dst aligned with sp in src. It reports whether the draw was
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 4.3K bytes
    - Viewed (0)
  3. src/image/color/palette/gen.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build ignore
    
    package main
    
    // This program generates palette.go. Invoke it as
    //	go run gen.go -output palette.go
    
    import (
    	"bytes"
    	"flag"
    	"fmt"
    	"go/format"
    	"io"
    	"log"
    	"os"
    )
    
    var filename = flag.String("output", "palette.go", "output file name")
    
    func main() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/get.go

    )
    
    // getterFunc performs a get request with the given context and object name. The request
    // may be used to deserialize an options object to pass to the getter.
    type getterFunc func(ctx context.Context, name string, req *http.Request) (runtime.Object, error)
    
    // getResourceHandler is an HTTP handler function for get requests. It delegates to the
    // passed-in getterFunc to perform the actual get.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 10:22:16 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java

            final Map<String, Object> dest = newHashMap();
            BeanUtil.copyBeanToMap(src, dest);
            assertThat(dest.get("aaa"), is((Object) "aaa"));
            assertThat(dest.get("bbb"), is(nullValue()));
            assertThat(dest.get("ccc"), is((Object) "ccc"));
            assertThat(dest.get("ddd"), is(nullValue()));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  6. pkg/http/get.go

    	return request("GET", requestURL, t, nil)
    }
    
    func DoHTTPGet(requestURL string) (*bytes.Buffer, error) {
    	return DoHTTPGetWithTimeout(requestURL, requestTimeout)
    }
    
    func GET(requestURL string, t time.Duration, headers map[string]string) (*bytes.Buffer, error) {
    	return request("GET", requestURL, t, headers)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 09 03:52:10 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  7. src/crypto/md5/gen.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build ignore
    
    // This program generates md5block.go
    // Invoke as
    //
    //	go run gen.go -output md5block.go
    
    package main
    
    import (
    	"bytes"
    	"flag"
    	"go/format"
    	"log"
    	"os"
    	"strings"
    	"text/template"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/oidc/testdata/gen.sh

    danielqsj <******@****.***> 1548309309 +0800
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 24 05:55:09 UTC 2019
    - 807 bytes
    - Viewed (0)
  9. src/runtime/os_solaris.go

    func asmsysvicall6() // declared for vet; do NOT call
    
    //go:nosplit
    func sysvicall0(fn *libcFunc) uintptr {
    	// Leave caller's PC/SP around for traceback.
    	gp := getg()
    	var mp *m
    	if gp != nil {
    		mp = gp.m
    	}
    	if mp != nil && mp.libcallsp == 0 {
    		mp.libcallg.set(gp)
    		mp.libcallpc = getcallerpc()
    		// sp must be the last, because once async cpu profiler finds
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  10. src/runtime/lock_wasip1.go

    		// observe this.
    		throw("self deadlock")
    	}
    	gp := getg()
    	if gp.m.locks < 0 {
    		throw("lock count")
    	}
    	gp.m.locks++
    	l.key = mutex_locked
    }
    
    func unlock(l *mutex) {
    	unlockWithRank(l)
    }
    
    func unlock2(l *mutex) {
    	if l.key == mutex_unlocked {
    		throw("unlock of unlocked lock")
    	}
    	gp := getg()
    	gp.m.locks--
    	if gp.m.locks < 0 {
    		throw("lock count")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 21:02:20 UTC 2023
    - 2K bytes
    - Viewed (0)
Back to top