Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 16 for firstLine (0.12 seconds)

  1. src/etc/header-definition.xml

    <?xml version="1.0" encoding="UTF-8"?>
    <additionalHeaders>
        <javadoc_style>
            <firstLine>/*</firstLine>
            <beforeEachLine> * </beforeEachLine>
            <endLine> */</endLine>
            <!--skipLine></skipLine-->
            <firstLineDetectionPattern>(\s|\t)*/\*.*$</firstLineDetectionPattern>
            <lastLineDetectionPattern>.*\*/(\s|\t)*$</lastLineDetectionPattern>
            <allowBlankLines>false</allowBlankLines>
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Sep 15 12:48:40 GMT 2013
    - 509 bytes
    - Click Count (0)
  2. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/info/GitInfo.java

        }
    
        private static String readFirstLine(final Path path) throws IOException {
            String firstLine;
            try (Stream<String> lines = Files.lines(path, StandardCharsets.UTF_8)) {
                firstLine = lines.findFirst().orElseThrow(() -> new IOException("file [" + path + "] is empty"));
            }
            return firstLine;
        }
    
        /** Find the reponame. */
        public String urlFromOrigin() {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 7.8K bytes
    - Click Count (0)
  3. samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt

          }
    
          client
            .newCall(request)
            .execute()
            .use {
              val firstLine =
                it.body
                  .string()
                  .lines()
                  .first()
              if (this.launch != CommandLine) {
                println("${it.code} ${it.request.url.host} $firstLine")
              }
              Unit
            }
        } catch (e: IOException) {
          System.err.println(e)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/base/ThrowablesTest.java

        }
    
        StackTraceException e = new StackTraceException("my message");
    
        String firstLine = quote(e.getClass().getName() + ": " + e.getMessage());
        String secondLine = "\\s*at " + ThrowablesTest.class.getName() + "\\..*";
        String moreLines = "(?:.*" + System.lineSeparator() + "?)*";
        String expected =
            firstLine + System.lineSeparator() + secondLine + System.lineSeparator() + moreLines;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 15K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/base/ThrowablesTest.java

        }
    
        StackTraceException e = new StackTraceException("my message");
    
        String firstLine = quote(e.getClass().getName() + ": " + e.getMessage());
        String secondLine = "\\s*at " + ThrowablesTest.class.getName() + "\\..*";
        String moreLines = "(?:.*" + System.lineSeparator() + "?)*";
        String expected =
            firstLine + System.lineSeparator() + secondLine + System.lineSeparator() + moreLines;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 15K bytes
    - Click Count (0)
  6. internal/event/target/postgresql.go

    	initOnce once.Init
    
    	id         event.TargetID
    	args       PostgreSQLArgs
    	updateStmt *sql.Stmt
    	deleteStmt *sql.Stmt
    	insertStmt *sql.Stmt
    	db         *sql.DB
    	store      store.Store[event.Event]
    	firstPing  bool
    	connString string
    	loggerOnce logger.LogOnce
    	quitCh     chan struct{}
    }
    
    // ID - returns target ID.
    func (target *PostgreSQLTarget) ID() event.TargetID {
    	return target.id
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  7. internal/event/target/redis.go

    		if xnet.IsConnRefusedErr(pingErr) {
    			return store.ErrNotConnected
    		}
    		return pingErr
    	}
    
    	if !target.firstPing {
    		if err := target.args.validateFormat(conn); err != nil {
    			if xnet.IsConnRefusedErr(err) {
    				return store.ErrNotConnected
    			}
    			return err
    		}
    		target.firstPing = true
    	}
    
    	eventData, eErr := target.store.Get(key)
    	if eErr != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  8. internal/disk/stat_linux.go

    	"strconv"
    	"strings"
    	"syscall"
    
    	"github.com/prometheus/procfs/blockdevice"
    	"golang.org/x/sys/unix"
    )
    
    // GetInfo returns total and free bytes available in a directory, e.g. `/`.
    func GetInfo(path string, firstTime bool) (info Info, err error) {
    	s := syscall.Statfs_t{}
    	err = syscall.Statfs(path, &s)
    	if err != nil {
    		return Info{}, err
    	}
    	reservedBlocks := s.Bfree - s.Bavail
    	info = Info{
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  9. internal/event/target/mysql.go

    	initOnce once.Init
    
    	id         event.TargetID
    	args       MySQLArgs
    	updateStmt *sql.Stmt
    	deleteStmt *sql.Stmt
    	insertStmt *sql.Stmt
    	db         *sql.DB
    	store      store.Store[event.Event]
    	firstPing  bool
    	loggerOnce logger.LogOnce
    
    	quitCh chan struct{}
    }
    
    // ID - returns target ID.
    func (target *MySQLTarget) ID() event.TargetID {
    	return target.id
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java

                thread.join();
            }
    
            // All threads should see the updated time (not 0 or the old value)
            long firstTime = observedTimes[0];
            assertTrue(firstTime > 0, "Time should be updated");
            for (int i = 1; i < 10; i++) {
                Assertions.assertEquals(firstTime, observedTimes[i], "All threads should see same time due to volatile");
            }
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18.2K bytes
    - Click Count (0)
Back to Top