Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,488 for lien (0.56 sec)

  1. doc/next/6-stdlib/1-time.md

    A visible effect of this change is that `len` and `cap` of timer channels
    now returns 0 instead of 1, which may affect programs that
    poll the length to decide whether a receive on the timer channel
    will succeed.
    Such code should use a non-blocking receive instead.
    
    These new behaviors are only enabled when the main Go program
    is in a module with a `go.mod` `go` line using Go 1.23.0 or later.
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 12 20:57:18 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  2. ci/official/containers/linux_arm64/builder.devtoolset/stringop_trunc.patch

     
       char *numstr = NISOBJVAL (2, obj);
       len = NISOBJLEN (2, obj);
    -  if (len == 0 && numstr[len - 1] != '\0')
    +  if (len == 0 || numstr[len - 1] != '\0')
         {
           if (len >= room_left)
     	goto no_more_room;
    @@ -98,7 +98,7 @@ _nss_nisplus_parse_pwent (nis_result *result, struct passwd *pw,
     
       numstr = NISOBJVAL (3, obj);
       len = NISOBJLEN (3, obj);
    -  if (len == 0 && numstr[len - 1] != '\0')
    Others
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 42.9K bytes
    - Viewed (1)
  3. cni/pkg/log/uds_test.go

    	gotLogs := strings.Split(
    		strings.TrimSuffix(string(out), "\n"), "\n")
    	if want, got := len(wantLevels), len(gotLogs); want != got {
    		t.Fatalf("Number of logs want %v, got %v logs: %v", want, got, gotLogs)
    	}
    
    	for i, l := range gotLogs {
    		// For each line, there should be two level string, e.g.
    		// "2021-07-09T03:26:08.984951Z	debug	debug log"
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Mar 16 00:20:01 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  4. internal/mountinfo/mountinfo_linux_test.go

    		t.Fatal(err)
    	}
    	// Verifies if reading each line worked properly.
    	{
    		var mounts mountInfos
    		mounts, err = readProcMounts(mountsPath)
    		if err != nil {
    			t.Fatal(err)
    		}
    		if len(mounts) != 3 {
    			t.Fatalf("expected 3 mounts, got %d", len(mounts))
    		}
    		mp := mountInfo{"/dev/0", "/path/to/0", "type0", []string{"flags"}, "0", "0"}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  5. internal/s3select/json/preader.go

    	"bufio"
    	"bytes"
    	"io"
    	"runtime"
    	"sync"
    
    	"github.com/bcicen/jstream"
    	"github.com/minio/minio/internal/s3select/sql"
    )
    
    // PReader - JSON record reader for S3Select.
    // Operates concurrently on line-delimited JSON.
    type PReader struct {
    	args        *ReaderArgs
    	readCloser  io.ReadCloser   // raw input
    	buf         *bufio.Reader   // input to the splitter
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 05 04:57:35 GMT 2023
    - 6.4K bytes
    - Viewed (0)
  6. internal/kms/context.go

    // is based on the un-escaped keys. It never returns an error.
    func (c Context) MarshalText() ([]byte, error) {
    	if len(c) == 0 {
    		return []byte{'{', '}'}, nil
    	}
    
    	// Pre-allocate a buffer - 128 bytes is an arbitrary
    	// heuristic value that seems like a good starting size.
    	b := bytes.NewBuffer(make([]byte, 0, 128))
    	if len(c) == 1 {
    		for k, v := range c {
    			b.WriteString(`{"`)
    			escapeStringJSON(b, k)
    			b.WriteString(`":"`)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/ByteStreamsTest.java

        InputStream bin = new ByteArrayInputStream(big);
        InputStream lin = ByteStreams.limit(bin, 2);
    
        // also test available
        lin.mark(2);
        assertEquals(2, lin.available());
        lin.skip(1);
        assertEquals(1, lin.available());
    
        lin.reset();
        assertEquals(2, lin.available());
        lin.skip(3);
        assertEquals(0, lin.available());
      }
    
      public void testLimit_markNotSet() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.9K bytes
    - Viewed (0)
  8. cmd/server-startup-msg.go

    		return
    	}
    
    	arns := globalEventNotifier.GetARNList(true)
    	if len(arns) == 0 {
    		return
    	}
    
    	arnMsg := color.Blue("SQS ARNs: ")
    	for _, arn := range arns {
    		arnMsg += color.Bold(fmt.Sprintf("%s ", arn))
    	}
    
    	logger.Info(arnMsg + "\n")
    }
    
    // Prints startup message for command line access. Prints link to our documentation
    // and custom platform specific message.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/util/MD4.java

         * @param    offset    start of meaningful bytes in input
         * @param    len        count of bytes in input block to consider
         */
        public void engineUpdate (byte[] input, int offset, int len) {
            // make sure we don't exceed input's allocated size/length
            if (offset < 0 || len < 0 || (long)offset + len > input.length)
                throw new ArrayIndexOutOfBoundsException();
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 9.3K bytes
    - Viewed (0)
  10. cmd/endpoint-ellipses.go

    	for _, ss := range setCounts {
    		var symmetry bool
    		for _, argPattern := range argPatterns {
    			for _, p := range argPattern {
    				if uint64(len(p.Seq)) > ss {
    					symmetry = uint64(len(p.Seq))%ss == 0
    				} else {
    					symmetry = ss%uint64(len(p.Seq)) == 0
    				}
    			}
    		}
    		// With no arg patterns, it is expected that user knows
    		// the right symmetry, so either ellipses patterns are
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 14.7K bytes
    - Viewed (0)
Back to top