Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 38 of 38 for totalSize (0.04 sec)

  1. src/test/java/jcifs/smb/CriticalPerformanceTest.java

            ExecutorService executor = Executors.newFixedThreadPool(threadCount);
            CountDownLatch startLatch = new CountDownLatch(1);
            CountDownLatch endLatch = new CountDownLatch(threadCount);
    
            AtomicLong totalTime = new AtomicLong(0);
            AtomicInteger successCount = new AtomicInteger(0);
            List<Exception> exceptions = new ArrayList<>();
    
            // Mock address for testing
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java

                    auth1.equals(auth3);
                    auth2.equals(auth3);
                }
                long totalTime = System.nanoTime() - startTime;
    
                // Should complete in reasonable time (< 10ms for 3000 operations)
                assertTrue(totalTime < 10_000_000L, "Null/empty password comparisons taking too long: " + totalTime + " ns");
            } finally {
                auth1.close();
                auth2.close();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  3. cmd/endpoint-ellipses_test.go

    }
    
    func TestGetDivisibleSize(t *testing.T) {
    	testCases := []struct {
    		totalSizes []uint64
    		result     uint64
    	}{
    		{[]uint64{24, 32, 16}, 8},
    		{[]uint64{32, 8, 4}, 4},
    		{[]uint64{8, 8, 8}, 8},
    		{[]uint64{24}, 24},
    	}
    
    	for _, testCase := range testCases {
    		t.Run("", func(t *testing.T) {
    			gotGCD := getDivisibleSize(testCase.totalSizes)
    			if testCase.result != gotGCD {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  4. .teamcity/src/main/kotlin/model/FunctionalTestBucketGenerator.kt

                            it.value.filter { tct ->
                                tct.sourceSet != "test"
                            },
                        )
                    }.sortedBy { -it.totalTime }
                    .filter { onlyNativeSubprojectsForIntelMacs(testCoverage, it.subProject.name) }
    
            return parallelize(subProjectTestClassTimes, testCoverage) { numberOfBatches ->
                when (testCoverage.os) {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Apr 10 15:09:32 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  5. tensorflow/c/c_api.h

      //     then total_size is the number of dimensions
      //     of the shape valued attribute, or -1
      //     if its rank is unknown.
      // (4) If type == TF_ATTR_SHAPE and is_list == 1
      //     then total_size is the cumulative number
      //     of dimensions of all shapes in the list.
      // (5) Otherwise, total_size is undefined.
      int64_t total_size;
    } TF_AttrMetadata;
    
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  6. tensorflow/c/c_api.cc

              s, TF_ATTR_STRING, metadata.total_size = 0;
              for (int i = 0; i < attr->list().s_size();
                   ++i) { metadata.total_size += attr->list().s(i).size(); });
          LIST_CASE(i, TF_ATTR_INT);
          LIST_CASE(f, TF_ATTR_FLOAT);
          LIST_CASE(b, TF_ATTR_BOOL);
          LIST_CASE(type, TF_ATTR_TYPE);
          LIST_CASE(
              shape, TF_ATTR_SHAPE, metadata.total_size = 0;
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Sat Oct 04 05:55:32 UTC 2025
    - 102.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/exec/Crawler.java

            }
    
            final PathMappingHelper pathMappingHelper = ComponentUtil.getPathMappingHelper();
            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
            final long totalTime = systemHelper.getCurrentTimeAsLong();
    
            final CrawlingInfoHelper crawlingInfoHelper = ComponentUtil.getCrawlingInfoHelper();
    
            try {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  8. tensorflow/c/c_api_test.cc

        std::vector<size_t> lens(expected.size());
        std::unique_ptr<char[]> storage(new char[m.total_size]);
        TF_OperationGetAttrStringList(op, tensorflow::kColocationAttrName,
                                      values.data(), lens.data(), expected.size(),
                                      storage.get(), m.total_size, s_);
        EXPECT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
        for (int i = 0; i < expected.size(); ++i) {
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Mon Nov 17 00:00:38 UTC 2025
    - 97K bytes
    - Viewed (0)
Back to top