Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 668 for Size (0.04 sec)

  1. pkg/util/tail/tail.go

    	f, err := os.Open(path)
    	if err != nil {
    		return nil, false, err
    	}
    	defer f.Close()
    	fi, err := f.Stat()
    	if err != nil {
    		return nil, false, err
    	}
    	size := fi.Size()
    	if size == 0 {
    		return nil, false, nil
    	}
    	if size < max {
    		max = size
    	}
    	offset, err := f.Seek(-max, io.SeekEnd)
    	if err != nil {
    		return nil, false, err
    	}
    	data, err := io.ReadAll(f)
    	return data, offset > 0, err
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 13:13:22 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. src/internal/trace/testdata/tests/go122-create-syscall-reuse-thread-id.test

    EventBatch gen=1 m=18446744073709551615 time=0 size=5
    Frequency freq=15625000
    EventBatch gen=1 m=18446744073709551615 time=0 size=1
    Stacks
    EventBatch gen=1 m=18446744073709551615 time=0 size=1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 652 bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiCompositeBuildsIntegrationTest.groovy

            """
    
            when:
            executer.withArguments(ENABLE_CLI)
            def model = runBuildAction(new FetchCustomModelForEachProjectInTree())
    
            then:
            model.size() == 2
            model[0].message == "It works from project :"
            model[1].message == "It works from project :a"
    
            and:
            fixture.assertStateStored {
                projectConfigured(":buildSrc")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. src/internal/trace/testdata/tests/go122-syscall-steal-proc-gen-boundary-bare-m.test

    SUCCESS
    -- trace --
    Trace Go1.22
    EventBatch gen=1 m=0 time=0 size=11
    ProcStatus dt=1 p=1 pstatus=1
    GoStatus dt=1 g=1 m=0 gstatus=3
    GoSyscallEndBlocked dt=1
    EventBatch gen=1 m=1 time=0 size=9
    ProcStatus dt=1 p=0 pstatus=4
    ProcSteal dt=1 p=0 p_seq=1 m=0
    EventBatch gen=1 m=18446744073709551615 time=0 size=5
    Frequency freq=15625000
    EventBatch gen=1 m=18446744073709551615 time=0 size=1
    Stacks
    EventBatch gen=1 m=18446744073709551615 time=0 size=1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 466 bytes
    - Viewed (0)
  5. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/analysis/SubtypingTest.kt

            )
    
            assertEquals(1, result.assignments.size)
        }
    
        @Test
        fun `type-checks assignment of subtype to super interface type`() {
            val result = schema.resolve(
                """
                superInterfaceProp = sub()
                """.trimIndent()
            )
    
            assertEquals(1, result.assignments.size)
        }
    
        @Test
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:02 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. maven-compat/src/test/java/org/apache/maven/project/inheritance/t09/ProjectInheritanceTest.java

            Map map = project1.getArtifactMap();
    
            assertNotNull(map, "No artifacts");
            assertTrue(map.size() > 0, "No Artifacts");
            assertTrue(map.size() == 2, "Set size should be 2, is " + map.size());
    
            assertTrue(map.containsKey("maven-test:t09-a"), "maven-test:t09-a is not in the project");
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. src/internal/trace/batch.go

    	}
    
    	// Read in the size of the batch to follow.
    	size, err := binary.ReadUvarint(r)
    	if err != nil {
    		return batch{}, gen, fmt.Errorf("error reading batch size: %w", err)
    	}
    	if size > go122.MaxBatchSize {
    		return batch{}, gen, fmt.Errorf("invalid batch size %d, maximum is %d", size, go122.MaxBatchSize)
    	}
    
    	// Copy out the batch for later processing.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. tensorflow/cc/experimental/libtf/impl/BUILD

        name = "iostream",
        srcs = [
            "iostream.cc",
        ],
        deps = [
            ":none",
            ":string",
            ":tensor_spec",
        ],
    )
    
    tf_cc_test(
        name = "iostream_test",
        size = "small",
        srcs = ["iostream_test.cc"],
        deps = [
            ":iostream",
            ":none",
            ":scalars",
            ":string",
            ":tensor_spec",
            "//tensorflow/core:framework",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 18 09:47:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. src/internal/trace/testdata/tests/go122-syscall-steal-proc-reacquire-new-proc-bare-m.test

    SUCCESS
    -- trace --
    Trace Go1.22
    EventBatch gen=1 m=0 time=0 size=23
    ProcStatus dt=1 p=1 pstatus=2
    ProcStatus dt=1 p=0 pstatus=1
    GoStatus dt=1 g=1 m=0 gstatus=2
    GoSyscallBegin dt=1 p_seq=1 stack=0
    ProcStart dt=1 p=1 p_seq=1
    GoSyscallEndBlocked dt=1
    EventBatch gen=1 m=1 time=0 size=5
    ProcSteal dt=1 p=0 p_seq=2 m=0
    EventBatch gen=1 m=18446744073709551615 time=0 size=5
    Frequency freq=15625000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 529 bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/constant_fold.cc

    //
    // Disable constant folding if operands size is greater than a certain
    // threshold (`kOperandsSizeThreshold`).
    //
    // Otherwise, allow folding if we do not know the shape of an operand or
    // result i.e., one of these values has non-static shape. If we know all the
    // shapes, find the total size of the operands and results. Folding of the op is
    // allowed if one of the following conditions are met:
    // 1. size of results is less than a certain threshold
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top