Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 596 for value_b (0.04 sec)

  1. callbacks/delete.go

    					column, values = schema.ToQueryValues(db.Statement.Table, db.Statement.Schema.PrimaryFieldDBNames, queryValues)
    
    					if len(values) > 0 {
    						db.Statement.AddClause(clause.Where{Exprs: []clause.Expression{clause.IN{Column: column, Values: values}}})
    					}
    				}
    			}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/convert/IntegerConversionUtil.java

            case java.util.Date d -> pattern != null ? Integer.valueOf(new SimpleDateFormat(pattern).format(d)) : (int) d.getTime();
            case Boolean b -> b ? 1 : 0;
            default -> toInteger(o.toString());
            };
        }
    
        private static Integer toInteger(final String s) {
            if (StringUtil.isEmpty(s)) {
                return null;
            }
            return Integer.valueOf(DecimalFormatUtil.normalize(s));
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

            for (int i = 0; i < num; i++) {
                hmap.put(String.valueOf(i), null);
            }
            System.out.println("HashMap.put:" + (System.currentTimeMillis() - start));
    
            start = System.currentTimeMillis();
            for (int i = 0; i < num; i++) {
                amap.put(String.valueOf(i), null);
            }
            System.out.println("ArrayMap.put:" + (System.currentTimeMillis() - start));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  4. association.go

    				} else {
    					tx.Clauses(clause.Eq{Column: ref.ForeignKey.DBName, Value: ref.PrimaryValue})
    				}
    			}
    
    			_, pvs := schema.GetIdentityFieldValuesMap(association.DB.Statement.Context, reflectValue, primaryFields)
    			if column, values := schema.ToQueryValues(rel.JoinTable.Table, joinPrimaryKeys, pvs); len(values) > 0 {
    				tx.Where(clause.IN{Column: column, Values: values})
    			} else {
    				return ErrPrimaryKeyRequired
    			}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/validation/CronExpressionValidatorTest.java

                boolean result = validator.isValid(cron, context);
                // Don't assert true/false here, just test that method doesn't throw
                assertNotNull("Validation should return a boolean result for: " + cron, Boolean.valueOf(result));
            }
        }
    
        // Test edge cases to understand the validation behavior
        public void test_edgeCaseBehavior() {
            String[] edgeCases = { "0 0 25 * * ?", // Invalid day of month
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/convert/ByteConversionUtil.java

            } else if (o instanceof String) {
                return toByte((String) o);
            } else if (o instanceof java.util.Date) {
                if (pattern != null) {
                    return Byte.valueOf(new SimpleDateFormat(pattern).format(o));
                }
                return (byte) ((java.util.Date) o).getTime();
            } else if (o instanceof Boolean) {
                return ((Boolean) o) ? (byte) 1 : (byte) 0;
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/MessageBuilder.java

         *
         * @param value the content to append
         * @return the current builder
         */
        @Nonnull
        default MessageBuilder a(char[] value) {
            return append(String.valueOf(value));
        }
    
        /**
         * Append content to the message buffer.
         *
         * @param value the content to append
         * @param start the starting index of the subsequence to be appended
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Nov 02 09:29:52 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/LongsTest.java

      private static final long[] VALUES = {MIN_VALUE, -1L, 0L, 1L, MAX_VALUE};
    
      // We need to test that our method behaves like the JDK method.
      @SuppressWarnings("InlineMeInliner")
      public void testHashCode() {
        for (long value : VALUES) {
          assertWithMessage("hashCode for " + value)
              .that(Longs.hashCode(value))
              .isEqualTo(Long.hashCode(value));
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 28.7K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/lang/FieldUtilTest.java

        /**
         * @throws Exception
         */
        @Test
        public void testGet() throws Exception {
            final Field field = getClass().getField("objectField");
            final Integer testData = Integer.valueOf(123);
            FieldUtil.set(field, this, testData);
            assertThat((Integer) FieldUtil.get(field, this), is(testData));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/pac/PacDataInputStreamTest.java

            // A non-null date
            long time = System.currentTimeMillis();
            BigInteger filetime = BigInteger.valueOf(time)
                    .add(BigInteger.valueOf(SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601))
                    .multiply(BigInteger.valueOf(10000L));
    
            byte[] data = new byte[8];
            long low = filetime.longValue();
            long high = filetime.shiftRight(32).longValue();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9.2K bytes
    - Viewed (0)
Back to top