Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1101 - 1110 of 2,145 for else_ (0.02 sec)

  1. internal/lsync/lrwmutex.go

    	lm.mu.Lock()
    	defer lm.mu.Unlock()
    
    	lm.id = id
    	lm.source = source
    	if isWriteLock {
    		if lm.ref == 0 && !lm.isWriteLock {
    			lm.ref = 1
    			lm.isWriteLock = true
    			locked = true
    		}
    	} else {
    		if !lm.isWriteLock {
    			lm.ref++
    			locked = true
    		}
    	}
    
    	return locked
    }
    
    const (
    	lockRetryInterval = 50 * time.Millisecond
    )
    
    // lockLoop will acquire either a read or a write lock
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleJavadocsPlugin.java

                    "const currentTheme = localStorage.getItem('theme');" +
                    "if (currentTheme == 'dark') {" +
                    "    document.body.classList.toggle('dark-theme');" +
                    "} else if (currentTheme == 'light') {" +
                    "    document.body.classList.toggle('light-theme');" +
                    "}" +
                    "btn.addEventListener('click', function () {" +
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Aug 20 14:11:17 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. istioctl/pkg/authz/authz.go

    			if configDumpFile != "" {
    				configDump, err = getConfigDumpFromFile(configDumpFile)
    				if err != nil {
    					return fmt.Errorf("failed to get config dump from file %s: %s", configDumpFile, err)
    				}
    			} else if len(args) == 1 {
    				podName, podNamespace, err := ctx.InferPodInfoFromTypedResource(args[0], ctx.Namespace())
    				if err != nil {
    					return err
    				}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. src/archive/tar/writer.go

    func splitUSTARPath(name string) (prefix, suffix string, ok bool) {
    	length := len(name)
    	if length <= nameSize || !isASCII(name) {
    		return "", "", false
    	} else if length > prefixSize+1 {
    		length = prefixSize + 1
    	} else if name[length-1] == '/' {
    		length--
    	}
    
    	i := strings.LastIndex(name[:length], "/")
    	nlen := len(name) - i - 1 // nlen is length of suffix
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 14:22:59 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/query/QueryFieldConfig.java

                if (values.length == 1) {
                    pair.setFirst(values[0].trim());
                    pair.setSecond(1.0f);
                } else if (values.length > 1) {
                    pair.setFirst(values[0]);
                    pair.setSecond(Float.parseFloat(values[1]));
                } else {
                    return null;
                }
                return pair;
            }).forEach(additionalDefaultList::add));
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 22 04:30:56 UTC 2024
    - 16K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/connection/Exchange.kt

        }
        if (requestDone) {
          if (e != null) {
            eventListener.requestFailed(call, e)
          } else {
            eventListener.requestBodyEnd(call, bytesRead)
          }
        }
        if (responseDone) {
          if (e != null) {
            eventListener.responseFailed(call, e)
          } else {
            eventListener.responseBodyEnd(call, bytesRead)
          }
        }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/graph/EndpointPair.java

       */
      public final N adjacentNode(N node) {
        if (node.equals(nodeU)) {
          return nodeV;
        } else if (node.equals(nodeV)) {
          return nodeU;
        } else {
          throw new IllegalArgumentException("EndpointPair " + this + " does not contain node " + node);
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 01 17:18:04 UTC 2021
    - 8.1K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/SourceMetaDataVisitor.java

            for (ClassOrInterfaceType extendedType : node.getExtendedTypes()) {
                if (currentClass.isInterface()) {
                    currentClass.addInterfaceName(extractName(extendedType));
                } else {
                    currentClass.setSuperClassName(extractName(extendedType));
                }
            }
        }
    
        private void visitImplementedTypes(NodeWithImplements<?> node) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:07:24 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  9. src/packaging/deb/init.d/fess

    export SEARCH_ENGINE_HTTP_URL
    export FESS_JAVA_OPTS
    
    # Check DAEMON exists
    test -x $DAEMON || exit 0
    
    checkJava() {
    	if [ -x "$JAVA_HOME/bin/java" ]; then
    		JAVA="$JAVA_HOME/bin/java"
    	else
    		JAVA=`which java`
    	fi
    
    	if [ ! -x "$JAVA" ]; then
    		echo "Could not find any executable java binary. Please install java in your PATH or set JAVA_HOME"
    		exit 1
    	fi
    }
    
    case "$1" in
      start)
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Jan 15 06:32:15 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/http2/Huffman.kt

            if (node.children == null) {
              // Terminal node.
              sink.writeByte(node.symbol)
              accumulatorBitCount -= node.terminalBitCount
              node = root
            } else {
              // Non-terminal node.
              accumulatorBitCount -= 8
            }
          }
        }
    
        while (accumulatorBitCount > 0) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top