Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1691 - 1700 of 6,702 for If (0.04 seconds)

  1. fastapi/sse.py

        """
        lines: list[str] = []
    
        if comment is not None:
            for line in comment.splitlines():
                lines.append(f": {line}")
    
        if event is not None:
            lines.append(f"event: {event}")
    
        if data_str is not None:
            for line in data_str.splitlines():
                lines.append(f"data: {line}")
    
        if id is not None:
            lines.append(f"id: {id}")
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 09:21:52 GMT 2026
    - 6.2K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/DependenciesGraphPlugin.java

                        .map(Task::getPath)
                        .collect(Collectors.toList());
                    if (depGraphTasks.size() > 0) {
                        if (url == null || token == null) {
                            // If there are more than one DependenciesGraphTasks to run, print the message only for one of
                            // them as the resolving action is the same for all
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 2.8K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/util/PrunedTag.java

            if (tag.equalsIgnoreCase(node.getNodeName())) {
                if (attrName != null) {
                    final Node attr = node.getAttributes().getNamedItem(attrName);
                    if (attr == null || !attrValue.equals(attr.getNodeValue())) {
                        return false;
                    }
                }
                if (id == null) {
                    if (css == null) {
                        return true;
                    }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Nov 24 04:23:08 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraph.java

            if (incidentEdges == null) {
                incidentEdges = new HashMap<>(nEdges);
            }
            if (excidentEdges == null) {
                excidentEdges = new HashMap<>(nEdges);
            }
        }
        // ------------------------------------------------------------------------
        private static void checkVertex(MetadataGraphVertex v) throws MetadataResolutionException {
            if (v == null) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 13K bytes
    - Click Count (0)
  5. internal/config/compress/compress.go

    	if err != nil {
    		// Parsing failures happen due to empty KVS, ignore it.
    		if kvs.Empty() {
    			return cfg, nil
    		}
    		return cfg, err
    	}
    	if !cfg.Enabled {
    		return cfg, nil
    	}
    
    	allowEnc := env.Get(EnvCompressAllowEncryption, "")
    	if allowEnc == "" {
    		allowEnc = env.Get(EnvCompressAllowEncryptionLegacy, kvs.Get(AllowEncrypted))
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sat Sep 06 17:37:10 GMT 2025
    - 5K bytes
    - Click Count (0)
  6. .teamcity/mvnw.cmd

    @REM enable echoing by setting MAVEN_BATCH_ECHO to 'on'
    @if "%MAVEN_BATCH_ECHO%" == "on"  echo %MAVEN_BATCH_ECHO%
    
    @REM set %HOME% to equivalent of $HOME
    if "%HOME%" == "" (set "HOME=%HOMEDRIVE%%HOMEPATH%")
    
    @REM Execute a user defined script before this one
    if not "%MAVEN_SKIP_RC%" == "" goto skipRcPre
    @REM check for pre script, once with legacy .bat ending and once with .cmd ending
    if exist "%HOME%\mavenrc_pre.bat" call "%HOME%\mavenrc_pre.bat"
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Feb 26 01:48:39 GMT 2020
    - 6.5K bytes
    - Click Count (0)
  7. prepare_stmt.go

    	db.Mux.RLock()
    	if db.Stmts != nil {
    		if stmt, ok := db.Stmts.Get(query); ok && (!stmt.Transaction || isTransaction) {
    			db.Mux.RUnlock()
    			return stmt, stmt.Error()
    		}
    	}
    	db.Mux.RUnlock()
    
    	// retry
    	db.Mux.Lock()
    	if db.Stmts != nil {
    		if stmt, ok := db.Stmts.Get(query); ok && (!stmt.Transaction || isTransaction) {
    			db.Mux.Unlock()
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Fri Apr 25 08:22:26 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

         * @throws IOException if an I/O error occurs
         */
        public void writeDirect(final byte[] b, int off, int len, final int flags) throws IOException {
            if (len <= 0) {
                return;
            }
    
            if (tmp == null) {
                throw new IOException("Bad file descriptor");
            }
            ensureOpen();
    
            if (LogStream.level >= 4) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 11K bytes
    - Click Count (0)
  9. clause/clause.go

    }
    
    // Build build clause
    func (c Clause) Build(builder Builder) {
    	if c.Builder != nil {
    		c.Builder(c, builder)
    	} else if c.Expression != nil {
    		if c.BeforeExpression != nil {
    			c.BeforeExpression.Build(builder)
    			builder.WriteByte(' ')
    		}
    
    		if c.Name != "" {
    			builder.WriteString(c.Name)
    			builder.WriteByte(' ')
    		}
    
    		if c.AfterNameExpression != nil {
    			c.AfterNameExpression.Build(builder)
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 1.8K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/score/QueryRescorerTest.java

                    if (params == null) {
                        return null;
                    }
    
                    // Test different parameter types
                    if (params.containsKey("string") && params.get("string") instanceof String) {
                        return createMockRescorerBuilder();
                    }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.5K bytes
    - Click Count (0)
Back to Top