Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2041 - 2050 of 2,143 for ELSE (0.02 sec)

  1. src/main/java/org/codelibs/core/collection/ArrayUtil.java

                    final Object o = array[i];
                    if (o != null) {
                        if (o.equals(obj)) {
                            return i;
                        }
                    } else if (obj == null) {
                        return i;
    
                    }
                }
            }
            return -1;
        }
    
        /**
         * 配列中から値が最初に見つかったインデックスを返します。
         *
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/convert/DateConversionUtil.java

         */
        protected static Calendar toCalendar(final Date date, final Locale locale) {
            final Calendar calendar;
            if (locale == null) {
                calendar = Calendar.getInstance();
            } else {
                calendar = Calendar.getInstance(locale);
            }
            calendar.setTime(date);
            return calendar;
        }
    
        /**
         * 文字列を{@link java.sql.Date}に変換します。
         *
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/security/oauth2-scopes.md

    By validating the data with Pydantic we can make sure that we have, for example, exactly a `list` of `str` with the scopes and a `str` with the `username`.
    
    Instead of, for example, a `dict`, or something else, as it could break the application at some point later, making it a security risk.
    
    We also verify that we have a user with that username, and if not, we raise that same exception we created before.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 29 11:02:16 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

                        for (String s : insertionOrder) {
                          int index = order.indexOf(s);
                          if (index == -1) {
                            order.add(s);
                          } else {
                            order.add(index, s);
                          }
                        }
                        return order;
                      }
                    })
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/math/IntMathTest.java

          BigInteger expectedResult = BigIntegerMath.ceilingPowerOfTwo(BigInteger.valueOf(x));
          if (fitsInInt(expectedResult)) {
            assertEquals(expectedResult.intValue(), IntMath.ceilingPowerOfTwo(x));
          } else {
            assertThrows(ArithmeticException.class, () -> IntMath.ceilingPowerOfTwo(x));
          }
        }
      }
    
      public void testFloorPowerOfTwo() {
        for (int x : POSITIVE_INTEGER_CANDIDATES) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  6. cmd/metrics-v2.go

    				if !ok {
    					clusterObjectSizesHistogram[k] = v
    				} else {
    					v1 += v
    					clusterObjectSizesHistogram[k] = v1
    				}
    			}
    			for k, v := range usage.ObjectVersionsHistogram {
    				v1, ok := clusterVersionsHistogram[k]
    				if !ok {
    					clusterVersionsHistogram[k] = v
    				} else {
    					v1 += v
    					clusterVersionsHistogram[k] = v1
    				}
    			}
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 131.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

          RegularImmutableSortedSet<E> result =
              (RegularImmutableSortedSet<E>) RegularImmutableSortedSet.NATURAL_EMPTY_SET;
          return result;
        } else {
          return new RegularImmutableSortedSet<>(ImmutableList.of(), comparator);
        }
      }
    
      /**
       * Returns the empty immutable sorted set.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/Helpers.java

      public static void assertContains(Iterable<?> actual, Object expected) {
        boolean contained = false;
        if (actual instanceof Collection) {
          contained = ((Collection<?>) actual).contains(expected);
        } else {
          for (Object o : actual) {
            if (equal(o, expected)) {
              contained = true;
              break;
            }
          }
        }
    
        if (!contained) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/io/ResourceUtil.java

                final int num = path.split("/").length;
                dir = new File(getFileName(url));
                for (int i = 0; i < num; ++i) {
                    dir = dir.getParentFile();
                }
            } else {
                dir = new File(JarFileUtil.toJarFilePath(url));
            }
            return dir;
        }
    
        /**
         * リソースのURLを外部形式に変換します。
         *
         * @param url
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  10. src/bufio/scan.go

    				s.setErr(err)
    				return false
    			}
    			if !s.advance(advance) {
    				return false
    			}
    			s.token = token
    			if token != nil {
    				if s.err == nil || advance > 0 {
    					s.empties = 0
    				} else {
    					// Returning tokens not advancing input at EOF.
    					s.empties++
    					if s.empties > maxConsecutiveEmptyReads {
    						panic("bufio.Scan: too many empty tokens without progressing")
    					}
    				}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Oct 23 09:06:30 UTC 2023
    - 14.2K bytes
    - Viewed (0)
Back to top