- Sort Score
- Num 10 results
- Language All
Results 81 - 90 of 2,139 for math (0.02 seconds)
-
internal/dsync/locked_rand.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package dsync import ( "math/rand" "sync" ) // lockedRandSource provides protected rand source, implements rand.Source interface. type lockedRandSource struct { lk sync.Mutex src rand.Source }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 1.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ImmutableMultisetFloodingTest.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.collect; import static java.lang.Math.log; import static java.util.Arrays.asList; import com.google.common.annotations.GwtIncompatible; import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.util.List;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.5K bytes - Click Count (0) -
schema/serializer.go
package schema import ( "bytes" "context" "database/sql" "database/sql/driver" "encoding/gob" "encoding/json" "fmt" "math" "reflect" "strings" "sync" "time" ) var serializerMap = sync.Map{} // RegisterSerializer register serializer func RegisterSerializer(name string, serializer SerializerInterface) { serializerMap.Store(strings.ToLower(name), serializer) } // GetSerializer get serializer
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sun Oct 26 12:29:44 GMT 2025 - 5.1K bytes - Click Count (0) -
tests/lru_test.go
package tests_test import ( "crypto/rand" "fmt" "math" "math/big" "reflect" "sync" "testing" "time" "gorm.io/gorm/internal/lru" ) func TestLRU_Add_ExistingKey_UpdatesValueAndExpiresAt(t *testing.T) { lru := lru.NewLRU[string, int](10, nil, time.Hour) lru.Add("key1", 1) lru.Add("key1", 2) if value, ok := lru.Get("key1"); !ok || value != 2 {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Mon Sep 08 09:19:22 GMT 2025 - 10.4K bytes - Click Count (0) -
docs/debugging/pprofgoparser/main.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package main import ( "bufio" "bytes" "flag" "fmt" "log" "math" "os" "path" "regexp" "strconv" "strings" "time" ) var ( goroutinesRE, searchRE *regexp.Regexp // User input flags searchText string goTime, less, margin time.Duration )
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Mar 06 11:43:16 GMT 2024 - 3.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/CompactHashMapFloodingTest.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.collect; import static java.lang.Math.log; import com.google.common.annotations.GwtIncompatible; import java.util.Map; import org.jspecify.annotations.NullUnmarked; @GwtIncompatible @NullUnmarked
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 1.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/CompactHashSetFloodingTest.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.collect; import static java.lang.Math.log; import com.google.common.annotations.GwtIncompatible; import java.util.Set; import org.jspecify.annotations.NullUnmarked; @GwtIncompatible @NullUnmarked
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 1.1K bytes - Click Count (0) -
build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/action/AnnotationGeneratorWorkAction.kt
} private object AnnotationGenerator { val ADDITIONAL_DEFAULT_IMPORTS = listOf( "javax.inject.Inject", "java.math.BigInteger", "java.math.BigDecimal" ) } private fun generateGroovyAnnotation(packageName: String, name: String, scriptReceiverAccessors: () -> String): String { @Suppress("GrPackage")Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Sun Jul 07 16:02:18 GMT 2024 - 8.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/Utf8Test.java
// 18,304 private static final long EXPECTED_TWO_BYTE_ROUNDTRIPPABLE_COUNT = // Both bytes are one byte characters (long) Math.pow(EXPECTED_ONE_BYTE_ROUNDTRIPPABLE_COUNT, 2) + // The possible number of two byte characters TWO_BYTE_ROUNDTRIPPABLE_CHARACTERS; // 2048Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 12.8K bytes - Click Count (0) -
internal/stmt_store/stmt_store.go
package stmt_store import ( "context" "database/sql" "math" "sync" "time" "gorm.io/gorm/internal/lru" ) type Stmt struct { *sql.Stmt Transaction bool prepared chan struct{} prepareErr error } func (stmt *Stmt) Error() error { return stmt.prepareErr } func (stmt *Stmt) Close() error { <-stmt.prepared if stmt.Stmt != nil { return stmt.Stmt.Close() } return nil
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sun Apr 27 06:05:16 GMT 2025 - 6K bytes - Click Count (0)