Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for tiny (0.15 sec)

  1. istioctl/pkg/tag/revision.go

    	Name      string          `json:"name"`
    	Address   string          `json:"address"`
    	Status    corev1.PodPhase `json:"status"`
    	Age       string          `json:"age"`
    }
    
    // IstioOperatorCRInfo represents a tiny subset of fields from
    // IstioOperator CR. This structure is used for displaying data.
    // Exposed for integration test
    type IstioOperatorCRInfo struct {
    	IOP            *iopv1alpha1.IstioOperator `json:"-"`
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Jan 28 13:16:05 GMT 2023
    - 4.5K bytes
    - Viewed (0)
  2. internal/http/check_port_linux.go

    	"syscall"
    	"time"
    )
    
    // CheckPortAvailability - check if given host and port is already in use.
    // Note: The check method tries to listen on given port and closes it.
    // It is possible to have a disconnected client in this tiny window of time.
    func CheckPortAvailability(host, port string, opts TCPOptions) (err error) {
    	lc := &net.ListenConfig{
    		Control: func(network, address string, c syscall.RawConn) error {
    			c.Control(func(fdPtr uintptr) {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed May 03 21:12:25 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  3. internal/http/check_port_others.go

    	"net"
    	"time"
    )
    
    // CheckPortAvailability - check if given host and port is already in use.
    // Note: The check method tries to listen on given port and closes it.
    // It is possible to have a disconnected client in this tiny window of time.
    func CheckPortAvailability(host, port string, opts TCPOptions) (err error) {
    	lc := &net.ListenConfig{}
    
    	ctx, cancel := context.WithTimeout(context.Background(), time.Second)
    	defer cancel()
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed May 03 21:12:25 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

    import java.nio.file.attribute.PosixFileAttributeView;
    import java.nio.file.attribute.PosixFileAttributes;
    import java.util.Arrays;
    
    /**
     * Unit tests for {@link FileBackedOutputStream}.
     *
     * <p>For a tiny bit more testing, see {@link FileBackedOutputStreamAndroidIncompatibleTest}.
     *
     * @author Chris Nokleberg
     */
    public class FileBackedOutputStreamTest extends IoTestCase {
    
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  5. .teamcity/src/main/kotlin/model/bucket-extensions.kt

     * @param largeElementSplitFunction the function used to further split the large element into smaller pieces
     * @param smallElementAggregateFunction the function used to aggregate tiny elements into a large bucket
     * @param expectedBucketNumber the return value's size should be expectedBucketNumber
     */
    fun <T, R> splitIntoBuckets(
        list: LinkedList<T>,
        toIntFunction: (T) -> Int,
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Thu Nov 17 05:17:44 GMT 2022
    - 4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

    import java.nio.file.attribute.PosixFileAttributeView;
    import java.nio.file.attribute.PosixFileAttributes;
    import java.util.Arrays;
    
    /**
     * Unit tests for {@link FileBackedOutputStream}.
     *
     * <p>For a tiny bit more testing, see {@link FileBackedOutputStreamAndroidIncompatibleTest}.
     *
     * @author Chris Nokleberg
     */
    public class FileBackedOutputStreamTest extends IoTestCase {
    
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  7. cmd/untar.go

    				rc := disconnectReader{r: bytes.NewReader(b)}
    				defer func() {
    					rc.Close()
    					<-asyncWriters
    					wg.Done()
    					//nolint:staticcheck // SA6002 we are fine with the tiny alloc
    					poolBuf128k.Put(b)
    				}()
    				if err := putObject(&rc, fi, name); err != nil {
    					if o.ignoreErrs {
    						s3LogIf(ctx, err)
    						return
    					}
    					asyncErrMu.Lock()
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6K bytes
    - Viewed (0)
  8. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

                zip(destFile, it)
            }
    
            // Zip all files in project build directory into a single zip file to avoid publishing too many tiny files
            reports.filter { it.isFile && it.toPath().startsWith(projectBuildDirPath) }
                .map { projectBuildDirPath.relativize(it.toPath()).toString() to it }
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Fri Jul 28 16:19:47 GMT 2023
    - 12.5K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/dependencies/index.md

        You just pass it to `Depends` and **FastAPI** knows how to do the rest.
    
    ## Share `Annotated` dependencies
    
    In the examples above, you see that there's a tiny bit of **code duplication**.
    
    When you need to use the `common_parameters()` dependency, you have to write the whole parameter with the type annotation and `Depends()`:
    
    ```Python
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  10. internal/grid/grid_test.go

    			os.Exit(2)
    		}
    	}()
    	return func() {
    		close(cc)
    	}
    }
    
    func assertNoActive(t *testing.T, c *Connection) {
    	t.Helper()
    	// Tiny bit racy for tests, but we try to play nice.
    	for i := 10; i >= 0; i-- {
    		runtime.Gosched()
    		stats := c.Stats()
    		if stats.IncomingStreams != 0 {
    			if i > 0 {
    				time.Sleep(100 * time.Millisecond)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 08 18:15:27 GMT 2024
    - 30.1K bytes
    - Viewed (0)
Back to top