Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2211 - 2220 of 3,769 for qint (0.04 sec)

  1. guava-tests/test/com/google/common/io/BaseEncodingTest.java

        assertThat(encoding.encode(decoded.getBytes(UTF_8))).isEqualTo(encoded);
      }
    
      private static void testEncodesWithOffset(
          BaseEncoding encoding, String decoded, int offset, int len, String encoded) {
        assertThat(encoding.encode(decoded.getBytes(UTF_8), offset, len)).isEqualTo(encoded);
      }
    
      private static void testDecodes(BaseEncoding encoding, String encoded, String decoded) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 16:27:30 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/FilesTest.java

            new ByteProcessor<byte[]>() {
              private final ByteArrayOutputStream out = new ByteArrayOutputStream();
    
              @Override
              public boolean processBytes(byte[] buffer, int offset, int length) throws IOException {
                if (length >= 0) {
                  out.write(buffer, offset, length);
                }
                return true;
              }
    
              @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  3. guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

                            }
    
                            @Override
                            public int hashCode() {
                              return next.hashCode();
                            }
                          };
                        }
                      };
                    }
    
                    @Override
                    public int size() {
                      return map.size();
                    }
    
                    @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/cache/AbstractCache.java

        public SimpleStatsCounter() {}
    
        /** @since 11.0 */
        @Override
        public void recordHits(int count) {
          hitCount.add(count);
        }
    
        /** @since 11.0 */
        @Override
        public void recordMisses(int count) {
          missCount.add(count);
        }
    
        @SuppressWarnings("GoodTime") // b/122668874
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 9.1K bytes
    - Viewed (0)
  5. cmd/data-scanner-metric.go

    		}
    	}
    }
    
    // timeSize add time and size of a scanner action.
    // Use for s < scannerMetricLastRealtime
    func (p *scannerMetrics) timeSize(s scannerMetric) func(sz int) {
    	startTime := time.Now()
    	return func(sz int) {
    		duration := time.Since(startTime)
    
    		atomic.AddUint64(&p.operations[s], 1)
    		if s < scannerMetricLastRealtime {
    			p.latency[s].addSize(duration, int64(sz))
    		}
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 25 05:15:31 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  6. internal/lock/lock_windows.go

    	// see https://msdn.microsoft.com/en-us/library/windows/desktop/ms681382(v=vs.85).aspx
    	errLockViolation syscall.Errno = 0x21
    )
    
    // lockedOpenFile is an internal function.
    func lockedOpenFile(path string, flag int, perm os.FileMode, lockType uint32) (*LockedFile, error) {
    	f, err := Open(path, flag, perm)
    	if err != nil {
    		return nil, err
    	}
    
    	if err = lockFile(syscall.Handle(f.Fd()), lockType); err != nil {
    		f.Close()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 18 18:08:15 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/beans/MethodDesc.java

         *         {@literal null}
         */
        Class<?> getElementClassOfCollection(int index);
    
        /**
         * メソッドの引数型がパラメタ化された{@link Map}の場合、そのキー型を返します。
         *
         * @param index
         *            引数のインデックス
         * @return メソッドの引数がパラメタ化された{@link Map}の場合はそのキー型、そうでない場合は{@literal null}
         */
        Class<?> getKeyClassOfMap(int index);
    
        /**
         * メソッドの引数型がパラメタ化された{@link Map}の場合、その値型を返します。
         *
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

    import org.opensearch.search.SearchHit;
    
    public final class SuggestUtil {
        private static final int MAX_QUERY_TERM_NUM = 5;
        private static final int MAX_QUERY_TERM_LENGTH = 48;
    
        private static final Base64.Encoder encoder = Base64.getEncoder();
    
        private static final int ID_MAX_LENGTH = 445;
    
        private SuggestUtil() {
        }
    
        public static String createSuggestTextId(final String text) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  9. compat/maven-embedder/src/main/java/org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java

    import static org.apache.maven.cli.ResolveFile.resolveFile;
    
    /**
     * SettingsXmlConfigurationProcessor
     */
    @Named(SettingsXmlConfigurationProcessor.HINT)
    @Singleton
    public class SettingsXmlConfigurationProcessor implements ConfigurationProcessor {
        public static final String HINT = "settings";
    
        public static final String USER_HOME = System.getProperty("user.home");
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  10. okhttp-testing-support/src/main/kotlin/okhttp3/SpecificHostSocketFactory.kt

      ) {
        hostMapping[requested] = real
      }
    
      override fun createSocket(): Socket {
        return object : Socket() {
          override fun connect(
            endpoint: SocketAddress?,
            timeout: Int,
          ) {
            val requested = (endpoint as InetSocketAddress)
            val inetSocketAddress = hostMapping[requested.address] ?: defaultAddress ?: requested
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top