Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,008 for Ehat (0.14 sec)

  1. cmd/data-usage-cache_test.go

    			for _, sz := range test.sizes {
    				h.add(sz)
    			}
    			got := h.toMap()
    			exp := test.want
    			// what is in exp is in got
    			for k := range exp {
    				if exp[k] != got[k] {
    					t.Fatalf("interval %s: Expected %d values but got %d values\n", k, exp[k], got[k])
    				}
    			}
    			// what is absent in exp is absent in got too
    			for k := range got {
    				if _, ok := exp[k]; !ok && got[k] > 0 {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Jan 13 07:51:08 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/lex/lex.go

    // Copyright 2015 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Package lex implements lexical analysis for the assembler.
    package lex
    
    import (
    	"fmt"
    	"log"
    	"os"
    	"strings"
    	"text/scanner"
    
    	"cmd/internal/src"
    )
    
    // A ScanToken represents an input item. It is a simple wrapping of rune, as
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Aug 29 18:31:05 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  3. internal/lock/lock_windows.go

    	// the kernel is arbitrarily okay with < 248 bytes. That
    	// matches what the docs above say:
    	// "When using an API to create a directory, the specified
    	// path cannot be so long that you cannot append an 8.3 file
    	// name (that is, the directory name cannot exceed MAX_PATH
    	// minus 12)." Since MAX_PATH is 260, 260 - 12 = 248.
    	//
    	// The MSDN docs appear to say that a normal path that is 248 bytes long
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Oct 18 18:08:15 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  4. internal/s3select/sql/value_test.go

    			fields: fields{
    				value: []byte("9223372036854775808"),
    			},
    			// Seems to be what strconv.ParseInt returns
    			want:   math.MaxInt64,
    			wantOK: false,
    		},
    		{
    			name: "min-underflow",
    			fields: fields{
    				value: []byte("-9223372036854775809"),
    			},
    			// Seems to be what strconv.ParseInt returns
    			want:   math.MinInt64,
    			wantOK: false,
    		},
    		{
    			name: "zerospace",
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Mar 06 16:56:10 GMT 2023
    - 12.5K bytes
    - Viewed (0)
  5. cmd/storage-datatypes.go

    // The above means that any added/deleted fields are incompatible.
    // Make sure to bump the internode version at storage-rest-common.go
    type RawFileInfo struct {
    	// Content of entire xl.meta (may contain data depending on what was requested by the caller.
    	Buf []byte `msg:"b,allownil"`
    }
    
    // FileInfo - represents file stat information.
    // The above means that any added/deleted fields are incompatible.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Apr 16 15:41:27 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  6. cni/pkg/nodeagent/ztunnelserver.go

    }
    
    /*
    To clean up stale ztunnels
    
    	we may need to ztunnel to send its (uid, bootid / boot time) to us
    	so that we can remove stale entries when the ztunnel pod is deleted
    	or when the ztunnel pod is restarted in the same pod (remove old entries when the same uid connects again, but with different boot id?)
    
    	save a queue of what needs to be sent to the ztunnel pod and send it one by one when it connects.
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/endtoend_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package asm
    
    import (
    	"bufio"
    	"bytes"
    	"fmt"
    	"internal/buildcfg"
    	"os"
    	"path/filepath"
    	"regexp"
    	"sort"
    	"strconv"
    	"strings"
    	"testing"
    
    	"cmd/asm/internal/lex"
    	"cmd/internal/obj"
    )
    
    // An end-to-end test for the assembler: Do we print what we parse?
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Dec 07 18:42:59 GMT 2023
    - 11.6K bytes
    - Viewed (0)
  8. cmd/sts-datatypes.go

    	//
    	// Note: The size of the security token that STS APIs return is not fixed. We
    	// strongly recommend that you make no assumptions about the maximum size. As
    	// of this writing, the typical size is less than 4096 bytes, but that can vary.
    	// Also, future updates to AWS might require larger sizes.
    	Credentials auth.Credentials `xml:",omitempty"`
    
    	// A percentage value that indicates the size of the policy in packed form.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri May 27 00:58:09 GMT 2022
    - 9.9K bytes
    - Viewed (0)
  9. cmd/format-erasure.go

    // it under the terms of the GNU Affero General Public License as published by
    // the Free Software Foundation, either version 3 of the License, or
    // (at your option) any later version.
    //
    // This program is distributed in the hope that it will be useful
    // but WITHOUT ANY WARRANTY; without even the implied warranty of
    // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    // GNU Affero General Public License for more details.
    //
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 23.4K bytes
    - Viewed (0)
  10. cni/pkg/install/cniconfig.go

    		} else {
    			conf, err := libcni.ConfFromFile(confFile)
    			if err != nil {
    				installLog.Warnf("Error loading CNI config file %s: %v", confFile, err)
    				continue
    			}
    			// Ensure the config has a "type" so we know what plugin to run.
    			// Also catches the case where somebody put a conflist into a conf file.
    			if conf.Network.Type == "" {
    				installLog.Warnf("Error loading CNI config file %s: no 'type'; perhaps this is a .conflist?", confFile)
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 10.4K bytes
    - Viewed (0)
Back to top