Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1261 - 1270 of 3,988 for true (0.13 sec)

  1. android/guava/src/com/google/common/collect/ReverseOrdering.java

    import java.util.Iterator;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** An ordering that uses the reverse of a given order. */
    @GwtCompatible(serializable = true)
    @ElementTypesAreNonnullByDefault
    final class ReverseOrdering<T extends @Nullable Object> extends Ordering<T>
        implements Serializable {
      final Ordering<? super T> forwardOrder;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun Jun 20 14:22:42 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/FuturesGetUncheckedTest.java

    import java.util.concurrent.CancellationException;
    import java.util.concurrent.Future;
    import junit.framework.TestCase;
    
    /** Unit tests for {@link Futures#getUnchecked(Future)}. */
    @GwtCompatible(emulated = true)
    public class FuturesGetUncheckedTest extends TestCase {
      public void testGetUnchecked_success() {
        assertEquals("foo", getUnchecked(immediateFuture("foo")));
      }
    
      @J2ktIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/SingletonImmutableBiMap.java

    import javax.annotation.CheckForNull;
    
    /**
     * Implementation of {@link ImmutableMap} with exactly one entry.
     *
     * @author Jesse Wilson
     * @author Kevin Bourrillion
     */
    @GwtCompatible(serializable = true, emulated = true)
    @SuppressWarnings("serial") // uses writeReplace(), not default serialization
    @ElementTypesAreNonnullByDefault
    final class SingletonImmutableBiMap<K, V> extends ImmutableBiMap<K, V> {
    
      final transient K singleKey;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. docs/iam/access-manager-plugin.go

    	actionValue := m["action"].(string)
    
    	// Allow user `minio` to perform any action.
    	var res Result
    	if accountValue == "minio" {
    		res.Result = true
    	} else {
    		// All other users may not perform any `s3:Put*` operations.
    		res.Result = true
    		if strings.HasPrefix(actionValue, "s3:Put") {
    			res.Result = false
    		}
    	}
    	fmt.Printf("account: %v | action: %v | allowed: %v\n", accountValue, actionValue, res.Result)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 08 17:15:20 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. .github/workflows/release-branch-cherrypick.yml

          # this file into those branches.
          release_branch:
            description: 'Release branch name (e.g. r2.9)'
            required: true
            type: string
          git_commit:
            description: 'Git commit to cherry-pick'
            required: true
            type: string
    
    permissions:
      contents: read
    
    jobs:
      cherrypick:
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Nov 01 08:40:10 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDescriptionRenderer.java

            }
            NodeList otherContent = classDoc.getClassSection().getChildNodes();
            for (int i = 0; i < otherContent.getLength(); i++) {
                Node child = otherContent.item(i);
                if (child instanceof Element && !((Element) child).getTagName().equals("section")) {
                    parent.appendChild(document.importNode(child, true));
                }
            }
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.1K bytes
    - Viewed (0)
  7. istioctl/pkg/kubeinject/kubeinject_test.go

    			ExpectedRegexp: regexp.MustCompile(`filename not specified \(see --filename or -f\)`),
    			WantException:  true,
    		},
    		{ // case 1
    			Args:           strings.Split("-f missing.yaml", " "),
    			ExpectedRegexp: regexp.MustCompile(`open missing.yaml: no such file or directory`),
    			WantException:  true,
    		},
    		{ // case 2
    			Args: strings.Split(
    				"--meshConfigFile testdata/mesh-config.yaml"+
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/TreeBasedTableColumnMapTest.java

    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class TreeBasedTableColumnMapTest extends ColumnMapTests {
      public TreeBasedTableColumnMapTest() {
        super(false, true, true, false);
      }
    
      @Override
      Table<Integer, String, Character> makeTable() {
        return TreeBasedTable.create();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/ValueGraphBuilder.java

     *     ValueGraphBuilder.undirected().allowsSelfLoops(true).build();
     * graph.putEdgeValue("San Francisco", "San Francisco", 0.0);
     * graph.putEdgeValue("San Jose", "San Jose", 0.0);
     * graph.putEdgeValue("San Francisco", "San Jose", 48.4);
     *
     * // Building an immutable value graph
     * ImmutableValueGraph<String, Double> immutableGraph =
     *     ValueGraphBuilder.undirected()
     *         .allowsSelfLoops(true)
     *         .<String, Double>immutable()
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 03 01:21:31 UTC 2022
    - 8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/ByteSourceTester.java

                suiteForBytes(factory, entry.getValue().getBytes(UTF_8), name, entry.getKey(), true));
          }
        }
        return suite;
      }
    
      static TestSuite suiteForString(
          ByteSourceFactory factory, String string, String name, String desc) {
        TestSuite suite = suiteForBytes(factory, string.getBytes(UTF_8), name, desc, true);
        CharSourceFactory charSourceFactory = SourceSinkFactories.asCharSourceFactory(factory);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
Back to top