Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 211 - 220 of 295 for snippet (0.1 seconds)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/processor/impl/SitemapsResponseProcessorTest.java

            } catch (ChildUrlsException e) {
                Set<RequestData> childUrls = e.getChildUrlList();
                assertNotNull(childUrls);
                // Should only contain valid URLs, null entries should be skipped
                assertTrue(childUrls.size() <= 2);
            }
        }
    
        public void test_processException() {
            // Setup - test exception handling during parsing
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Nov 13 13:29:22 GMT 2025
    - 12K bytes
    - Click Count (0)
  2. tests/helper_test.go

    				"Birthday", "CompanyID", "ManagerID", "Active")
    		}
    	})
    }
    
    func tidbSkip(t *testing.T, reason string) {
    	if isTiDB() {
    		t.Skipf("This test case skipped, because of TiDB '%s'", reason)
    	}
    }
    
    func isTiDB() bool {
    	return os.Getenv("GORM_DIALECT") == "tidb"
    }
    
    func isMysql() bool {
    	return os.Getenv("GORM_DIALECT") == "mysql"
    }
    
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Tue Mar 19 03:50:28 GMT 2024
    - 8K bytes
    - Click Count (0)
  3. cmd/api-headers.go

    			}
    		}
    	}
    
    	// Set all other user defined metadata.
    	for k, v := range objInfo.UserDefined {
    		// Empty values for object lock and retention can be skipped.
    		if v == "" && equals(k, xhttp.AmzObjectLockMode, xhttp.AmzObjectLockRetainUntilDate) {
    			continue
    		}
    
    		if stringsHasPrefixFold(k, ReservedMetadataPrefixLower) {
    			// Do not need to send any internal metadata
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  4. tests/benchmarks/test_general_performance.py

    import pytest
    from fastapi import Depends, FastAPI
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    if "--codspeed" not in sys.argv:
        pytest.skip(
            "Benchmark tests are skipped by default; run with --codspeed.",
            allow_module_level=True,
        )
    
    LARGE_ITEMS: list[dict[str, Any]] = [
        {
            "id": i,
            "name": f"item-{i}",
            "values": list(range(25)),
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 20:40:26 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/helper/ProtocolHelper.java

         * Some protocols (like SMB, FTP, S3, GCS) should preserve the original URL encoding.
         *
         * @param url the URL to check
         * @return true if URL decoding should be skipped for this protocol
         */
        public boolean shouldSkipUrlDecode(final String url) {
            return url.startsWith("smb:") || url.startsWith("smb1:") || url.startsWith("ftp:") || url.startsWith("s3:")
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Dec 12 13:58:40 GMT 2025
    - 12.4K bytes
    - Click Count (1)
  6. compat/maven-compat/src/test/java/org/apache/maven/repository/MirrorProcessorTest.java

            // exact matches win first
            Mirror mirrorA2 = newMirror("a2", "a,b", "http://a2");
            Mirror mirrorA = newMirror("a", "a", "http://a");
            // make sure repeated entries are skipped
            Mirror mirrorA3 = newMirror("a", "a", "http://a3");
    
            Mirror mirrorB = newMirror("b", "b", "http://b");
            Mirror mirrorC = newMirror("c", "d,e", "http://de");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 10.7K bytes
    - Click Count (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/RobotsTxtHelper.java

         * It will parse valid directives and ignore invalid ones, ensuring that partial
         * content can be extracted even from poorly formatted files.</p>
         *
         * <p>The following errors are handled gracefully (line is skipped, parsing continues):</p>
         * <ul>
         * <li>Invalid directive formats</li>
         * <li>Unknown directives</li>
         * <li>Invalid crawl-delay values (non-numeric, negative)</li>
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Fri Nov 14 12:52:01 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

                offField.setAccessible(true);
                long offVal = offField.getLong(req);
                assertEquals(2L, offVal, "Request offset should match skipped bytes");
            }
    
            @Test
            @DisplayName("read(byte[]) delegates to read(byte[],off,len)")
            void readArrayDelegates() throws Exception {
                SmbFileInputStream in = newStream();
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt

        frame.writeInt(expectedStreamId and 0x7fffffff)
        frame.writeByte(paddingLength)
        frame.write(expectedData)
        frame.write(padding)
        reader.nextFrame(requireSettings = false, assertData())
        // Padding was skipped.
        assertThat(frame.exhausted()).isTrue()
      }
    
      @Test fun readPaddedDataFrameZeroPadding() {
        val dataLength = 1123
        val expectedData = ByteArray(dataLength)
        Arrays.fill(expectedData, 2.toByte())
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 28.1K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java

            // Prepare buffer with SmbInfoAllocation data
            byte[] buffer = new byte[100];
            int offset = 0;
    
            // idFileSystem (4 bytes) - skipped in decode
            SMBUtil.writeInt4(0, buffer, offset);
            offset += 4;
    
            // sectPerAlloc (4 bytes)
            SMBUtil.writeInt4(8, buffer, offset);
            offset += 4;
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.9K bytes
    - Click Count (0)
Back to Top