Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,425 for append (0.21 sec)

  1. internal/ioutil/append-file_nix.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package ioutil
    
    import (
    	"io"
    	"os"
    )
    
    // AppendFile - appends the file "src" to the file "dst"
    func AppendFile(dst string, src string, osync bool) error {
    	flags := os.O_WRONLY | os.O_APPEND | os.O_CREATE
    	if osync {
    		flags |= os.O_SYNC
    	}
    	appendFile, err := os.OpenFile(dst, flags, 0o666)
    	if err != nil {
    		return err
    	}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 1.3K bytes
    - Viewed (0)
  2. internal/ioutil/append-file_windows.go

    package ioutil
    
    import (
    	"io"
    	"os"
    
    	"github.com/minio/minio/internal/lock"
    )
    
    // AppendFile - appends the file "src" to the file "dst"
    func AppendFile(dst string, src string, osync bool) error {
    	appendFile, err := lock.Open(dst, os.O_WRONLY|os.O_APPEND|os.O_CREATE, 0o666)
    	if err != nil {
    		return err
    	}
    	defer appendFile.Close()
    
    	srcFile, err := lock.Open(src, os.O_RDONLY, 0o666)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 1.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Joiner.java

              appendable.append(joiner.separator);
              Entry<?, ?> e = parts.next();
              appendable.append(joiner.toString(e.getKey()));
              appendable.append(keyValueSeparator);
              appendable.append(joiner.toString(e.getValue()));
            }
          }
          return appendable;
        }
    
        /**
         * Appends the string representation of each entry in {@code entries}, using the previously
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 18.6K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/MessageBuilder.java

            return append(value, start, end);
        }
    
        /**
         * Append content to the message buffer.
         *
         * @param value the content to append
         * @return the current builder
         */
        @Nonnull
        default MessageBuilder a(CharSequence value) {
            return append(value);
        }
    
        /**
         * Append content to the message buffer.
         *
         * @param value the content to append
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Jan 08 10:37:09 GMT 2024
    - 7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Joiner.java

              appendable.append(joiner.separator);
              Entry<?, ?> e = parts.next();
              appendable.append(joiner.toString(e.getKey()));
              appendable.append(keyValueSeparator);
              appendable.append(joiner.toString(e.getValue()));
            }
          }
          return appendable;
        }
    
        /**
         * Appends the string representation of each entry in {@code entries}, using the previously
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 18.6K bytes
    - Viewed (0)
  6. guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java

        int dummy = 0;
        for (int i = 0; i < reps; i++) {
          StringBuilder sb = new StringBuilder();
          boolean append = false;
          for (String comp : components) {
            if (append) {
              sb.append(DELIMITER_STRING);
            }
            sb.append(comp);
            append = true;
          }
          dummy ^= sb.toString().length();
        }
        return dummy;
      }
    
      /**
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/AppendableWriter.java

        }
      }
    
      @Override
      public Writer append(char c) throws IOException {
        checkNotClosed();
        target.append(c);
        return this;
      }
    
      @Override
      public Writer append(@CheckForNull CharSequence charSeq) throws IOException {
        checkNotClosed();
        target.append(charSeq);
        return this;
      }
    
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/plugin/PluginParameterException.java

                    messageBuffer
                            .append("<configuration>")
                            .append(LS)
                            .append("  ...")
                            .append(LS);
                    messageBuffer
                            .append("  <")
                            .append(alias)
                            .append(">VALUE</")
                            .append(alias)
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue May 09 23:46:02 GMT 2023
    - 6.8K bytes
    - Viewed (0)
  9. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/KtFe10DebugTypeRenderer.kt

                    printer.append(value.callableId?.asSingleFqName()?.render())
                }
    
                is KtConstantAnnotationValue -> {
                    printer.append(value.constantValue.constantValueKind.asString)
                        .append("(")
                        .append(value.constantValue.value.toString())
                        .append(")")
                }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java

        int dummy = 0;
        for (int i = 0; i < reps; i++) {
          StringBuilder sb = new StringBuilder();
          boolean append = false;
          for (String comp : components) {
            if (append) {
              sb.append(DELIMITER_STRING);
            }
            sb.append(comp);
            append = true;
          }
          dummy ^= sb.toString().length();
        }
        return dummy;
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.9K bytes
    - Viewed (0)
Back to top