Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 653 for Write (0.02 sec)

  1. internal/dsync/drwmutex_test.go

    	// fmt.Println("Trying to acquire write lock, waiting...")
    	ctx3, cancel3 := context.WithCancel(context.Background())
    	locked = drwm3.GetLock(ctx3, cancel3, id, source, Options{Timeout: duration})
    	if locked {
    		// fmt.Println("Write lock acquired, waiting...")
    		time.Sleep(testDrwMutexAcquireTimeout)
    
    		drwm3.Unlock(context.Background())
    	}
    	// fmt.Println("Write lock failed due to timeout")
    	return
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 24 03:49:07 UTC 2022
    - 9.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

                                    }
                                    bw.write(mapper.writeValueAsString(dataObj));
                                } else {
                                    bw.write(line);
                                }
                            } else {
                                bw.write(line);
                            }
                        }
                        bw.write("\n");
                    }
                    bw.flush();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  3. cmd/batch-expire_gen.go

    		return
    	}
    	// write "Name"
    	err = en.Append(0xa4, 0x4e, 0x61, 0x6d, 0x65)
    	if err != nil {
    		return
    	}
    	err = en.WriteString(z.Name)
    	if err != nil {
    		err = msgp.WrapError(err, "Name")
    		return
    	}
    	// write "Purge"
    	err = en.Append(0xa5, 0x50, 0x75, 0x72, 0x67, 0x65)
    	if err != nil {
    		return
    	}
    	// map header, size 1
    	// write "RetainVersions"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  4. cmd/local-locker_gen.go

    func (z *lockRequesterInfo) EncodeMsg(en *msgp.Writer) (err error) {
    	// map header, size 9
    	// write "Name"
    	err = en.Append(0x89, 0xa4, 0x4e, 0x61, 0x6d, 0x65)
    	if err != nil {
    		return
    	}
    	err = en.WriteString(z.Name)
    	if err != nil {
    		err = msgp.WrapError(err, "Name")
    		return
    	}
    	// write "Writer"
    	err = en.Append(0xa6, 0x57, 0x72, 0x69, 0x74, 0x65, 0x72)
    	if err != nil {
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  5. src/archive/tar/writer_test.go

    // Write is never called with an empty buffer.
    type testNonEmptyWriter struct{ io.Writer }
    
    func (w testNonEmptyWriter) Write(b []byte) (int, error) {
    	if len(b) == 0 {
    		return 0, errors.New("unexpected empty Write call")
    	}
    	return w.Writer.Write(b)
    }
    
    func TestFileWriter(t *testing.T) {
    	type (
    		testWrite struct { // Write(str) == (wantCnt, wantErr)
    			str     string
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/io/ByteArrayDataOutput.java

     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public interface ByteArrayDataOutput extends DataOutput {
      @Override
      void write(int b);
    
      @Override
      void write(byte b[]);
    
      @Override
      void write(byte b[], int off, int len);
    
      @Override
      void writeBoolean(boolean v);
    
      @Override
      void writeByte(int v);
    
      @Override
      void writeShort(int v);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/CharStreams.java

        @Override
        public void write(int c) {}
    
        @Override
        public void write(char[] cbuf) {
          checkNotNull(cbuf);
        }
    
        @Override
        public void write(char[] cbuf, int off, int len) {
          checkPositionIndexes(off, off + len, cbuf.length);
        }
    
        @Override
        public void write(String str) {
          checkNotNull(str);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  8. ci/devinfra/docker/windows/Dockerfile

    	\
    	Write-Host 'Verifying install ...'; \
    	Write-Host '  python --version'; C:\python312\python.exe --version; \
    	\
    	Write-Host 'Verifying pip install ...'; \
    	C:\python312\python.exe -m pip --version; \
    	\
    	Write-Host 'Removing ...'; \
    	Remove-Item C:\tmp\pyinstall.exe -Force; \
    	\
    	Write-Host 'Complete.';
    
    # Install pip packages.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Aug 20 13:57:04 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/cache2/FileOperatorTest.kt

          )
        val bufferA = Buffer()
        val bufferB = Buffer()
        bufferA.writeUtf8("Dodgson!\n")
        operatorA.write(0, bufferA, 9)
        bufferB.writeUtf8("You shouldn't use my name.\n")
        operatorB.write(9, bufferB, 27)
        bufferA.writeUtf8("Dodgson, we've got Dodgson here!\n")
        operatorA.write(36, bufferA, 33)
        operatorB.read(0, bufferB, 9)
        assertThat(bufferB.readUtf8()).isEqualTo("Dodgson!\n")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. docs/distributed/SIZING.md

    protection bits added automatically to provide the regular safety for these objects up to 50% of the number of drives.
    This will allow normal write operations to take place on systems that exceed the write tolerance.
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 15 23:04:20 UTC 2023
    - 3.9K bytes
    - Viewed (0)
Back to top