Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for partlen (0.16 sec)

  1. src/net/dnsclient.go

    			}
    			partlen++
    			nonNumeric = true
    		case c == '.':
    			// Byte before dot cannot be dot, dash.
    			if last == '.' || last == '-' {
    				return false
    			}
    			if partlen > 63 || partlen == 0 {
    				return false
    			}
    			partlen = 0
    		}
    		last = c
    	}
    	if last == '-' || partlen > 63 {
    		return false
    	}
    
    	return nonNumeric
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. pkg/test/framework/components/echo/portgen.go

    Nathan Mittler <******@****.***> 1646353444 -0800
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 04 00:24:04 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/ztypes_zos_s390x.go

    	Parentdev    uint32
    	Rootino      uint32
    	Status       byte
    	Ddname       [9]byte
    	Fstname      [9]byte
    	Fsname       [45]byte
    	Pathlen      uint32
    	Mountpoint   [1024]byte
    	Jobname      [8]byte
    	PID          int32
    	Parmoffset   int32
    	Parmlen      int16
    	Owner        [8]byte
    	Quiesceowner [8]byte
    	_            [38]byte
    }
    
    type EpollEvent struct {
    	Events uint32
    	_      int32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  4. internal/crypto/key_test.go

    		expectedPartKey, err := hex.DecodeString(test.PartKey)
    		if err != nil {
    			t.Fatalf("Test %d failed to decode expected part-key: %v", i, err)
    		}
    		partKey := key.DerivePartKey(test.PartID)
    		if !bytes.Equal(partKey[:], expectedPartKey) {
    			t.Errorf("Test %d derives wrong part-key: got '%s' want: '%s'", i, hex.EncodeToString(partKey[:]), test.PartKey)
    		}
    	}
    }
    
    var sealUnsealETagTests = []string{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Feb 02 00:13:57 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. test/arenas/smoke.go

    		// that *i crashes for some reason. Still, why not check it.
    		log.Fatalf("bad i value: got %d, want %d", *i, iValue)
    	}
    
    	const wantLen = 125
    	const wantCap = 1912
    
    	sl := arena.MakeSlice[*int](a, wantLen, wantCap)
    	if len(sl) != wantLen {
    		log.Fatalf("bad arena slice length: got %d, want %d", len(sl), wantLen)
    	}
    	if cap(sl) != wantCap {
    		log.Fatalf("bad arena slice capacity: got %d, want %d", cap(sl), wantCap)
    	}
    	sl = sl[:cap(sl)]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 16 17:08:43 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  6. .github/workflows/trusted-partners.yml

    # limitations under the License.
    # ==============================================================================
    
    name: Trusted Partner PR
    on:
      pull_request_target:
    
    permissions:
      contents: read
    
    jobs:
      assign-partner-tags:
        runs-on: ubuntu-latest
        permissions:
          # Needed to attach tags into the PR
          issues: write
          contents: write
          pull-requests: write
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 12 14:49:29 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  7. src/cmd/internal/src/xpos_test.go

    	if len(tab.baseList) != 1+len(tab.indexMap) { // indexMap omits nil
    		t.Errorf("table length discrepancy: %d != 1+%d", len(tab.baseList), len(tab.indexMap))
    	}
    
    	const wantLen = 4
    	if len(tab.baseList) != wantLen {
    		t.Errorf("got table length %d; want %d", len(tab.baseList), wantLen)
    	}
    
    	if got := tab.XPos(NoPos); got != NoXPos {
    		t.Errorf("XPos(NoPos): got %v; want %v", got, NoXPos)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 15:52:41 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  8. src/strings/compare_test.go

    	if !testing.Short() || testenv.Builder() != "" {
    		lengths = append(lengths, 65535, 65536, 65537, 99999)
    	}
    
    	n := lengths[len(lengths)-1]
    	a := make([]byte, n+1)
    	b := make([]byte, n+1)
    	lastLen := 0
    	for _, len := range lengths {
    		// randomish but deterministic data. No 0 or 255.
    		for i := 0; i < len; i++ {
    			a[i] = byte(1 + 31*i%254)
    			b[i] = byte(1 + 31*i%254)
    		}
    		// data past the end is different
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 07 01:33:55 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  9. maven-compat/src/main/java/org/apache/maven/artifact/ArtifactStatus.java

         */
        public static final ArtifactStatus CONVERTED = new ArtifactStatus("converted", 2);
    
        /**
         * Moderate trust - it was deployed directly from a partner.
         */
        public static final ArtifactStatus PARTNER = new ArtifactStatus("partner", 3);
    
        /**
         * Moderate trust - it was deployed directly by a user.
         */
        public static final ArtifactStatus DEPLOYED = new ArtifactStatus("deployed", 4);
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 11:28:54 UTC 2023
    - 3K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/test_fuzz_minimize_interesting.txt

    			if m == nil {
    				continue
    			}
    			containsVal = true
    			s, err := strconv.Unquote(string(m[1]))
    			if err != nil {
    				panic(err)
    			}
    			if len(s) != wantLen {
    				fmt.Fprintf(os.Stderr, "expect length %d, got %d (%q)\n", wantLen, len(s), line)
    				os.Exit(1)
    			}
    		}
    		if !containsVal {
    			fmt.Fprintln(os.Stderr, "corpus file contained no values")
    			os.Exit(1)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:32 UTC 2023
    - 5.5K bytes
    - Viewed (0)
Back to top