Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,504 for integers (1.88 sec)

  1. src/encoding/gob/encode.go

    	e.next = enc.freeList
    	enc.freeList = e
    }
    
    // Unsigned integers have a two-state encoding. If the number is less
    // than 128 (0 through 0x7F), its value is written directly.
    // Otherwise the value is written in big-endian byte order preceded
    // by the byte length, negated.
    
    // encodeUint writes an encoded unsigned integer to state.b.
    func (state *encoderState) encodeUint(x uint64) {
    	if x <= 0x7F {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. guava/src/com/google/common/net/InetAddresses.java

        }
    
        return getInet4Address(Ints.toByteArray(coercedHash));
      }
    
      /**
       * Returns an integer representing an IPv4 address regardless of whether the supplied argument is
       * an IPv4 address or not.
       *
       * <p>IPv6 addresses are <b>coerced</b> to IPv4 addresses before being converted to integers.
       *
       * <p>As long as there are applications that assume that all IP addresses are IPv4 addresses and
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 24 16:44:05 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/response-model.md

    You can use **type annotations** the same way you would for input data in function **parameters**, you can use Pydantic models, lists, dictionaries, scalar values like integers, booleans, etc.
    
    === "Python 3.10+"
    
        ```Python hl_lines="16  21"
        {!> ../../../docs_src/response_model/tutorial001_01_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="18  23"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/net/InetAddresses.java

        }
    
        return getInet4Address(Ints.toByteArray(coercedHash));
      }
    
      /**
       * Returns an integer representing an IPv4 address regardless of whether the supplied argument is
       * an IPv4 address or not.
       *
       * <p>IPv6 addresses are <b>coerced</b> to IPv4 addresses before being converted to integers.
       *
       * <p>As long as there are applications that assume that all IP addresses are IPv4 addresses and
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 24 16:44:05 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/syscall_freebsd.go

    	p := (*byte)(unsafe.Pointer(&buf[0]))
    	bytes, err := ByteSliceFromString(name)
    	if err != nil {
    		return nil, err
    	}
    
    	// Magic sysctl: "setting" 0.3 to a string name
    	// lets you read back the array of integers form.
    	if err = sysctl([]_C_int{0, 3}, p, &n, &bytes[0], uintptr(len(name))); err != nil {
    		return nil, err
    	}
    	return buf[0 : n/siz], nil
    }
    
    func direntIno(buf []byte) (uint64, bool) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/batch/v1/generated.proto

      optional JobTemplateSpec jobTemplate = 5;
    
      // The number of successful finished jobs to retain. Value must be non-negative integer.
      // Defaults to 3.
      // +optional
      optional int32 successfulJobsHistoryLimit = 6;
    
      // The number of failed finished jobs to retain. Value must be non-negative integer.
      // Defaults to 1.
      // +optional
      optional int32 failedJobsHistoryLimit = 7;
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  7. src/text/template/funcs.go

    }
    
    // not returns the Boolean negation of its argument.
    func not(arg reflect.Value) bool {
    	return !truth(arg)
    }
    
    // Comparison.
    
    // TODO: Perhaps allow comparison between signed and unsigned integers.
    
    var (
    	errBadComparisonType = errors.New("invalid type for comparison")
    	errBadComparison     = errors.New("incompatible types for comparison")
    	errNoComparison      = errors.New("missing argument for comparison")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  8. src/math/big/int.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This file implements signed multi-precision integers.
    
    package big
    
    import (
    	"fmt"
    	"io"
    	"math/rand"
    	"strings"
    )
    
    // An Int represents a signed multi-precision integer.
    // The zero value for an Int represents the value 0.
    //
    // Operations always take pointer arguments (*Int) rather
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 17:02:38 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  9. src/syscall/js/js.go

    //	| js.Value               | [its value]            |
    //	| js.Func                | function               |
    //	| nil                    | null                   |
    //	| bool                   | boolean                |
    //	| integers and floats    | number                 |
    //	| string                 | string                 |
    //	| []interface{}          | new array              |
    //	| map[string]interface{} | new object             |
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 14:35:26 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/math/LongMathTest.java

        tester.setDefault(long.class, 1L);
        tester.testAllPublicStaticMethods(LongMath.class);
      }
    
      @GwtIncompatible // isPrime is GWT-incompatible
      public void testIsPrimeSmall() {
        // Check the first 1000 integers
        for (int i = 2; i < 1000; i++) {
          assertEquals(BigInteger.valueOf(i).isProbablePrime(100), LongMath.isPrime(i));
        }
      }
    
      @GwtIncompatible // isPrime is GWT-incompatible
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 04 20:15:57 UTC 2024
    - 32.5K bytes
    - Viewed (0)
Back to top