Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 3,113 for bstart (0.21 sec)

  1. src/crypto/internal/boring/bcache/cache.go

    //
    // The cache is GC-friendly in the sense that the keys do not
    // indefinitely prevent the garbage collector from collecting them.
    // Instead, at the start of each GC, the cache is cleared entirely. That
    // is, the cache is lossy, and the loss happens at the start of each GC.
    // This means that clients need to be able to cope with cache entries
    // disappearing, but it also means that clients don't need to worry about
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 18 00:30:19 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  2. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/btree/ByteOutputTest.groovy

            when:
            def stream = output.start(0)
            stream.writeInt(123)
            stream.writeByte(12)
            output.done()
    
            then:
            file.length() == 5
            file.seek(0)
            file.readInt() == 123
            file.readByte() == 12
    
            when:
            stream = output.start(5)
            stream.writeInt(321)
            output.done()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  3. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/ExclusiveCacheAccessingWorkerTest.groovy

            when:
            start(cacheAccessWorker)
            cacheAccessWorker.flush()
    
            then:
            counter == 3
    
            cleanup:
            cacheAccessWorker?.stop()
        }
    
        def "flush rethrows action failure"() {
            def failure = new RuntimeException()
            cacheAccessWorker.enqueue { throw failure }
    
            when:
            start(cacheAccessWorker)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  4. src/internal/trace/testdata/testprog/wait-on-pipe.go

    		}
    		done <- struct{}{}
    	}()
    
    	// Give the goroutine ample chance to block on the pipe.
    	time.Sleep(10 * time.Millisecond)
    
    	// Start tracing.
    	if err := trace.Start(os.Stdout); err != nil {
    		log.Fatalf("failed to start tracing: %v", err)
    	}
    
    	// This isn't enough to have a full generation pass by default,
    	// but it is generally enough in stress mode.
    	time.Sleep(100 * time.Millisecond)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. src/internal/trace/testdata/testprog/gomaxprocs.go

    	"runtime/trace"
    	"time"
    )
    
    func main() {
    	// Start a goroutine that calls runtime.GC to try and
    	// introduce some interesting events in between the
    	// GOMAXPROCS calls.
    	go func() {
    		for {
    			runtime.GC()
    			time.Sleep(1 * time.Millisecond)
    		}
    	}()
    
    	// Start tracing.
    	if err := trace.Start(os.Stdout); err != nil {
    		log.Fatalf("failed to start tracing: %v", err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 967 bytes
    - Viewed (0)
  6. pkg/kube/informerfactory/factory.go

    	Informer cache.SharedIndexInformer
    	start    func(stopCh <-chan struct{})
    }
    
    func (s StartableInformer) Start(stopCh <-chan struct{}) {
    	s.start(stopCh)
    }
    
    // InformerFactory provides access to a shared informer factory
    type InformerFactory interface {
    	// Start initializes all requested informers. They are handled in goroutines
    	// which run until the stop channel gets closed.
    	Start(stopCh <-chan struct{})
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/suggest/concurrent/DeferredTest.java

                try {
                    Thread.sleep(1000);
                } catch (InterruptedException ignore) {}
                deferred.resolve(new SuggestResponse("", 0, Collections.emptyList(), 0, null));
            });
            th.start();
    
            final CountDownLatch latch = new CountDownLatch(1);
            deferred.promise().then(response -> latch.countDown());
            assertTrue(latch.await(10, TimeUnit.SECONDS));
        }
    
        @Test
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. internal/s3select/select.go

    		if start < 0 {
    			return 0, 0, errors.New("ScanRange: Start after EOF")
    		}
    		return start, -1, nil
    	}
    	if s.Start == nil {
    		// Suffix length
    		end := int64(*s.End)
    		if end < 0 {
    			return 0, 0, errors.New("ScanRange: End bigger than file")
    		}
    		// Suffix length
    		return -end, -1, nil
    	}
    	start = int64(*s.Start)
    	end := int64(*s.End)
    	return start, end - start + 1, nil
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 21K bytes
    - Viewed (0)
  9. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/services/LoggingServiceRegistryTest.groovy

            loggingManager.addStandardErrorListener(listener)
            loggingManager.start()
    
            when:
            def nestedManager = registry.newInstance(LoggingManagerInternal)
            nestedManager.captureStandardError(LogLevel.INFO)
            nestedManager.captureStandardOutput(LogLevel.DEBUG)
            nestedManager.start()
    
            System.out.println("info")
            System.err.println("error")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  10. test/fixedbugs/issue15277.go

    import "runtime"
    
    type big [10 << 20]byte
    
    func f(x *big, start int64) {
    	if delta := inuse() - start; delta < 9<<20 {
    		println("after alloc: expected delta at least 9MB, got: ", delta)
    	}
    	runtime.KeepAlive(x)
    	x = nil
    	if delta := inuse() - start; delta > 1<<20 {
    		println("after drop: expected delta below 1MB, got: ", delta)
    	}
    	x = new(big)
    	if delta := inuse() - start; delta < 9<<20 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 851 bytes
    - Viewed (0)
Back to top