Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,244 for append (0.04 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
    	}
    Registered: 2025-05-25 19:28
    - Last Modified: 2022-01-02 17:15
    - 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)
    Registered: 2025-05-25 19:28
    - Last Modified: 2022-01-02 17:15
    - 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
    Registered: 2025-05-30 12:43
    - Last Modified: 2025-03-17 20:26
    - 19.3K 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
    Registered: 2025-05-24 08:56
    - Last Modified: 2024-11-02 09:29
    - 7.6K bytes
    - Viewed (0)
  5. 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;
      }
    
      /**
    Registered: 2025-05-30 12:43
    - Last Modified: 2024-12-27 16:19
    - 5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/timer/SystemMonitorTarget.java

            buf.append("\"physical\":{");
            append(buf, "free", () -> osProbe.getFreePhysicalMemorySize()).append(',');
            append(buf, "total", () -> osProbe.getTotalPhysicalMemorySize());
            buf.append("},");
            buf.append("\"swap_space\":{");
            append(buf, "free", () -> osProbe.getFreeSwapSpaceSize()).append(',');
            append(buf, "total", () -> osProbe.getTotalSwapSpaceSize());
    Registered: 2025-05-26 08:04
    - Last Modified: 2025-03-15 06:53
    - 7.6K bytes
    - Viewed (0)
  7. tests/associations_has_many_test.go

    	}
    
    	// Append
    	DB.Model(&users).Association("Pets").Append(
    		&Pet{Name: "pet-slice-append-1"},
    		[]*Pet{{Name: "pet-slice-append-2-1"}, {Name: "pet-slice-append-2-2"}},
    		&Pet{Name: "pet-slice-append-3"},
    	)
    
    	AssertAssociationCount(t, users, "Pets", 10, "After Append")
    
    	// Replace -> same as append
    	DB.Model(&users).Association("Pets").Replace(
    Registered: 2025-05-25 09:35
    - Last Modified: 2024-06-12 10:49
    - 16K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java

                buf.append(".html\">File ");
                buf.append(count);
                buf.append("-");
                buf.append(i);
                buf.append("</a><br>");
                buf.append("<a href=\"dir");
                buf.append(count);
                buf.append("-");
                buf.append(i);
                buf.append("/index.html\">Dir ");
                buf.append(count);
                buf.append("-");
    Registered: 2025-05-25 03:50
    - Last Modified: 2025-03-15 06:52
    - 6.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

            buf.append(',').append('"').append(FieldNames.FIELDS).append("\":").append(convertJsonStrings(fields));
            buf.append(',').append('"').append(FieldNames.TAGS).append("\":").append(convertJsonStrings(tags));
            buf.append(',').append('"').append(FieldNames.ROLES).append("\":").append(convertJsonStrings(roles));
            buf.append(',').append('"').append(FieldNames.LANGUAGES).append("\":").append(convertJsonStrings(languages));
    Registered: 2025-06-06 09:08
    - Last Modified: 2025-03-15 06:51
    - 20.4K bytes
    - Viewed (0)
  10. tests/associations_has_one_test.go

    	}
    
    	// Append
    	DB.Model(&users).Association("Account").Append(
    		&Account{Number: "account-slice-append-1"},
    		&Account{Number: "account-slice-append-2"},
    		&Account{Number: "account-slice-append-3"},
    	)
    
    	AssertAssociationCount(t, users, "Account", 3, "After Append")
    
    	// Replace -> same as append
    
    	// Delete
    Registered: 2025-05-25 09:35
    - Last Modified: 2024-06-12 10:49
    - 7.1K bytes
    - Viewed (0)
Back to top