Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 241 for exact (0.02 seconds)

  1. tensorflow/api_template.__init__.py

      for _name in ["purelib", "platlib"]:
        _site_packages_dirs += [_sysconfig.get_path(_name, _scheme)]
    
    _site_packages_dirs = list(set(_site_packages_dirs))
    
    # Find the location of this exact file.
    _current_file_location = _inspect.getfile(_inspect.currentframe())
    
    def _running_from_pip_package():
      return any(
          _current_file_location.startswith(dir_) for dir_ in _site_packages_dirs)
    
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Oct 02 22:16:02 GMT 2024
    - 6.8K bytes
    - Click Count (0)
  2. src/test/java/jcifs/ntlmssp/av/AvPairsTest.java

            assertEquals(largeData.length, pairs.get(0).getRaw().length, "Data length should match");
        }
    
        /**
         * Test with data that has exact boundary conditions
         */
        @Test
        @DisplayName("Handle exact boundary data size")
        void testExactBoundarySize() throws CIFSException {
            // Test with data that ends exactly at the position where EOL should be checked
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.5K bytes
    - Click Count (0)
  3. guava-tests/benchmark/com/google/common/collect/MapBenchmark.java

          }
        };
    
        abstract Map<Element, Element> create(Collection<Element> contents);
      }
    
      @Param({"5", "50", "500", "5000", "50000"})
      private int size;
    
      // TODO: look at exact (==) hits vs. equals() hits?
      @Param("0.9")
      private double hitRate;
    
      @Param("true")
      private boolean isUserTypeFast;
    
      // "" means no fixed seed
      @Param("")
      private SpecialRandom random;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java

                    // Then
                    assertEquals(4, bytesRead, "Failed at position " + pos);
                }
            }
    
            @Test
            @DisplayName("Should handle buffer with exact required size")
            void testReadBytesWireFormatExactBufferSize() throws SMBProtocolDecodingException {
                // Given
                byte[] buffer = new byte[4];
                SMBUtil.writeInt2(4, buffer, 0);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java

            }
    
            @Test
            @DisplayName("Should handle buffer with exact required size")
            void testExactBufferSize() {
                String path = "\\\\test";
                buffer = new DfsReferralRequestBuffer(path, 5);
    
                int requiredSize = buffer.size();
                byte[] dst = new byte[requiredSize]; // Exact size
    
                int bytesEncoded = buffer.encode(dst, 0);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java

                }
    
                @Override
                public void store(CrawlingInfo entity) {
                    assertEquals("Test Crawl", entity.getName());
                    // Don't check exact expiration time, just verify it's reasonable
                    assertNotNull(entity.getExpiredTime());
                    assertTrue("Expiration time should be in the future", entity.getExpiredTime().longValue() > currentTime);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 01:46:45 GMT 2026
    - 28.7K bytes
    - Click Count (0)
  7. cmd/erasure-metadata_test.go

    		// More than simple majority consensus
    		mkTest(15, 3, 11),
    		// No simple majority consensus
    		mkTest(15, 3, 7),
    		// Exact simple majority consensus
    		mkTest(15, 3, 8),
    		// More than simple majority consensus
    		mkTest(16, 4, 11),
    		// No simple majority consensus
    		mkTest(16, 4, 8),
    		// Exact simple majority consensus
    		mkTest(16, 4, 9),
    		// non-tiered object require read quorum of EcM
    		nonTieredTest(15, 3, 12),
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/query/FuzzyQueryCommandTest.java

        @Test
        public void test_convertFuzzyQuery_withMaxEdits() {
            QueryContext context = new QueryContext("test", false);
    
            // Test with max edits = 0
            Term term0 = new Term("title", "exact");
            FuzzyQuery fuzzyQuery0 = new FuzzyQuery(term0, 0);
            QueryBuilder result0 = fuzzyQueryCommand.convertFuzzyQuery(context, fuzzyQuery0, 1.0f);
            assertNotNull(result0);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.7K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb1/com/SmbComCloseTest.java

            // Then
            assertEquals(6, bytesWritten);
            assertEquals(fid, SMBUtil.readInt2(dst, 0));
            // With a digest, the lastWriteTime should be written.
            // We can't verify the exact bytes without a real implementation of writeUTime,
            // but we can check that it's not zero.
            long writtenTime = SMBUtil.readInt4(dst, 2) & 0xFFFFFFFFL;
            // This is a weak check, but better than nothing.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java

            }
        }
    
        @Test
        @DisplayName("Test decode with minimum buffer size")
        void testDecodeWithMinimumBuffer() throws SMBProtocolDecodingException {
            // Create buffer with exact size needed
            byte[] buffer = new byte[8];
            long value = 42L;
            SMBUtil.writeInt8(value, buffer, 0);
    
            // Decode with minimum length
            int bytesRead = fileInfo.decode(buffer, 0, 8);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
Back to Top