Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 106 for Truong (1.13 sec)

  1. guava/src/com/google/common/collect/Multiset.java

       *
       * <p>This method refines {@link Collection#remove} to further specify that it <b>may not</b>
       * throw an exception in response to {@code element} being null or of the wrong type.
       *
       * <p>To both remove the element and obtain the previous count of that element, use {@link
       * #remove(Object, int) remove}{@code (element, 1)} instead.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 21K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/TimeoutTest.java

            return new NSOverrideWrapper(ctx, wrapper);
        }
    
    
        @Test
        public void testMultiHostFailoverTimeout () throws MalformedURLException, CIFSException, UnknownHostException {
            // this could inject wrong DFS cache entries
            CIFSContext newContext = getNewContext();
            try ( SmbResource root = getDefaultShareRoot(failHostInjecting(medConnectTimeout(newContext), "10.255.255.1")) ) {
                root.exists();
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 12.4K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modfetch/codehost/git_test.go

    			if err != nil {
    				if tt.err == "" {
    					t.Fatalf("ReadFile: unexpected error %v", err)
    				}
    				if !strings.Contains(err.Error(), tt.err) {
    					t.Fatalf("ReadFile: wrong error %q, want %q", err, tt.err)
    				}
    				if len(data) != 0 {
    					t.Errorf("ReadFile: non-empty data %q with error %v", data, err)
    				}
    				return
    			}
    			if tt.err != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 19:46:23 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  4. CONTRIBUTING.md

    For any non-trivial change, we need to be able to answer these questions:
    
    * Why is this change done? What's the use case?
    * For user facing features, what will the API look like?
    * What test cases should it have? What could go wrong?
    * How will it roughly be implemented? We'll happily provide code pointers to save you time.
    
    We may ask you to answer these questions directly in the GitHub issue or (for large changes) in a shared Google Doc.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 01:39:23 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/issues_test.go

    }
    var _ I0 = b.S{}
    `,
    			`package b
    type S struct{}
    func (S) M0(struct{ f string }) {}
    `,
    			`6:12: cannot use b[.]S{} [(]value of type b[.]S[)] as I0 value in variable declaration: b[.]S does not implement I0 [(]wrong type for method M0[)]
    .*have M0[(]struct{f string /[*] package b [*]/ }[)]
    .*want M0[(]struct{f string /[*] package main [*]/ }[)]`},
    
    		{ //---------------------------------------------------------------
    			`package main
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  6. maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4Test.java

            assertEquals(1, depResults.size());
            assertEquals(
                    exec.getPlugin().getArtifact().key(),
                    depResults.iterator().next().key(),
                    "dependency artifact is wrong.");
        }
    
        @Test
        public void testPluginArtifactMapExpressionReference() throws Exception {
            Session session = newSession();
    
            MojoExecution exec = newMojoExecution(session);
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/test_fuzz.txt

    ! stdout ^ok
    stdout FAIL
    
    # Test panic with different type of args to f.Add
    ! go test -run FuzzAddDifferentType fuzz_add_test.go
    ! stdout ^ok
    stdout FAIL
    
    # Test that the wrong type given with f.Add will fail.
    ! go test -run FuzzWrongType fuzz_add_test.go
    ! stdout ^ok
    stdout '\[string int\], want \[\[\]uint8 int8\]'
    stdout FAIL
    
    # Test fatal with testdata seed corpus
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 16 16:53:11 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/BooleansTest.java

        assertThat(Booleans.asList(ARRAY_FALSE_TRUE).size()).isEqualTo(2);
      }
    
      @SuppressWarnings("BooleanArrayIndexOfBoolean")
      public void testAsListIndexOf() {
        assertThat(Booleans.asList(EMPTY).indexOf((Object) "wrong type")).isEqualTo(-1);
        assertThat(Booleans.asList(EMPTY).indexOf(true)).isEqualTo(-1);
        assertThat(Booleans.asList(ARRAY_FALSE).indexOf(true)).isEqualTo(-1);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 04 15:43:29 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/lookup.go

    	l.m[inst.Origin()] = append(insts, inst)
    }
    
    // MissingMethod returns (nil, false) if V implements T, otherwise it
    // returns a missing method required by T and whether it is missing or
    // just has the wrong type: either a pointer receiver or wrong signature.
    //
    // For non-interface types V, or if static is set, V implements T if all
    // methods of T are present in V. Otherwise (V is an interface and static
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  10. maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorTest.java

            System.out.println("Result: " + depResults);
    
            assertNotNull(depResults);
            assertEquals(1, depResults.size());
            assertSame(depArtifact, depResults.get(0), "dependency artifact is wrong.");
        }
    
        @Test
        void testPluginArtifactMapExpressionReference() throws Exception {
            MojoExecution exec = newMojoExecution();
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Dec 05 08:11:33 UTC 2023
    - 18.6K bytes
    - Viewed (0)
Back to top