Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 73 for fromlen (0.26 sec)

  1. src/syscall/syscall_linux_loong64.go

    //sysnb	getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error)
    //sysnb	getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error)
    //sys	recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error)
    //sys	sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error)
    //sys	recvmsg(s int, msg *Msghdr, flags int) (n int, err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 22:23:07 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  2. src/crypto/dsa/dsa_test.go

    	}
    
    	for i, test := range badKeys {
    		priv := PrivateKey{
    			PublicKey: PublicKey{
    				Parameters: Parameters{
    					P: fromHex(test.p),
    					Q: fromHex(test.q),
    					G: fromHex(test.g),
    				},
    				Y: fromHex(test.y),
    			},
    			X: fromHex(test.x),
    		}
    
    		hashed := []byte("testing")
    		if _, _, err := Sign(rand.Reader, &priv, hashed); err == nil {
    			t.Errorf("#%d: unexpected success", i)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 15 21:04:43 UTC 2019
    - 4.7K bytes
    - Viewed (0)
  3. src/hash/marshal_test.go

    	{"fnv32", func() hash.Hash { return fnv.New32() }, fromHex("666e760171ba3d77")},
    	{"fnv32a", func() hash.Hash { return fnv.New32a() }, fromHex("666e76027439f86f")},
    	{"fnv64", func() hash.Hash { return fnv.New64() }, fromHex("666e7603cc64e0e97692c637")},
    	{"fnv64a", func() hash.Hash { return fnv.New64a() }, fromHex("666e7604c522af9b0dede66f")},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 06 07:45:46 UTC 2017
    - 5.4K bytes
    - Viewed (0)
  4. src/strings/builder_test.go

    	}
    }
    
    func TestBuilderGrow(t *testing.T) {
    	for _, growLen := range []int{0, 100, 1000, 10000, 100000} {
    		p := bytes.Repeat([]byte{'a'}, growLen)
    		allocs := testing.AllocsPerRun(100, func() {
    			var b Builder
    			b.Grow(growLen) // should be only alloc, when growLen > 0
    			if b.Cap() < growLen {
    				t.Fatalf("growLen=%d: Cap() is lower than growLen", growLen)
    			}
    			b.Write(p)
    			if b.String() != string(p) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 19 19:51:15 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ForwardingSortedMap.java

        return delegate().lastKey();
      }
    
      @Override
      public SortedMap<K, V> subMap(@ParametricNullness K fromKey, @ParametricNullness K toKey) {
        return delegate().subMap(fromKey, toKey);
      }
    
      @Override
      public SortedMap<K, V> tailMap(@ParametricNullness K fromKey) {
        return delegate().tailMap(fromKey);
      }
    
      /**
       * A sensible implementation of {@link SortedMap#keySet} in terms of the methods of {@code
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  6. src/crypto/rsa/boring_test.go

    		E: 65537,
    	}
    
    	hash := fromHex("019c5571724fb5d0e47a4260c940e9803ba05a44")
    	paddedHash := fromHex("3021300906052b0e03021a05000414019c5571724fb5d0e47a4260c940e9803ba05a44")
    
    	// signature is one byte shorter than key.N.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 15 00:16:30 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/conc_alloc_test.go

    		// Add a class with a target of zero
    		classes = append(classes, allocProblemItem{target: 0, upperBound: rands.Float64() + 0.00001})
    		highSum += classes[probLen].upperBound
    		if probLen > 1 {
    			m := rands.Intn(probLen)
    			classes[m], classes[probLen] = classes[probLen], classes[m]
    		}
    		probLen = len(classes)
    	}
    	allocs, fairProp, err := computeConcurrencyAllocation(requiredSum, classes)
    	var actualSumF float64
    	for _, item := range allocs {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 07 18:17:27 UTC 2022
    - 5.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ForwardingSortedMap.java

        return delegate().lastKey();
      }
    
      @Override
      public SortedMap<K, V> subMap(@ParametricNullness K fromKey, @ParametricNullness K toKey) {
        return delegate().subMap(fromKey, toKey);
      }
    
      @Override
      public SortedMap<K, V> tailMap(@ParametricNullness K fromKey) {
        return delegate().tailMap(fromKey);
      }
    
      /**
       * A sensible implementation of {@link SortedMap#keySet} in terms of the methods of {@code
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

      }
    
      @Override
      public NavigableMap<K, V> subMap(K fromKey, boolean fromInclusive, K toKey, boolean toInclusive) {
        return new SafeTreeMap<>(
            delegate.subMap(checkValid(fromKey), fromInclusive, checkValid(toKey), toInclusive));
      }
    
      @Override
      public SortedMap<K, V> subMap(K fromKey, K toKey) {
        return subMap(fromKey, true, toKey, false);
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/StandardRowSortedTable.java

        @Override
        public SortedMap<R, Map<C, V>> subMap(R fromKey, R toKey) {
          checkNotNull(fromKey);
          checkNotNull(toKey);
          return new StandardRowSortedTable<R, C, V>(sortedBackingMap().subMap(fromKey, toKey), factory)
              .rowMap();
        }
    
        @Override
        public SortedMap<R, Map<C, V>> tailMap(R fromKey) {
          checkNotNull(fromKey);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jul 15 15:41:16 UTC 2021
    - 4.3K bytes
    - Viewed (0)
Back to top