Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 684 for _flush (0.14 sec)

  1. src/cmd/vendor/golang.org/x/text/unicode/norm/composition.go

    func (rb *reorderBuffer) setFlusher(out []byte, f func(*reorderBuffer) bool) {
    	rb.out = out
    	rb.flushF = f
    }
    
    // reset discards all characters from the buffer.
    func (rb *reorderBuffer) reset() {
    	rb.nrune = 0
    	rb.nbyte = 0
    }
    
    func (rb *reorderBuffer) doFlush() bool {
    	if rb.f.composing {
    		rb.compose()
    	}
    	res := rb.flushF(rb)
    	rb.reset()
    	return res
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

      else
        TF_SetStatus(status, TF_OK, "");
    
      return position;
    }
    
    static void Flush(const TF_WritableFile* file, TF_Status* status) {
      auto posix_file = static_cast<PosixFile*>(file->plugin_file);
    
      TF_SetStatus(status, TF_OK, "");
      if (fflush(posix_file->handle) != 0)
        TF_SetStatusFromIOError(status, errno, posix_file->filename);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Mar 24 20:08:23 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/zerrors_aix_ppc64.go

    	FF1                           = 0x2000
    	FFDLY                         = 0x2000
    	FLUSHBAND                     = 0x40
    	FLUSHLOW                      = 0x8
    	FLUSHO                        = 0x100000
    	FLUSHR                        = 0x1
    	FLUSHRW                       = 0x3
    	FLUSHW                        = 0x2
    	F_CLOSEM                      = 0xa
    	F_DUP2FD                      = 0xe
    	F_DUPFD                       = 0x0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 52.7K bytes
    - Viewed (0)
  4. pkg/util/iptables/iptables.go

    	// data should be formatted like the output of SaveInto()
    	// flush sets the presence of the "--noflush" flag. see: FlushFlag
    	// counters sets the "--counters" flag. see: RestoreCountersFlag
    	Restore(table Table, data []byte, flush FlushFlag, counters RestoreCountersFlag) error
    	// RestoreAll is the same as Restore except that no table is specified.
    	RestoreAll(data []byte, flush FlushFlag, counters RestoreCountersFlag) error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 28.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/io/Flushables.java

       *     method
       * @throws IOException if {@code swallowIOException} is false and {@link Flushable#flush} throws
       *     an {@code IOException}.
       * @see Closeables#close
       */
      public static void flush(Flushable flushable, boolean swallowIOException) throws IOException {
        try {
          flushable.flush();
        } catch (IOException e) {
          if (swallowIOException) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/text/unicode/norm/normalize.go

    		rb.out = rb.out[:end]
    		decomposeToLastBoundary(rb)
    		rb.doFlush()
    		rb.out = append(rb.out, x...)
    		return false
    	}
    	buf := rb.out[p:]
    	rb.out = rb.out[:p]
    	decomposeToLastBoundary(rb)
    	if s := rb.ss.next(info); s == ssStarter {
    		rb.doFlush()
    		rb.ss.first(info)
    	} else if s == ssOverflow {
    		rb.doFlush()
    		rb.insertCGJ()
    		rb.ss = 0
    	}
    	rb.insertUnsafe(inputBytes(buf), 0, info)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/Flushables.java

       *     method
       * @throws IOException if {@code swallowIOException} is false and {@link Flushable#flush} throws
       *     an {@code IOException}.
       * @see Closeables#close
       */
      public static void flush(Flushable flushable, boolean swallowIOException) throws IOException {
        try {
          flushable.flush();
        } catch (IOException e) {
          if (swallowIOException) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  8. src/encoding/csv/writer.go

    	} else {
    		err = w.w.WriteByte('\n')
    	}
    	return err
    }
    
    // Flush writes any buffered data to the underlying [io.Writer].
    // To check if an error occurred during Flush, call [Writer.Error].
    func (w *Writer) Flush() {
    	w.w.Flush()
    }
    
    // Error reports any error that has occurred during
    // a previous [Writer.Write] or [Writer.Flush].
    func (w *Writer) Error() error {
    	_, err := w.w.Write(nil)
    	return err
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  9. src/compress/flate/deflate_test.go

    						t.Errorf("i=%d, firstN=%d, flush=%t: Write: %v", i, firstN, flush, err)
    						continue outer
    					}
    					if !flush {
    						continue
    					}
    					if err := w.Flush(); err != nil {
    						t.Errorf("i=%d, firstN=%d, flush=%t: Flush: %v", i, firstN, flush, err)
    						continue outer
    					}
    				}
    				if err := w.Close(); err != nil {
    					t.Errorf("i=%d, firstN=%d, flush=%t: Close: %v", i, firstN, flush, err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 25.6K bytes
    - Viewed (0)
  10. src/runtime/testdata/testwinlib/main.c

        {
            printf("cannot add vectored exception handler\n");
            fflush(stdout);
            return 2;
        }
        void *continueHandlerHandle = AddVectoredContinueHandler(0, customContinueHandlder);
        if (NULL == continueHandlerHandle)
        {
            printf("cannot add vectored continue handler\n");
            fflush(stdout);
            return 2;
        }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 08:26:52 UTC 2023
    - 2.5K bytes
    - Viewed (0)
Back to top