Search Options

Results per page
Sort
Preferred Languages
Advance

Results 881 - 890 of 2,062 for Match (0.02 sec)

  1. android/guava/src/com/google/common/base/Internal.java

      @IgnoreJRERequirement
      static long toNanosSaturated(Duration duration) {
        // Using a try/catch seems lazy, but the catch block will rarely get invoked (except for
        // durations longer than approximately +/- 292 years).
        try {
          return duration.toNanos();
        } catch (ArithmeticException tooBig) {
          return duration.isNegative() ? Long.MIN_VALUE : Long.MAX_VALUE;
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 15:16:19 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  2. docs/ja/docs/tutorial/body-updates.md

    すでに格納されている属性`"tax": 20.2`を含まないため、入力モデルのデフォルト値は`"tax": 10.5`です。
    
    そして、データはその「新しい」`10.5`の`tax`と共に保存されます。
    
    ## `PATCH`による部分的な更新
    
    また、<a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/PATCH" class="external-link" target="_blank">HTTPの`PATCH`</a>操作でデータを*部分的に*更新することもできます。
    
    つまり、更新したいデータだけを送信して、残りはそのままにしておくことができます。
    
    /// note | 備考
    
    `PATCH`は`PUT`よりもあまり使われておらず、知られていません。
    
    また、多くのチームは部分的な更新であっても`PUT`だけを使用しています。
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapPutIfAbsentTester.java

              v0(),
              putIfAbsent(e0()));
        } catch (UnsupportedOperationException tolerated) {
        }
        expectUnchanged();
      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testPutIfAbsent_unsupportedPresentDifferentValue() {
        try {
          getMap().putIfAbsent(k0(), v3());
        } catch (UnsupportedOperationException tolerated) {
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java

              v0(),
              getMap().putIfAbsent(k0(), v0()));
        } catch (UnsupportedOperationException tolerated) {
        }
        expectUnchanged();
      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testPutIfAbsent_unsupportedPresentDifferentValue() {
        try {
          getMap().putIfAbsent(k0(), v3());
        } catch (UnsupportedOperationException tolerated) {
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java

                try {
                    // Create SmbFile objects from cached info
                    SmbFile file = createSmbFileFromCache(directoryPath, fileInfo);
                    files.add(file);
                } catch (Exception e) {
                    log.warn("Error creating SmbFile from cache for {}: {}", fileInfo.getName(), e.getMessage());
                    // For testing purposes, continue processing other files
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

                field.set(obj, value);
            } catch (Exception e) {
                throw new RuntimeException("Failed to set field " + fieldName, e);
            }
        }
    
        private Object getFieldValue(Object obj, String fieldName) {
            try {
                Field field = findField(obj.getClass(), fieldName);
                field.setAccessible(true);
                return field.get(obj);
            } catch (Exception e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  7. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidCertificateChainCleaner.kt

        hostname: String,
      ): List<Certificate> {
        val certificates = (chain as List<X509Certificate>).toTypedArray()
        try {
          return x509TrustManagerExtensions.checkServerTrusted(certificates, "RSA", hostname)
        } catch (ce: CertificateException) {
          throw SSLPeerUnverifiedException(ce.message).apply { initCause(ce) }
        }
      }
    
      override fun equals(other: Any?): Boolean =
        other is AndroidCertificateChainCleaner &&
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/math/ApacheBenchmark.java

              int unused = IntMath.checkedAdd(a, b);
              return true;
            } catch (ArithmeticException e) {
              return false;
            }
          }
    
          @Override
          public boolean noAddOverflow(long a, long b) {
            try {
              long unused = LongMath.checkedAdd(a, b);
              return true;
            } catch (ArithmeticException e) {
              return false;
            }
          }
    
          @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SigningDigest.java

         */
        public SigningDigest(final byte[] macSigningKey, final boolean bypass) throws SmbException {
            try {
                digest = MessageDigest.getInstance("MD5");
            } catch (final NoSuchAlgorithmException ex) {
                if (LogStream.level > 0) {
                    ex.printStackTrace(log);
                }
                throw new SmbException("MD5", ex);
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/scheduler/ApiAdminSchedulerAction.java

                        messages.addErrorsFailedToStartJob(GLOBAL, entity.getName());
                    });
                }
                try {
                    entity.start();
                } catch (final Exception e) {
                    throwValidationErrorApi(messages -> {
                        messages.addErrorsFailedToStartJob(GLOBAL, entity.getName());
                    });
                }
            }).orElse(() -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 10K bytes
    - Viewed (0)
Back to top