Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 441 - 450 of 653 for 1020 (0.02 seconds)

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

                w.write(payload, payload.length, out);
    
                // Give the writer thread time to process and set exception
                w.wait(100);
            }
    
            // Wait a bit more to ensure exception is captured
            Thread.sleep(100);
    
            // Act + Assert: checkException should throw the SmbException captured by the thread
            assertThrows(SmbException.class, w::checkException);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  2. internal/dsync/drwmutex_test.go

    	defer runtime.GOMAXPROCS(runtime.GOMAXPROCS(-1))
    	n := 100
    	if testing.Short() {
    		n = 5
    	}
    	hammerRWMutex(t, 1, 1, n)
    	hammerRWMutex(t, 1, 3, n)
    	hammerRWMutex(t, 1, 10, n)
    	hammerRWMutex(t, 4, 1, n)
    	hammerRWMutex(t, 4, 3, n)
    	hammerRWMutex(t, 4, 10, n)
    	hammerRWMutex(t, 10, 1, n)
    	hammerRWMutex(t, 10, 3, n)
    	hammerRWMutex(t, 10, 10, n)
    	hammerRWMutex(t, 10, 5, n)
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

            final Extractor extractor = getExtractor(responseData);
            final String mimeType = responseData.getMimeType();
            final StringBuilder contentMetaBuf = new StringBuilder(1000);
            final Map<String, Object> dataMap = new HashMap<>();
            final Map<String, Object> metaDataMap = new HashMap<>();
            String content;
            try (final InputStream in = responseData.getResponseBody()) {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 25.7K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/util/GsaConfigParser.java

                final StringBuilder buf = new StringBuilder(100);
                return ".*" + appendFileterPath(buf, escape(v)) + ".*";
            }
            if (s.startsWith(REGEXP_IGNORE_CASE)) {
                final String v = s.substring(REGEXP_IGNORE_CASE.length());
                final StringBuilder buf = new StringBuilder(100);
                buf.append("(?i)");
                return appendFileterPath(buf, unescape(v));
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 21.6K bytes
    - Click Count (0)
  5. src/bufio/scan_test.go

    			panic(err)
    		}
    	}()
    	for count := 0; s.Scan(); count++ {
    		if count > 1000 {
    			t.Fatal("looping")
    		}
    	}
    	if s.Err() != nil {
    		t.Fatal("after scan:", s.Err())
    	}
    }
    
    func TestBlankLines(t *testing.T) {
    	s := NewScanner(strings.NewReader(strings.Repeat("\n", 1000)))
    	for count := 0; s.Scan(); count++ {
    		if count > 2000 {
    			t.Fatal("looping")
    		}
    	}
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Sep 22 16:22:42 GMT 2023
    - 14.3K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java

            emptyFileId = new byte[16];
            Arrays.fill(emptyFileId, (byte) 0);
    
            unspecifiedFileId = Smb2Constants.UNSPECIFIED_FILEID;
    
            testOutputBuffer = new byte[1024];
        }
    
        @Test
        @DisplayName("Should implement RequestWithFileId interface correctly")
        void testInterfaceImplementation() {
            // Test that common implementations properly implement the interface
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  7. src/main/webapp/WEB-INF/view/admin/fileconfig/admin_fileconfig_edit.jsp

                                                   value="${f:h(numOfThread)}" class="form-control"
                                                   min="1" max="1000">
                                        </div>
                                    </div>
                                    <div class="form-group row">
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Nov 13 05:54:52 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java

        public void testWriteBytesWireFormatLongFileNames() {
            // Given
            String longOldFileName = "a".repeat(255); // Max filename length
            String longNewFileName = "b".repeat(255);
            byte[] dst = new byte[1024];
            smbComRename = new SmbComRename(config, longOldFileName, longNewFileName);
            int dstIndex = 0;
    
            // When
            int result = smbComRename.writeBytesWireFormat(dst, dstIndex);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XmlUtil.java

            private final Map<String, Object> dataMap = new HashMap<>();
    
            private String fieldName;
    
            private final StringBuilder buffer = new StringBuilder(1000);
    
            @Override
            public void startDocument() {
                dataMap.clear();
            }
    
            @Override
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sat Nov 22 13:28:22 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java

            } else {
                originalValue = Integer.parseInt(limitPercentage);
            }
    
            if (originalValue > 100) {
                this.limitPercentage = 100;
            } else if (originalValue < 1) {
                this.limitPercentage = 1;
            } else {
                this.limitPercentage = originalValue;
            }
    
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 11.1K bytes
    - Click Count (0)
Back to Top