- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 557 for load32 (0.1 sec)
-
callbacks/helper_test.go
var vm visitMap var loaded bool type testM struct { Name string } t1 := testM{Name: "t1"} t2 := testM{Name: "t2"} t3 := testM{Name: "t3"} vm = make(visitMap) if loaded = loadOrStoreVisitMap(&vm, reflect.ValueOf(&t1)); loaded { t.Fatalf("loaded should be false") } if loaded = loadOrStoreVisitMap(&vm, reflect.ValueOf(&t1)); !loaded { t.Fatalf("loaded should be true") }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Tue Mar 05 02:22:57 UTC 2024 - 3.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheBuilderTest.java
public class CacheBuilderTest extends TestCase { public void testNewBuilder() { CacheLoader<Object, Integer> loader = constantLoader(1); LoadingCache<String, Integer> cache = CacheBuilder.newBuilder().removalListener(countingRemovalListener()).build(loader); assertEquals(Integer.valueOf(1), cache.getUnchecked("one")); assertEquals(1, cache.size()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 24.9K bytes - Viewed (0) -
cmd/background-newdisks-heal-ops.go
// Add future tracking capabilities // Be sure that they are included in toHealingDisk } // loadHealingTracker will load the healing tracker from the supplied disk. // The disk ID will be validated against the loaded one. func loadHealingTracker(ctx context.Context, disk StorageAPI) (*healingTracker, error) { if disk == nil { return nil, errors.New("loadHealingTracker: nil drive given")
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Oct 26 09:58:27 UTC 2024 - 16.6K bytes - Viewed (0) -
callbacks/helper.go
// Check if circular values, return true if loaded func loadOrStoreVisitMap(visitMap *visitMap, v reflect.Value) (loaded bool) { if v.Kind() == reflect.Ptr { v = v.Elem() } switch v.Kind() { case reflect.Slice, reflect.Array: loaded = true for i := 0; i < v.Len(); i++ { if !loadOrStoreVisitMap(visitMap, v.Index(i)) { loaded = false } }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Apr 14 12:32:57 UTC 2022 - 3.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ResourcesTest.java
// loader, even if it is not visible to the loader of the Resources class. File tempFile = createTempFile(); PrintWriter writer = new PrintWriter(tempFile, "UTF-8"); writer.println("rud a chur ar an méar fhada"); writer.close(); // First check that we can't find it without setting the context loader.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 6.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/ClassPathTest.java
ImmutableSet.of( new ResourceInfo(FILE, "left/some.txt", loader), new ResourceInfo(FILE, "left/sibling/another.txt", loader), new ResourceInfo(FILE, "right/another.txt", loader), new ResourceInfo(FILE, "right/sibling/some.txt", loader)), new ClassPath.LocationInfo(root.toFile(), loader).scanResources()); } finally { deleteRecursivelyOrLog(root); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 22:09:38 UTC 2024 - 27.6K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java
load(is); } } public void load(URL location) throws IOException { try (InputStream is = location.openStream()) { load(is); } } public void load(InputStream is) throws IOException { load(new InputStreamReader(is, DEFAULT_ENCODING)); } public void load(Reader reader) throws IOException {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 38.2K bytes - Viewed (0) -
cmd/bucket-metadata-sys.go
if objAPI == nil { return errServerNotInitialized } sys.objAPI = objAPI // Load bucket metadata sys. sys.init(ctx, buckets) return nil } // concurrently load bucket metadata to speed up loading bucket metadata. func (sys *BucketMetadataSys) concurrentLoad(ctx context.Context, buckets []string) { g := errgroup.WithNErrs(len(buckets))
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 28 15:32:18 UTC 2024 - 20.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/ClassLoaderUtil.java
* @see java.lang.ClassLoader#getResources(String) */ public static Iterator<URL> getResources(final ClassLoader loader, final String name) { assertArgumentNotNull("loader", loader); assertArgumentNotEmpty("name", name); try { final Enumeration<URL> e = loader.getResources(name); return new EnumerationIterator<>(e); } catch (final IOException e) {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 8.2K bytes - Viewed (0) -
api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ModelTransformer.java
@Experimental @Consumer @Named public interface ModelTransformer extends SpiService { /** * Apply a transformation on the file model. * * This method will be called on each file model being loaded, * just before validation. * * @param model the input model * @return the transformed model, or the input model if no transformation is needed * @throws ModelTransformerException */
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Sat Sep 28 09:03:24 UTC 2024 - 2.6K bytes - Viewed (0)