Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 361 - 370 of 578 for 100m (0.02 seconds)

  1. src/main/java/jcifs/internal/smb2/multichannel/ChannelInfo.java

                score -= 50;
            else if (errorRate > 0.01)
                score -= 20;
    
            // Adjust based on interface capabilities
            score += localInterface.getScore() / 100;
            score += remoteInterface.getScore() / 100;
    
            // Prefer primary channel slightly
            if (isPrimary)
                score += 10;
    
            // Penalize channels with many pending operations
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java

        public void testNoConcurrentModificationException() throws Exception {
            // Given
            SmbSessionImpl session = new SmbSessionImpl(mockContext, "testhost", "testdomain", mockTransport);
    
            int iterations = 1000;
            ExecutorService executor = Executors.newFixedThreadPool(2);
            CountDownLatch endLatch = new CountDownLatch(2);
            AtomicInteger successCount = new AtomicInteger(0);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 11K bytes
    - Click Count (0)
  3. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

       * response is ready.
       */
      @Test
      fun dispatchBlocksWaitingForEnqueue() {
        Thread {
          try {
            Thread.sleep(1000)
          } catch (ignored: InterruptedException) {
          }
          server.enqueue(MockResponse().setBody("enqueued in the background"))
        }.start()
        val connection = server.url("/").toUrl().openConnection()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Jul 03 13:16:34 GMT 2025
    - 22.3K bytes
    - Click Count (0)
  4. internal/s3select/simdj/reader.go

    func NewReader(readCloser io.ReadCloser, args *json.ReaderArgs) *Reader {
    	r := Reader{
    		args:       args,
    		readCloser: &safeCloser{r: io.Reader(readCloser)},
    		decoded:    make(chan simdjson.Object, 1000),
    		input:      make(chan simdjson.Stream, 2),
    		exitReader: make(chan struct{}),
    	}
    	r.onReaderExit = func() {
    		close(r.decoded)
    		readCloser.Close()
    		for range r.input {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue May 30 17:02:22 GMT 2023
    - 4.9K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/sereq/AdminSereqAction.java

            validate(form, messages -> {}, () -> asListHtml(null));
            verifyTokenKeep(() -> asListHtml(this::saveToken));
    
            String header = null;
            final StringBuilder buf = new StringBuilder(1000);
            try (final BufferedReader reader = new BufferedReader(new InputStreamReader(form.requestFile.getInputStream(), Constants.UTF_8))) {
                header = ReaderUtil.readLine(reader);
                if (header == null) {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIReportingUtils.java

            return sdf.format(new Date(timestamp));
        }
    
        public static String formatDuration(long duration) {
            // CHECKSTYLE_OFF: MagicNumber
            long ms = duration % 1000;
            long s = (duration / ONE_SECOND) % 60;
            long m = (duration / ONE_MINUTE) % 60;
            long h = (duration / ONE_HOUR) % 24;
            long d = duration / ONE_DAY;
            // CHECKSTYLE_ON: MagicNumber
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 08 08:49:11 GMT 2024
    - 7.3K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java

            lock.encode(new byte[20], 0); // initialise fields by encoding to set pid etc (though not needed)
            setField(lock, "pid", 123);
            setField(lock, "byteOffset", 100L);
            setField(lock, "lengthInBytes", 200L);
            LockingAndXRange unlock = new LockingAndXRange(false);
            setField(unlock, "pid", 456);
            setField(unlock, "byteOffset", 300L);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/timer/SystemMonitorTarget.java

         * Constructs a new system monitor target.
         */
        public SystemMonitorTarget() {
            super();
        }
    
        @Override
        public void expired() {
            final StringBuilder buf = new StringBuilder(1000);
    
            buf.append("[SYSTEM MONITOR] ");
            buf.append('{');
    
            appendOsStats(buf);
            appendProcessStats(buf);
            appendJvmStats(buf);
            appendFesenStats(buf);
    
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/util/SMBUtil.java

         * @param dstIndex the starting index in the destination array
         */
        public static void writeUTime(final long t, final byte[] dst, final int dstIndex) {
            writeInt4(t / 1000, dst, dstIndex);
        }
    
        /**
         * SMB1 protocol header template with magic number 0xFF 'SMB'
         */
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8K bytes
    - Click Count (0)
  10. src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java

            }
    
            @Test
            @DisplayName("Should maintain value consistency after multiple constructions")
            void testValueConsistency() {
                // Given: Same input value
                int inputValue = 1000;
                int expectedMasked = inputValue & 0xFF; // 232
    
                // When: Creating multiple NdrShort instances
                NdrShort ndrShort1 = new NdrShort(inputValue);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.2K bytes
    - Click Count (0)
Back to Top