Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 898 for modes (0.03 sec)

  1. guava/src/com/google/common/io/Files.java

        private final File file;
        private final ImmutableSet<FileWriteMode> modes;
    
        private FileByteSink(File file, FileWriteMode... modes) {
          this.file = checkNotNull(file);
          this.modes = ImmutableSet.copyOf(modes);
        }
    
        @Override
        public FileOutputStream openStream() throws IOException {
          return new FileOutputStream(file, modes.contains(APPEND));
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/Files.java

        private final File file;
        private final ImmutableSet<FileWriteMode> modes;
    
        private FileByteSink(File file, FileWriteMode... modes) {
          this.file = checkNotNull(file);
          this.modes = ImmutableSet.copyOf(modes);
        }
    
        @Override
        public FileOutputStream openStream() throws IOException {
          return new FileOutputStream(file, modes.contains(APPEND));
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  3. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlService.java

     * and specifies the combination modes that control how XML elements are merged.</p>
     *
     * <p>The merger supports two main types of combinations:</p>
     * <ul>
     *   <li>Children combination: Controls how child elements are combined</li>
     *   <li>Self combination: Controls how the element itself is combined</li>
     * </ul>
     *
     * <p>Children combination modes (specified by {@code combine.children} attribute):</p>
     * <ul>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  4. doc/next/6-stdlib/99-minor/os/73676.md

    access modes, and other special-purpose flags....
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Aug 29 14:25:08 UTC 2025
    - 269 bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/FileWriteMode.java

     * the License.
     */
    
    package com.google.common.io;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    
    /**
     * Modes for opening a file for writing. The default when mode when none is specified is to truncate
     * the file before writing.
     *
     * @author Colin Decker
     */
    @J2ktIncompatible
    @GwtIncompatible
    public enum FileWriteMode {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/math/IntMathTest.java

        int x = 1000000;
        for (RoundingMode mode : ALL_ROUNDING_MODES) {
          assertEquals(6, IntMath.log10(x, mode));
        }
      }
    
      // Simple test to cover sqrt(0) for all types and all modes.
      @GwtIncompatible // sqrt
      public void testSqrtZeroAlwaysZero() {
        for (RoundingMode mode : ALL_ROUNDING_MODES) {
          assertEquals(0, IntMath.sqrt(0, mode));
        }
      }
    
      @GwtIncompatible // sqrt
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/CrudMode.java

     */
    package org.codelibs.fess.app.web;
    
    /**
     * Constants for CRUD operation modes.
     */
    public class CrudMode {
        /**
         * Mode for listing records.
         */
        public static final int LIST = 0;
    
        /**
         * Mode for creating a new record.
         */
        public static final int CREATE = 1;
    
        /**
         * Mode for editing an existing record.
         */
        public static final int EDIT = 2;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/math/BigDecimalMathTest.java

          this.input = input;
        }
    
        @CanIgnoreReturnValue
        RoundToDoubleTester setExpectation(double expectedValue, RoundingMode... modes) {
          for (RoundingMode mode : modes) {
            Double previous = expectedValues.put(mode, expectedValue);
            if (previous != null) {
              throw new AssertionError();
            }
          }
          return this;
        }
    
        @CanIgnoreReturnValue
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  9. mockwebserver/src/main/kotlin/mockwebserver3/SocketEffect.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package mockwebserver3
    
    /**
     * An adverse action to take on a socket, intended to exercise failure modes in the calling code.
     */
    public sealed interface SocketEffect {
      /**
       * Close the TCP socket that carries this request.
       *
       * Using this as [MockResponse.onResponseEnd] is the default for HTTP/1.0.
       */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  10. ci/official/any.sh

    # See the License for the specific language governing permissions and
    # limitations under the License.
    # ==============================================================================
    # any.sh has two run modes.
    #
    # 1. RUN, TEST, OR BUILD BAZEL TARGET(S) WITHIN A TFCI ENVIRONMENT
    #    To use:
    #       export TFCI=ci/official/envs/env_goes_here
    #       export TF_ANY_TARGETS="quoted list of targets, like on the command line"
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Thu Jan 09 18:37:25 UTC 2025
    - 2.1K bytes
    - Viewed (0)
Back to top