- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 629 for Initialized (0.28 sec)
-
android/guava-tests/test/com/google/common/reflect/ReflectionTest.java
} public void testInitialize() { assertEquals("This test can't be included twice in the same suite.", 0, classesInitialized); Reflection.initialize(A.class); assertEquals(1, classesInitialized); Reflection.initialize( A.class, // Already initialized (above) B.class, C.class); assertEquals(3, classesInitialized); } public void testNullPointers() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 2.7K bytes - Viewed (0) -
internal/config/lambda/target/lazyinit.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package target import ( "sync" "sync/atomic" ) // Inspired from Golang sync.Once but it is only marked // initialized when the provided function returns nil. type lazyInit struct { done uint32 m sync.Mutex } func (l *lazyInit) Do(f func() error) error { if atomic.LoadUint32(&l.done) == 0 { return l.doSlow(f)
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Mar 07 16:12:41 GMT 2023 - 1.3K bytes - Viewed (0) -
cmd/peer-s3-client.go
} // client to talk to peer Nodes. type remotePeerS3Client struct { node Node pools []int // Function that returns the grid connection for this peer when initialized. // Will return nil if the grid connection is not initialized yet. gridConn func() *grid.Connection } // S3PeerSys - S3 peer call system. type S3PeerSys struct { peerClients []peerS3Client // Excludes self poolsCount int }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 14.8K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/Os.java
* The path separator. */ private static final String PATH_SEP = System.getProperty("path.separator"); static { // Those two public constants are initialized here, as they need all the private constants // above to be initialized first, but the code style imposes the public constants to be // defined above the private ones... OS_FAMILY = getOsFamily();
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 7.3K bytes - Viewed (0) -
internal/cachevalue/cache.go
ttl time.Duration opts Opts // Once can be used to initialize values for lazy initialization. // Should be set before calling Get(). Once sync.Once // Managed values. valErr atomic.Pointer[struct { v T e error }] lastUpdateMs atomic.Int64 updating sync.Mutex } // New allocates a new cached value instance. Tt must be initialized with // `.TnitOnce`. func New[T any]() *Cache[T] {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Mar 01 16:00:42 GMT 2024 - 4.2K bytes - Viewed (0) -
gorm.go
func (c *Config) Apply(config *Config) error { if config != c { *config = *c } return nil } // AfterInitialize initialize plugins after db connected func (c *Config) AfterInitialize(db *DB) error { if db != nil { for _, plugin := range c.Plugins { if err := plugin.Initialize(db); err != nil { return err } } } return nil } // Option gorm option interface type Option interface {
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Sun Aug 20 11:46:56 GMT 2023 - 11.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/AbstractSetTester.java
@GwtCompatible @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. public class AbstractSetTester<E> extends AbstractCollectionTester<E> { /* * Previously we had a field named set that was initialized to the value of * collection in setUp(), but that caused problems when a tester changed the * value of set or collection but not both. */ protected final Set<E> getSet() { return (Set<E>) collection; }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 09 20:10:38 GMT 2018 - 1.3K bytes - Viewed (0) -
internal/once/init.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package once import ( "context" "sync" "sync/atomic" ) // Inspired from Golang sync.Once but it is only marked // initialized when the provided function returns nil. // Init represents the structure. type Init struct { done uint32 m sync.Mutex } // Do is similar to sync.Once.Do - makes one successful
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue May 09 04:20:31 GMT 2023 - 2.1K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/LazyLogger.java
import com.google.common.annotations.GwtCompatible; import java.util.logging.Logger; import org.checkerframework.checker.nullness.qual.Nullable; /** A holder for a {@link Logger} that is initialized only when requested. */ @GwtCompatible @ElementTypesAreNonnullByDefault final class LazyLogger { private final String loggerName; private volatile @Nullable Logger logger; LazyLogger(Class<?> ownerOfLogger) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Dec 13 19:45:20 GMT 2023 - 1.9K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/plugin/PluginContainerException.java
import org.codehaus.plexus.component.repository.exception.ComponentRepositoryException; import org.codehaus.plexus.configuration.PlexusConfigurationException; /** * Exception which occurs to indicate that the plugin cannot be initialized due * to some deeper problem with Plexus. Context information includes the groupId, * artifactId, and version for the plugin; at times, the goal name for which
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Jan 10 12:55:54 GMT 2024 - 3.2K bytes - Viewed (0)