Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for enc_time (0.69 sec)

  1. src/main/java/jcifs/util/Encdec.java

         * @param di the starting index in the destination array
         * @param enc the time encoding type (e.g., TIME_1970_SEC_32BE)
         * @return the number of bytes written
         */
        public static int enc_time(final Date date, final byte[] dst, final int di, final int enc) {
            long t;
    
            return switch (enc) {
            case TIME_1970_SEC_32BE -> enc_uint32be((int) (date.getTime() / 1000L), dst, di);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/util/Encdec.java

         * @param di the starting index in the destination array
         * @param enc the time encoding type (e.g., TIME_1970_SEC_32BE)
         * @return the number of bytes written
         */
        public static int enc_time(final Date date, final byte[] dst, final int di, final int enc) {
            long t;
    
            return switch (enc) {
            case TIME_1970_SEC_32BE -> enc_uint32be((int) (date.getTime() / 1000L), dst, di);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/AbstractConfigHelperTest.java

            configHelper.setReloadInterval(20L);
    
            long startTime = System.currentTimeMillis();
            configHelper.waitForNext();
            long endTime = System.currentTimeMillis();
    
            long elapsed = endTime - startTime;
            assertTrue("Expected at least 15ms sleep, got " + elapsed + "ms", elapsed >= 15);
            // Generous tolerance for CI environments like GitHub Actions
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 00:03:47 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java

                            long startTime = System.nanoTime();
                            boolean result = correctAuth.equals(wrongAuth);
                            long endTime = System.nanoTime();
                            timings.add(endTime - startTime);
                            assertFalse(result, "Passwords should not be equal");
                        }
                    });
                }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/opensearch/config/bsentity/dbmeta/JobLogDbm.java

        //                                                                         ===========
        protected final ColumnInfo _columnEndTime = cci("endTime", "endTime", null, null, Long.class, "endTime", null, false, false, false,
                "Long", 0, 0, null, null, false, null, null, null, null, null, false);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  6. cmd/os-instrumented.go

    	startTime := time.Now()
    	return func() {
    		duration := time.Since(startTime)
    
    		atomic.AddUint64(&o.operations[s], 1)
    		o.latency[s].add(duration)
    	}
    }
    
    // incTime will increment time on metric s with a specific duration.
    func (o *osMetrics) incTime(s osMetric, d time.Duration) {
    	atomic.AddUint64(&o.operations[s], 1)
    	o.latency[s].add(d)
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/mylasta/direction/FessConfigTest.java

                        return "";
                    case FessConfig.INDEX_ADMIN_DOUBLE_FIELDS:
                        return "";
                    case FessConfig.INDEX_ADMIN_DATE_FIELDS:
                        return "expires,start_time,end_time";
                    case FessConfig.INDEX_ADMIN_REQUIRED_FIELDS:
                        return "url,title,role,boost";
                    case FessConfig.INDEX_ADMIN_ARRAY_FIELDS:
                        return "alerts,roles";
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 23.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/rank/fusion/DefaultSearcher.java

                                        // partial results
                                        final StringBuilder buf = new StringBuilder(1000);
                                        buf.append("[SEARCH TIMEOUT] {\"exec_time\":")
                                                .append(execTime)//
                                                .append(",\"request\":")
                                                .append(searchRequestBuilder.toString())//
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/EmptyIteratorTest.java

                    } catch (CIFSException e) {
                        throw new RuntimeException(e);
                    }
                });
            }
    
            long endTime = System.currentTimeMillis();
            long duration = endTime - startTime;
    
            // Then - should complete quickly (this is more of a performance indicator)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  10. cmd/data-scanner-metric.go

    		atomic.AddUint64(&p.operations[s], 1)
    		if s < scannerMetricLastRealtime {
    			p.latency[s].addSize(duration, int64(sz))
    		}
    	}
    }
    
    // incTime will increment time on metric s with a specific duration.
    // Use for s < scannerMetricLastRealtime
    func (p *scannerMetrics) incTime(s scannerMetric, d time.Duration) {
    	atomic.AddUint64(&p.operations[s], 1)
    	if s < scannerMetricLastRealtime {
    		p.latency[s].add(d)
    	}
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
Back to top