Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 522 for reusing (0.06 seconds)

  1. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java

                    String token = null;
                    String segmentation = null;
                    String reading = null;
                    String pos = null;
                    switch (values.length) {
                    case 4:
                        pos = values[3];
                    case 3:
                        reading = values[2];
                    case 2:
                        segmentation = values[1];
                    case 1:
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java

            int written = trans2FindNext2.writeDataWireFormat(buffer, 0);
    
            assertEquals(0, written);
        }
    
        @Test
        void testReadSetupWireFormat() {
            // Test setup wire format reading (should return 0)
            trans2FindNext2 = new Trans2FindNext2(config, TEST_SID, TEST_RESUME_KEY, TEST_FILENAME, TEST_BATCH_COUNT, TEST_BATCH_SIZE);
    
            byte[] buffer = new byte[10];
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.2K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

         * Creates an {@link java.io.InputStream} for reading bytes from a file on
         * an SMB server addressed by the <code>url</code> parameter. See {@link
         * jcifs.smb1.smb1.SmbFile} for a detailed description and examples of the smb
         * URL syntax.
         *
         * @param url An smb URL string representing the file to read from
         */
    
        /**
         * Creates an input stream for reading from the specified SMB URL
         *
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/suggest/entity/ElevateWordTest.java

            assertEquals(0, itemReadings.length);
        }
    
        @Test
        public void testToSuggestItemWithSingleReading() {
            // Test toSuggestItem with single reading
            String word = "single reading";
            float boost = 1.5f;
            List<String> readings = Arrays.asList("reading1");
            List<String> fields = Arrays.asList("field1");
            List<String> tags = Arrays.asList("tag1");
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Sep 01 13:33:03 GMT 2025
    - 16K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/dict/kuromoji/AdminDictKuromojiAction.java

                }, this::asEditHtml);
            }
            if (form.segmentation != null && form.reading != null && form.segmentation.split(" ").length != form.reading.split(" ").length) {
                throwValidationError(messages -> {
                    messages.addErrorsInvalidKuromojiSegmentation("segmentation", form.segmentation, form.reading);
                }, this::asEditHtml);
            }
        }
    
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 21.5K bytes
    - Click Count (0)
  6. tests/test_tutorial/test_settings/test_app01.py

        main_mod = importlib.import_module(mod_name)
        return TestClient(main_mod.app)
    
    
    def test_settings_validation_error(mod_name: str, monkeypatch: MonkeyPatch):
        monkeypatch.delenv("ADMIN_EMAIL", raising=False)
        if mod_name in sys.modules:
            del sys.modules[mod_name]  # pragma: no cover
    
        with pytest.raises(ValidationError) as exc_info:
            importlib.import_module(mod_name)
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  7. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/package-info.java

     * specific language governing permissions and limitations
     * under the License.
     */
    
    /**
     * Provides an immutable XML processing API for Maven, offering classes and interfaces
     * for reading, manipulating, and writing XML documents in a thread-safe manner.
     * This package is used extensively for POM, settings, and other Maven configuration files.
     *
     * @since 4.0.0
     */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Mar 04 14:17:18 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  8. src/archive/zip/example_test.go

    			log.Fatal(err)
    		}
    	}
    
    	// Make sure to check the error on Close.
    	err := w.Close()
    	if err != nil {
    		log.Fatal(err)
    	}
    }
    
    func ExampleReader() {
    	// Open a zip archive for reading.
    	r, err := zip.OpenReader("testdata/readme.zip")
    	if err != nil {
    		log.Fatal(err)
    	}
    	defer r.Close()
    
    	// Iterate through the files in the archive,
    	// printing some of their contents.
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Wed Jan 27 00:22:03 GMT 2016
    - 2K bytes
    - Click Count (0)
  9. src/main/java/jcifs/pac/ASN1Util.java

         * @param type the target class type
         * @param stream the ASN.1 input stream
         * @return next object from stream cast to type
         * @throws PACDecodingException if types are incompatible
         * @throws IOException if reading from stream fails
         */
        public static <T extends ASN1Primitive> T as(final Class<T> type, final ASN1InputStream stream)
                throws PACDecodingException, IOException {
            return as(type, stream.readObject());
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  10. internal/deadlineconn/deadlineconn_test.go

    package deadlineconn
    
    import (
    	"bufio"
    	"fmt"
    	"io"
    	"net"
    	"sync"
    	"testing"
    	"time"
    )
    
    // Test deadlineconn handles read timeout properly by reading two messages beyond deadline.
    func TestBuffConnReadTimeout(t *testing.T) {
    	l, err := net.Listen("tcp", "localhost:0")
    	if err != nil {
    		t.Fatalf("unable to create listener. %v", err)
    	}
    	defer l.Close()
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Nov 11 17:15:17 GMT 2024
    - 4.8K bytes
    - Click Count (0)
Back to Top