Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 533 for load (0.02 sec)

  1. android/guava/src/com/google/common/collect/Hashing.java

        // Round down to the nearest power of 2.
        expectedEntries = max(expectedEntries, 2);
        int tableSize = Integer.highestOneBit(expectedEntries);
        // Check to make sure that we will not exceed the maximum load factor.
        if (expectedEntries > (int) (loadFactor * tableSize)) {
          tableSize <<= 1;
          return (tableSize > 0) ? tableSize : MAX_TABLE_SIZE;
        }
        return tableSize;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t07/ProjectInheritanceTest.java

            File pom0 = new File(localRepo, "p0/pom.xml");
    
            File pom0Basedir = pom0.getParentFile();
    
            File pom1 = new File(pom0Basedir, "p1/pom.xml");
    
            // load everything...
            MavenProject project1 = getProjectWithDependencies(pom1);
    
            assertEquals(pom0Basedir, project1.getParent().getBasedir());
            System.out.println("Project " + project1.getId() + " " + project1);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. cmd/notification.go

    	}
    
    	replicationStatsList := globalReplicationStats.Load().GetAll()
    	bucketStatsMap := BucketStatsMap{
    		Stats:     make(map[string]BucketStats, len(replicationStatsList)),
    		Timestamp: UTCNow(),
    	}
    	for k, replicationStats := range replicationStatsList {
    		bucketStatsMap.Stats[k] = BucketStats{
    			ReplicationStats: replicationStats,
    			ProxyStats:       globalReplicationStats.Load().getProxyStats(k),
    		}
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 46.2K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

                    lock = channel.lock();
    
                    if (touchfile.canRead()) {
                        getLogger().debug("Reading resolution-state from: " + touchfile);
                        props.load(Channels.newInputStream(channel));
                    }
    
                    props.setProperty(key, Long.toString(System.currentTimeMillis()));
    
                    if (error != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/WebPlatformToAsciiTest.kt

          // OkHttp doesn't implement CheckJoiners.
          "\u200D.example",
          // OkHttp doesn't implement CheckBidi.
          "يa",
        )
    
      @Test
      fun test() {
        val list = WebPlatformToAsciiData.load()
        val failures = mutableListOf<Throwable>()
        for (entry in list) {
          var failure: Throwable? = null
          try {
            testToAscii(entry.input!!, entry.output, entry.comment)
          } catch (e: Throwable) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. cmd/data-scanner.go

    		bugLogIf(ctx, err)
    	}
    
    	scannerTimer := time.NewTimer(scannerCycle.Load())
    	defer scannerTimer.Stop()
    	defer globalScannerMetrics.setCycle(nil)
    
    	for {
    		select {
    		case <-ctx.Done():
    			return
    		case <-scannerTimer.C:
    			// Reset the timer for next cycle.
    			// If scanner takes longer we start at once.
    			scannerTimer.Reset(scannerCycle.Load())
    
    			stopFn := globalScannerMetrics.log(scannerMetricScanCycle)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  7. docs/iam/opa.md

    allow {
     input.owner == true
    }
    
    # All other users may do anything other than call PutObject
    allow {
     input.action != "s3:PutObject"
     input.owner == false
    }
    EOF
    ```
    
    Then load the policy via OPA's REST API.
    
    ```
    curl -X PUT --data-binary @example.rego \
      localhost:8181/v1/policies/putobject
    ```
    
    ### 4. Setup MinIO with OPA
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jul 17 15:43:14 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  8. build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-jar.gradle.kts

    }
    
    /**
     * Walk the resolved graph and discover all external dependencies that are not transitive dependencies
     * of project dependencies. This optimizes module loading during runtime, as we will only load external
     * modules that are not loaded transitively by other project modules.
     *
     * We perform this filtering, since if we simply include all external dependencies, regardless of whether
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed May 01 08:59:48 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  9. gorm.go

    		tx.Statement.DB = tx
    	}
    
    	if config.Context != nil {
    		tx.Statement.Context = config.Context
    	}
    
    	if config.PrepareStmt {
    		var preparedStmt *PreparedStmtDB
    
    		if v, ok := db.cacheStore.Load(preparedStmtDBKey); ok {
    			preparedStmt = v.(*PreparedStmtDB)
    		} else {
    			preparedStmt = NewPreparedStmtDB(db.ConnPool)
    			db.cacheStore.Store(preparedStmtDBKey, preparedStmt)
    		}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Oct 09 11:29:48 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  10. tensorflow/c/c_api_experimental_test.cc

    }
    
    TEST(CAPI_EXPERIMENTAL, LibraryPluggableDeviceLoadFunctions) {
      // TODO(penpornk): Enable this test on Windows.
    #if !defined(PLATFORM_WINDOWS)
    #if !defined(TENSORFLOW_NO_SHARED_OBJECTS)
      // Load the library.
      TF_Status* status = TF_NewStatus();
      string lib_path =
          tensorflow::GetDataDependencyFilepath(tensorflow::io::JoinPath(
              "tensorflow", "c", "experimental", "stream_executor", "test",
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Jan 17 22:27:52 UTC 2023
    - 13.1K bytes
    - Viewed (0)
Back to top