Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 106 for appendRule (0.17 sec)

  1. cmd/xl-storage-disk-id-check.go

    		return p.storage.ReadFile(ctx, volume, path, offset, buf, verifier)
    	})
    }
    
    // Legacy API - does not have any deadlines
    func (p *xlStorageDiskIDCheck) AppendFile(ctx context.Context, volume string, path string, buf []byte) (err error) {
    	ctx, done, err := p.TrackDiskHealth(ctx, storageMetricAppendFile, volume, path)
    	if err != nil {
    		return err
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

        checkArgument(
            implementations.put(type, implementation) == null,
            "Implementation for %s was already registered",
            type);
      }
    
      static {
        setImplementation(Appendable.class, StringBuilder.class);
        setImplementation(BlockingQueue.class, LinkedBlockingDeque.class);
        setImplementation(BlockingDeque.class, LinkedBlockingDeque.class);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 17 16:33:44 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  3. src/fmt/format.go

    	// of a uint64 to a rune may lose precision that indicates an overflow.
    	r := rune(c)
    	if c > utf8.MaxRune {
    		r = utf8.RuneError
    	}
    	buf := f.intbuf[:0]
    	f.pad(utf8.AppendRune(buf, r))
    }
    
    // fmtQc formats an integer as a single-quoted, escaped Go character constant.
    // If the character is not valid Unicode, it will print '\ufffd'.
    func (f *fmt) fmtQc(c uint64) {
    	r := rune(c)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:55 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  4. src/fmt/print.go

    		}
    	}
    	if w, ok := state.Width(); ok {
    		b = strconv.AppendInt(b, int64(w), 10)
    	}
    	if p, ok := state.Precision(); ok {
    		b = append(b, '.')
    		b = strconv.AppendInt(b, int64(p), 10)
    	}
    	b = utf8.AppendRune(b, verb)
    	return string(b)
    }
    
    // Use simple []byte instead of bytes.Buffer to avoid large dependency.
    type buffer []byte
    
    func (b *buffer) write(p []byte) {
    	*b = append(*b, p...)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:22:43 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  5. maven-embedder/src/main/java/org/fusesource/jansi/Ansi.java

     * with maven-shared-utils, while Maven has migrated to JLine (into which Jansi has been merged
     * since JLine 3.25.0).
     */
    @SuppressWarnings({"checkstyle:MagicNumber", "unused"})
    public class Ansi implements Appendable {
    
        private static final char FIRST_ESC_CHAR = 27;
        private static final char SECOND_ESC_CHAR = '[';
    
        /**
         * <a href="https://en.wikipedia.org/wiki/ANSI_escape_code#Colors">ANSI 8 colors</a> for fluent API
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 13 09:53:45 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  6. cmd/xl-storage.go

    	if err != nil {
    		return err
    	}
    
    	return s.writeAll(ctx, volume, path, b, true, volumeDir)
    }
    
    // AppendFile - append a byte array at path, if file doesn't exist at
    // path this call explicitly creates it.
    func (s *xlStorage) AppendFile(ctx context.Context, volume string, path string, buf []byte) (err error) {
    	volumeDir, err := s.getVolDir(volume)
    	if err != nil {
    		return err
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 85.3K bytes
    - Viewed (2)
  7. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

      }
    
      public <T extends Readable & Appendable> void testMultiBound() {
        assertAssignable(new TypeToken<List<T>>() {}, new TypeToken<List<? extends Readable>>() {});
        assertAssignable(new TypeToken<List<T>>() {}, new TypeToken<List<? extends Appendable>>() {});
      }
    
      public void testToGenericType() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

      }
    
      public <T extends Readable & Appendable> void testMultiBound() {
        assertAssignable(new TypeToken<List<T>>() {}, new TypeToken<List<? extends Readable>>() {});
        assertAssignable(new TypeToken<List<T>>() {}, new TypeToken<List<? extends Appendable>>() {});
      }
    
      public void testToGenericType() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  9. src/internal/poll/fd_windows.go

    						break
    					}
    					r = utf8.RuneError
    				} else {
    					r = utf16.DecodeRune(r, rune(uint16s[i+1]))
    					if r != utf8.RuneError {
    						i++
    					}
    				}
    			}
    			buf = utf8.AppendRune(buf, r)
    		}
    		fd.readbyte = buf
    		fd.readbyteOffset = 0
    		if nw == 0 {
    			break
    		}
    	}
    
    	src := fd.readbyte[fd.readbyteOffset:]
    	var i int
    	for i = 0; i < len(src) && i < len(b); i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 16:50:42 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/testshared/shared_test.go

    		}()
    		goCmd(t, "install", "-v", "-linkshared", "./exe")
    		AssertNotRebuilt(t, "new .a file", target)
    		AssertRebuilt(t, "new .a file", shlib)
    	})
    }
    
    func appendFile(t *testing.T, path, content string) {
    	t.Helper()
    	f, err := os.OpenFile(path, os.O_WRONLY|os.O_APPEND, 0660)
    	if err != nil {
    		t.Fatalf("os.OpenFile failed: %v", err)
    	}
    	defer func() {
    		err := f.Close()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 26 01:54:41 UTC 2023
    - 36.3K bytes
    - Viewed (0)
Back to top