Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1181 - 1190 of 3,007 for int8 (0.02 sec)

  1. guava-tests/test/com/google/common/math/BigIntegerMathTest.java

      public void testBinomialLarge() {
        runBinomialTest(31, 100);
      }
    
      // Depends on the correctness of BigIntegerMath.factorial
      private static void runBinomialTest(int firstN, int lastN) {
        for (int n = firstN; n <= lastN; n++) {
          for (int k = 0; k <= n; k++) {
            BigInteger expected =
                BigIntegerMath.factorial(n)
                    .divide(BigIntegerMath.factorial(k))
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27K bytes
    - Viewed (0)
  2. tests/submodel_test.go

    		t.Fatalf("unexpected error: %v", err)
    	}
    
    	if err := DB.Model(&man).Where("id = ?", man.ID).Updates(struct {
    		Age int
    	}{Age: 20}).Error; err != nil {
    		t.Fatalf("unexpected error: %v", err)
    	}
    
    	var result = struct{
    		ID int
    		Age int
    	}{}
    	if err := DB.Model(&man).Where("id = ?", man.ID).Find(&result).Error; err != nil {
    		t.Fatalf("unexpected error: %v", err)
    	}
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Aug 20 04:51:17 UTC 2025
    - 944 bytes
    - Viewed (0)
  3. src/bytes/reader.go

    type Reader struct {
    	s        []byte
    	i        int64 // current reading index
    	prevRune int   // index of previous rune; or < 0
    }
    
    // Len returns the number of bytes of the unread portion of the
    // slice.
    func (r *Reader) Len() int {
    	if r.i >= int64(len(r.s)) {
    		return 0
    	}
    	return int(int64(len(r.s)) - r.i)
    }
    
    // Size returns the original length of the underlying byte slice.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Jul 16 18:17:37 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java

     * @author shinsuke
     *
     */
    public class CrawlerWebServer {
        private int port = 8080;
    
        private File docRoot;
    
        private Server server;
    
        private boolean tempDocRoot = false;
    
        public CrawlerWebServer(final int port) {
            this(port, createDocRoot(3));
            tempDocRoot = true;
        }
    
        public CrawlerWebServer(final int port, final File docRoot) {
            this.port = port;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/SmbConstantsTest.java

            // Verify file attributes have distinct bit patterns
            int[] attributes = { SmbConstants.ATTR_READONLY, SmbConstants.ATTR_HIDDEN, SmbConstants.ATTR_SYSTEM, SmbConstants.ATTR_VOLUME,
                    SmbConstants.ATTR_DIRECTORY, SmbConstants.ATTR_ARCHIVE };
    
            for (int i = 0; i < attributes.length; i++) {
                for (int j = i + 1; j < attributes.length; j++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactDeployerRequest.java

                private final int retryFailedDeploymentCount;
    
                DefaultArtifactDeployerRequest(
                        @Nonnull Session session,
                        @Nullable RequestTrace trace,
                        @Nonnull RemoteRepository repository,
                        @Nonnull Collection<ProducedArtifact> artifacts,
                        int retryFailedDeploymentCount) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/NetServerEnumIterator.java

        private final SmbResource parent;
        private final SmbTreeHandleImpl treeHandle;
        private final ResourceNameFilter nameFilter;
        private final boolean workgroup;
        private int ridx;
        private FileEntry next;
    
        /**
         * Constructs a NetServerEnumIterator for enumerating network servers
         * @param parent
         *            the parent SMB file
         * @param th
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  8. cmd/background-heal-ops.go

    type healRoutine struct {
    	tasks   chan healTask
    	workers int
    }
    
    func activeListeners() int {
    	// Bucket notification and http trace are not costly, it is okay to ignore them
    	// while counting the number of concurrent connections
    	return int(globalHTTPListen.Subscribers()) + int(globalTrace.Subscribers())
    }
    
    func waitForLowIO(maxIO int, maxWait time.Duration, currentIO func() int) {
    	// No need to wait run at full speed.
    	if maxIO <= 0 {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

          return (List<V>) getDelegate();
        }
    
        @Override
        public boolean addAll(int index, Collection<? extends V> c) {
          if (c.isEmpty()) {
            return false;
          }
          int oldSize = size(); // calls refreshIfEmpty
          boolean changed = getListDelegate().addAll(index, c);
          if (changed) {
            int newSize = getDelegate().size();
            totalSize += newSize - oldSize;
            if (oldSize == 0) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Aug 12 15:51:57 UTC 2025
    - 48.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/exception/WebApiException.java

        /**
         * The HTTP status code associated with this exception.
         */
        private final int statusCode;
    
        /**
         * Gets the HTTP status code associated with this exception.
         *
         * @return The HTTP status code
         */
        public int getStatusCode() {
            return statusCode;
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.3K bytes
    - Viewed (0)
Back to top