Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 275 for ValueOf (0.04 sec)

  1. gorm.go

    	connPool := db.ConnPool
    	if db.Statement != nil && db.Statement.ConnPool != nil {
    		connPool = db.Statement.ConnPool
    	}
    	if tx, ok := connPool.(*sql.Tx); ok && tx != nil {
    		return (*sql.DB)(reflect.ValueOf(tx).Elem().FieldByName("db").UnsafePointer()), nil
    	}
    
    	if dbConnector, ok := connPool.(GetDBConnector); ok && dbConnector != nil {
    		if sqldb, err := dbConnector.GetDBConn(); sqldb != nil || err != nil {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Tue Aug 26 06:24:29 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  2. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildParams.kt

        get() = gradleProperty(FLAKY_TEST).let {
            if (it.getOrElse("").isEmpty()) {
                return FlakyTestStrategy.INCLUDE
            } else {
                return FlakyTestStrategy.valueOf(it.get().toUpperCaseAsciiOnly())
            }
        }
    
    
    val Project.ignoreIncomingBuildReceipt: Provider<Boolean>
        get() = gradleProperty(BUILD_IGNORE_INCOMING_BUILD_RECEIPT).presence()
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Dec 18 22:01:30 UTC 2025
    - 17.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Multisets.java

         * followed by the characters " x " (space, x and space) followed by the count. Elements and
         * counts are converted to strings as by {@code String.valueOf}.
         */
        @Override
        public String toString() {
          String text = String.valueOf(getElement());
          int n = getCount();
          return (n == 1) ? text : (text + " x " + n);
        }
      }
    
      /** An implementation of {@link Multiset#equals}. */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 41.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Multisets.java

         * followed by the characters " x " (space, x and space) followed by the count. Elements and
         * counts are converted to strings as by {@code String.valueOf}.
         */
        @Override
        public String toString() {
          String text = String.valueOf(getElement());
          int n = getCount();
          return (n == 1) ? text : (text + " x " + n);
        }
      }
    
      /** An implementation of {@link Multiset#equals}. */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 41.2K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java

            this.messageBuilderFactory = messageBuilderFactory;
            this.terminalWidth = terminalWidth;
        }
    
        private static String chars(char c, int count) {
            return String.valueOf(c).repeat(Math.max(0, count));
        }
    
        private void infoLine(char c) {
            infoMain(chars(c, lineLength));
        }
    
        private void infoMain(String msg) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 08 08:49:11 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/FunctionsTest.java

            .testEquals();
      }
    
      public void testForMapWildCardWithDefault() {
        Map<String, Integer> map = new HashMap<>();
        map.put("One", 1);
        map.put("Three", 3);
        Number number = Double.valueOf(42);
        Function<String, Number> function = Functions.forMap(map, number);
    
        assertEquals(1, function.apply("One").intValue());
        assertEquals(number, function.apply("Two"));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 16K bytes
    - Viewed (0)
  7. src/main/java/jcifs/config/BaseConfiguration.java

        protected void initProtocolVersions(final String minStr, final String maxStr) {
            final DialectVersion min = minStr != null && !minStr.isEmpty() ? DialectVersion.valueOf(minStr) : null;
            final DialectVersion max = maxStr != null && !maxStr.isEmpty() ? DialectVersion.valueOf(maxStr) : null;
            initProtocolVersions(min, max);
        }
    
        /**
         * Initializes the minimum and maximum protocol versions.
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/wizard/AdminWizardAction.java

                    buf.append("%20");
                } else if (CharUtil.isUrlChar(c)) {
                    buf.append(c);
                } else {
                    try {
                        buf.append(URLEncoder.encode(String.valueOf(c), Constants.UTF_8));
                    } catch (final UnsupportedEncodingException e) {
                        // UTF-8 should always be supported, but log if it somehow isn't
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 11 09:47:03 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/event/ExecutionEventLogger.java

            this.messageBuilderFactory = messageBuilderFactory;
            this.terminalWidth = terminalWidth;
        }
    
        private static String chars(char c, int count) {
            return String.valueOf(c).repeat(Math.max(0, count));
        }
    
        private void infoLine(char c) {
            infoMain(chars(c, lineLength));
        }
    
        private void infoMain(String msg) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Dec 13 15:40:45 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java

         *
         * @param location identification of a path in the {@code javax.tool} API
         * @return Java path type associated to the given location
         */
        public static Optional<JavaPathType> valueOf(JavaFileManager.Location location) {
            for (JavaPathType type : JavaPathType.values()) {
                if (location.equals(type.location)) {
                    return Optional.of(type);
                }
            }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Dec 15 11:13:42 UTC 2025
    - 15.7K bytes
    - Viewed (1)
Back to top