Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1101 - 1110 of 1,393 for Write (0.14 sec)

  1. compat/maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java

                    .modelEncoding("UTF-16")
                    .build());
            ByteArrayOutputStream baos = new ByteArrayOutputStream();
            new MetadataStaxWriter().write(baos, source.getDelegate());
            Metadata source2 =
                    new Metadata(new MetadataStaxReader().read(new ByteArrayInputStream(baos.toByteArray()), true));
            assertNotNull(source2);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  2. internal/config/certs_test.go

    )
    
    func createTempFile(prefix, content string) (tempFile string, err error) {
    	var tmpfile *os.File
    
    	if tmpfile, err = os.CreateTemp("", prefix); err != nil {
    		return tempFile, err
    	}
    
    	if _, err = tmpfile.Write([]byte(content)); err != nil {
    		return tempFile, err
    	}
    
    	if err = tmpfile.Close(); err != nil {
    		return tempFile, err
    	}
    
    	tempFile = tmpfile.Name()
    	return tempFile, err
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 21.6K bytes
    - Viewed (0)
  3. cmd/bucket-policy-handlers_test.go

    		expectedRespStatus int
    	}{
    		{bucketName, credentials.AccessKey, credentials.SecretKey, http.StatusNoContent},
    	}
    
    	// Iterating over the cases and writing the bucket policy.
    	// its required to write the policies first before running tests on GetBucketPolicy.
    	for i, testPolicy := range putTestPolicies {
    		// obtain the put bucket policy request body.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  4. cmd/os-readdir_test.go

    			// For cleanup, its required to add these entries into test results.
    			testResults = append(testResults, result{dir, entries})
    			t.Fatalf("Unable to write file, %s", err)
    		}
    	}
    	// Keep entries sorted for easier comparison.
    	sort.Strings(entries)
    
    	// Add entries slice for this test directory.
    	testResults = append(testResults, result{dir, entries})
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 7.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/io/FileUtil.java

            }
        }
    
        public static void writeBytes(final String pathname, final byte[] bytes) {
            try (FileOutputStream fos = OutputStreamUtil.create(new File(pathname))) {
                ChannelUtil.write(fos.getChannel(), ByteBuffer.wrap(bytes));
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        public static void deleteInBackground(final File file) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/Kerb5Context.java

     * Lesser General Public License for more details.
     * 
     * You should have received a copy of the GNU Lesser General Public
     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.smb;
    
    
    import java.lang.reflect.InvocationTargetException;
    import java.lang.reflect.Method;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Aug 02 08:22:42 UTC 2018
    - 13.9K bytes
    - Viewed (0)
  7. cmd/erasure.go

    func (er erasureObjects) Shutdown(ctx context.Context) error {
    	// Add any object layer shutdown activities here.
    	closeStorageDisks(er.getDisks()...)
    	return nil
    }
    
    // defaultWQuorum write quorum based on setDriveCount and defaultParityCount
    func (er erasureObjects) defaultWQuorum() int {
    	dataCount := er.setDriveCount - er.defaultParityCount
    	if dataCount == er.defaultParityCount {
    		return dataCount + 1
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 22:23:33 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  8. cmd/erasure-object.go

    			}
    			if freeVersionID != "" {
    				metaArr[index].SetTierFreeVersionID(freeVersionID)
    			}
    			if freeVersionMarker {
    				metaArr[index].SetTierFreeVersion()
    			}
    		}
    	}
    
    	// Write unique `xl.meta` for each disk.
    	if _, err = writeUniqueFileInfo(ctx, onlineDisks, "", srcBucket, srcObject, metaArr, writeQuorum); err != nil {
    		return oi, toObjectErr(err, srcBucket, srcObject)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  9. docs/en/docs/deployment/concepts.md

    ### What is a Program
    
    The word **program** is commonly used to describe many things:
    
    * The **code** that you write, the **Python files**.
    * The **file** that can be **executed** by the operating system, for example: `python`, `python.exe` or `uvicorn`.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Sep 18 16:09:57 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  10. cmd/xl-storage_test.go

    		t.Fatalf("Unable to create object: %v", err)
    	}
    
    	for i, test := range xlStorageReadFileWithVerifyTests {
    		h := test.algorithm.New()
    		h.Write(data)
    		if test.expError != nil {
    			h.Write([]byte{0})
    		}
    
    		buffer := make([]byte, test.length)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 66.7K bytes
    - Viewed (0)
Back to top