Search Options

Results per page
Sort
Preferred Languages
Advance

Results 391 - 400 of 465 for enforce (0.09 sec)

  1. tests/transaction_test.go

    				t.Fatalf("No error should raise")
    			}
    
    			if err := tx.First(&User{}, "name = ?", user.Name).Error; err != nil {
    				t.Fatalf("Should find saved record")
    			}
    
    			panic("force panic")
    		})
    	})
    
    	if err := DB.First(&User{}, "name = ?", "transaction-block-3").Error; err == nil {
    		t.Fatalf("Should not find record after panic rollback")
    	}
    }
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Sep 14 12:58:29 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  2. src/bytes/bytes.go

    			}
    		}
    		return -1
    
    	fallback:
    		// Switch to bytealg.Index, if available, or a brute force search when
    		// IndexByte returns too many false positives.
    		if haveFastIndex {
    			if j := bytealg.Index(s[i-last:], b[:n]); j >= 0 {
    				return i + j - last
    			}
    		} else {
    			// If bytealg.Index is not available a brute force search is
    			// ~1.5-3x faster than Rabin-Karp since n is small.
    			c0 := b[last]
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Sep 03 20:55:15 UTC 2024
    - 35.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java

            });
            indexUpdater.start();
    
            int startedCrawlerNum = 0;
            int activeCrawlerNum = 0;
            try {
                while (startedCrawlerNum < crawlerList.size()) {
                    // Force to stop crawl
                    if (systemHelper.isForceStop()) {
                        for (final Crawler crawler : crawlerList) {
                            crawler.stop();
                        }
                        break;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  4. cmd/data-usage-cache.go

    		d.deleteRecursive(candidate)
    		d.replaceHashed(candidate, nil, *flat)
    
    		// Remove top entry and subtract removed children.
    		remove -= removing
    		leaves = leaves[1:]
    	}
    }
    
    // forceCompact will force compact the cache of the top entry.
    // If the number of children is more than limit*100, it will compact self.
    // When above the limit a cleanup will also be performed to remove any possible abandoned entries.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/ByteSource.java

      {
    
        final byte[] bytes;
        final int offset;
        final int length;
    
        ByteArrayByteSource(byte[] bytes) {
          this(bytes, 0, bytes.length);
        }
    
        // NOTE: Preconditions are enforced by slice, the only non-trivial caller.
        ByteArrayByteSource(byte[] bytes, int offset, int length) {
          this.bytes = bytes;
          this.offset = offset;
          this.length = length;
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/math/Stats.java

       *
       * <p>To ensure that the created instance obeys its contract, the parameters should satisfy the
       * following constraints. This is the callers responsibility and is not enforced here.
       *
       * <ul>
       *   <li>If {@code count} is 0, {@code mean} may have any finite value (its only usage will be to
       *       get multiplied by 0 to calculate the sum), and the other parameters may have any values
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/exec/Crawler.java

                        + ", hotThread=" + hotThread + "]";
            }
    
        }
    
        static void initializeProbes() {
            // Force probes to be loaded
            ProcessProbe.getInstance();
            OsProbe.getInstance();
            JvmInfo.jvmInfo();
        }
    
        public static void main(final String[] args) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 24K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectPlan.kt

        var success = false
        try {
          if (connectionSpec.supportsTlsExtensions) {
            Platform.get().configureTlsExtensions(sslSocket, address.url.host, address.protocols)
          }
    
          // Force handshake. This can throw!
          sslSocket.startHandshake()
          // block for session establishment
          val sslSocketSession = sslSocket.session
          val unverifiedHandshake = sslSocketSession.handshake()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  9. licenses/sigs.k8s.io/yaml/LICENSE

    copyright notice, this list of conditions and the following disclaimer
    in the documentation and/or other materials provided with the
    distribution.
       * Neither the name of Google Inc. nor the names of its
    contributors may be used to endorse or promote products derived from
    this software without specific prior written permission.
    
    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
    "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Oct 31 19:53:28 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

        assertThrows(IllegalArgumentException.class, () -> ImmutableDoubleArray.builder(-1));
      }
    
      /**
       * If there's a bug in builder growth, we wouldn't know how to expose it. So, brute force the hell
       * out of it for a while and see what happens.
       */
      public void testBuilder_bruteForce() {
        for (int i = 0; i < reduceIterationsIfGwt(100); i++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.2K bytes
    - Viewed (0)
Back to top