Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1231 - 1240 of 7,083 for returned (0.08 sec)

  1. internal/lsync/lrwmutex.go

    	defer cancel()
    
    	for {
    		select {
    		case <-retryCtx.Done():
    			// Caller context canceled or we timedout,
    			// return false anyways for both situations.
    			return false
    		default:
    			if lm.lock(id, source, isWriteLock) {
    				return true
    			}
    			time.Sleep(time.Duration(r.Float64() * float64(lockRetryInterval)))
    		}
    	}
    }
    
    // Unlock unlocks the 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. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/FileTransformer.java

         *
         * @param url URL
         * @return path File path
         */
        protected String getFilePath(final String url) {
            return url.replaceAll("/+", "/").replace("./", "").replace("../", "").replaceAll("/$", "/index.html").replaceAll("\\?", questionStr)
                    .replaceAll(":", colonStr).replaceAll(";", semicolonStr).replaceAll("&", ampersandStr);
        }
    
        /**
         * Returns data as a file path of String.
         *
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultTransformerContextBuilder.java

            return new TransformerContext() {
    
                @Override
                public Path locate(Path path) {
                    return context.locate(path);
                }
    
                @Override
                public String getUserProperty(String key) {
                    return context.userProperties.computeIfAbsent(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  4. istioctl/pkg/describe/describe.go

    			facts = append(facts, trafficMatch.String())
    		}
    	}
    
    	return match, facts
    }
    
    func renderStringMatch(sm *v1alpha3.StringMatch) string {
    	if sm == nil {
    		return ""
    	}
    
    	switch x := sm.MatchType.(type) {
    	case *v1alpha3.StringMatch_Exact:
    		return x.Exact
    	case *v1alpha3.StringMatch_Prefix:
    		return x.Prefix + "*"
    	}
    
    	return sm.String()
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
  5. src/cmd/api/main_test.go

    					mark(n.Name)
    				}
    				return false
    			case *ast.TypeSpec:
    				if isDeprecated(n.Doc) {
    					mark(n.Name)
    				}
    				return true // recurse into struct or interface type
    			case *ast.StructType:
    				return true // recurse into fields
    			case *ast.InterfaceType:
    				return true // recurse into methods
    			case *ast.FieldList:
    				return true // recurse into fields
    			case *ast.ValueSpec:
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 04 18:16:59 UTC 2024
    - 31.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/thirdparty/publicsuffix/TrieParser.java

        int idx = 0;
    
        while (idx < encodedLen) {
          idx += doParseTrieToBuilder(newArrayDeque(), encoded, idx, builder);
        }
    
        return builder.buildOrThrow();
      }
    
      /**
       * Parses a trie node and returns the number of characters consumed.
       *
       * @param stack The prefixes that precede the characters represented by this node. Each entry of
       *     the stack is in reverse order.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 13 19:20:43 UTC 2022
    - 4K bytes
    - Viewed (0)
  7. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableList.java

      public Object[] toArray() {
        // Note that ArrayList.toArray() doesn't work here because it returns E[]
        // instead of Object[].
        return delegateList().toArray(new Object[size()]);
      }
    
      @Override
      public boolean equals(@Nullable Object obj) {
        return delegateList().equals(obj);
      }
    
      @Override
      public int hashCode() {
        return delegateList().hashCode();
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 23 18:43:40 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. buildSrc/src/main/kotlin/AlpnVersions.kt

        else -> null
      }
    }
    
    /**
     * Returns the alpn-boot version specific to this OpenJDK 8 JVM, or null if this is not a Java 8 VM.
     * https://github.com/xjdr/xio/blob/master/alpn-boot.gradle
     */
    fun alpnBootVersion(): String? {
      val version = System.getProperty("alpn.boot.version")
    
      if (version != null) {
        return version
      }
    
      val javaVersion = System.getProperty("java.version")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 07 16:05:34 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/TestCharacterListGenerator.java

      protected abstract List<Character> create(Character[] elements);
    
      @Override
      public Character[] createArray(int length) {
        return new Character[length];
      }
    
      /** Returns the original element list, unchanged. */
      @Override
      public List<Character> order(List<Character> insertionOrder) {
        return insertionOrder;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

            a.append(csq);
            return this;
          }
    
          @Override
          public Appendable append(CharSequence csq, int start, int end) throws IOException {
            a.append(csq, start, end);
            return this;
          }
    
          @Override
          public Appendable append(char c) throws IOException {
            a.append(c);
            return this;
          }
        };
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 11.2K bytes
    - Viewed (0)
Back to top