Search Options

Results per page
Sort
Preferred Languages
Advance

Results 771 - 780 of 922 for simpler (0.04 sec)

  1. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

        }
    
        /**
         * Constant-time array copy to prevent timing attacks
         */
        private void constantTimeCopy(byte[] src, int srcPos, byte[] dest, int destPos, int length) {
            // Simple constant-time copy - always process all bytes
            for (int i = 0; i < length; i++) {
                dest[destPos + i] = src[srcPos + i];
            }
        }
    
        /**
         * Decrypt an SMB2 message
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/SmbCircuitBreaker.java

            if (responseTimeHistory.size() > 1000) { // Keep last 1000 measurements
                responseTimeHistory.removeFirst();
            }
    
            // Calculate moving average (simple approach)
            if (!responseTimeHistory.isEmpty()) {
                long sum = responseTimeHistory.stream().mapToLong(Long::longValue).sum();
                avgResponseTime.set(sum / responseTimeHistory.size());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  3. src/bytes/buffer.go

    // Copyright 2009 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package bytes
    
    // Simple byte buffer for marshaling data.
    
    import (
    	"errors"
    	"io"
    	"unicode/utf8"
    )
    
    // smallBufferSize is an initial allocation minimal capacity.
    const smallBufferSize = 64
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon May 19 17:38:56 UTC 2025
    - 16K bytes
    - Viewed (0)
  4. LICENSES/third_party/forked/shell2junit/LICENSE

               Shell2Junit License Information
    
    Feb, 2010
    
    shell2junit library and sample code is licensed under Apache License, v.2.0.
    
    (c) 2009 Manolo Carrasco (Manuel Carrasco MoƱino)
    
    =====
    
    Apache License
    Version 2.0, January 2004
    http://www.apache.org/licenses/ 
    
    1. Definitions.
    
    "License" shall mean the terms and conditions for use, reproduction, and 
    distribution as defined by Sections 1 through 9 of this document. 
    
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Thu Jul 08 11:48:19 UTC 2021
    - 9.2K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/security/oauth2-scopes.md

    We also declare a special parameter of type `SecurityScopes`, imported from `fastapi.security`.
    
    This `SecurityScopes` class is similar to `Request` (`Request` was used to get the request object directly).
    
    {* ../../docs_src/security/tutorial005_an_py310.py hl[9,106] *}
    
    ## Use the `scopes` { #use-the-scopes }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  6. cmd/metrics-v3-types.go

    // 500 Internal Server Error.
    type BucketMetricsLoaderFn func(context.Context, MetricValues, *metricsCache, []string) error
    
    // JoinBucketLoaders - joins multiple bucket loaders into a single loader,
    // similar to `JoinLoaders`.
    func JoinBucketLoaders(loaders ...BucketMetricsLoaderFn) BucketMetricsLoaderFn {
    	return func(ctx context.Context, m MetricValues, c *metricsCache, b []string) error {
    		for _, loader := range loaders {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Feb 28 19:33:08 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

                    logger.debug("Failed to access {}", input, e);
                }
            }
            return LaResponseUtil.getResponse().encodeURL(sb.toString());
        }
    
        /**
         * Encodes a string for similar document hash processing.
         *
         * @param input the string to encode
         * @return encoded string, or the original input if blank
         */
        public static String sdh(final String input) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.3K bytes
    - Viewed (1)
  8. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

              suite.addTest(new GeneratedMonitorTest(method, scenario, fair, null, expectedOutcome));
            }
          }
        }
      }
    
      /** A guard that encapsulates a simple, mutable boolean flag. */
      static class FlagGuard extends Monitor.Guard {
    
        private boolean satisfied;
    
        protected FlagGuard(Monitor monitor) {
          super(monitor);
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 27K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

     * services are started by some mechanism besides {@link #startAsync}, the listeners will be invoked
     * when appropriate and {@link #awaitHealthy} will still work as expected.
     *
     * <p>Here is a simple example of how to use a {@code ServiceManager} to start a server.
     *
     * {@snippet :
     * class Server {
     *   public static void main(String[] args) {
     *     Set<Service> services = ...;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 33.2K bytes
    - Viewed (1)
  10. android/guava-tests/test/com/google/common/math/IntMathTest.java

      public void testLog10TrivialOnPowerOfTen() {
        int x = 1000000;
        for (RoundingMode mode : ALL_ROUNDING_MODES) {
          assertEquals(6, IntMath.log10(x, mode));
        }
      }
    
      // Simple test to cover sqrt(0) for all types and all modes.
      @GwtIncompatible // sqrt
      public void testSqrtZeroAlwaysZero() {
        for (RoundingMode mode : ALL_ROUNDING_MODES) {
          assertEquals(0, IntMath.sqrt(0, mode));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 24.1K bytes
    - Viewed (0)
Back to top