Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for testappendix (0.22 sec)

  1. subprojects/core/src/testFixtures/groovy/org/gradle/api/tasks/bundling/AbstractArchiveTaskTest.groovy

            then:
            archiveTask.archiveFileName.get() == 'testbasename-testappendix-1.0-src'
        }
    
        def "archiveFileName with empty extension in provider"() {
            when:
            archiveTask.archiveExtension.set(project.provider { null })
    
            then:
            archiveTask.archiveFileName.get() == 'testbasename-testappendix-1.0-src'
        }
    
        def "archiveFileName with empty basename"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 07 10:40:13 UTC 2021
    - 4.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/test/testdata/append_test.go

    		t.Errorf("unnecessary grow")
    	}
    	a = appendOne_ssa(a, 8)
    	expect(t, a, []int{1, 2, 3, 4, 5, 6, 7, 8})
    	if &a[0] == &store[0] {
    		t.Errorf("didn't grow")
    	}
    }
    
    func TestAppend(t *testing.T) {
    	testAppend(t)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 23 06:40:04 UTC 2020
    - 1.2K bytes
    - Viewed (0)
  3. subprojects/core-api/src/main/java/org/gradle/api/internal/capabilities/ShadowedCapability.java

     * this case, we use the "shadowed" capability to check.
     * <p>
     * It remains deeply immutable.
     */
    public interface ShadowedCapability extends ImmutableCapability {
        String getAppendix();
        ImmutableCapability getShadowedCapability();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 30 16:22:00 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/external/model/ShadowedImmutableCapability.java

                this.shadowed = new DefaultImmutableCapability(shadowed.getGroup(), shadowed.getName(), shadowed.getVersion());
            }
            this.appendix = appendix;
        }
    
        @Override
        public String getAppendix() {
            return appendix;
        }
    
        @Override
        public ImmutableCapability getShadowedCapability() {
            return shadowed;
        }
    
        @Override
        public String getGroup() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  5. test/typeparam/sliceimp.dir/main.go

    		panic(fmt.Sprintf("a.Min(%v) = %q, want %q", s2, got, want))
    	}
    
    	if got, want := a.SliceMin(s2[:0]), ""; got != want {
    		panic(fmt.Sprintf("a.Min(%v) = %q, want %q", s2[:0], got, want))
    	}
    }
    
    func TestAppend() {
    	s := []int{1, 2, 3}
    	s = a.Append(s, 4, 5, 6)
    	want := []int{1, 2, 3, 4, 5, 6}
    	if !a.Equal(s, want) {
    		panic(fmt.Sprintf("after a.Append got %v, want %v", s, want))
    	}
    }
    
    func TestCopy() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 24 02:14:15 UTC 2022
    - 4.6K bytes
    - Viewed (0)
  6. test/typeparam/slices.go

    		panic(fmt.Sprintf("_Min(%v) = %q, want %q", s2, got, want))
    	}
    
    	if got, want := _SliceMin(s2[:0]), ""; got != want {
    		panic(fmt.Sprintf("_Min(%v) = %q, want %q", s2[:0], got, want))
    	}
    }
    
    func TestAppend() {
    	s := []int{1, 2, 3}
    	s = _Append(s, 4, 5, 6)
    	want := []int{1, 2, 3, 4, 5, 6}
    	if !_Equal(s, want) {
    		panic(fmt.Sprintf("after _Append got %v, want %v", s, want))
    	}
    }
    
    func TestCopy() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 7.8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/appendixa_test.go

    	"github.com/google/go-cmp/cmp"
    )
    
    // TestAppendixA roundtrips the examples of encoded CBOR data items in RFC 8949 Appendix A. For
    // completeness, all examples from the appendix are included, even those those that are rejected by
    // this decoder or are re-encoded to a different sequence of CBOR bytes (with explanation).
    func TestAppendixA(t *testing.T) {
    	hex := func(h string) []byte {
    		b, err := hex.DecodeString(h)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 15 18:59:36 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  8. tensorflow/cc/experimental/libtf/tests/object_test.cc

      // Add two integers.
      Callable add(TFLIB_CALLABLE_ADAPTOR(AddIntegersTyped));
      auto res = add.Call<Integer>(Integer(3), Integer(1));
      EXPECT_EQ(res->get(), 4);
    }
    
    TEST(TypeUneraseCallTest, TestAppend) {
      // Append some indices to a list.
      Callable append(TFLIB_CALLABLE_ADAPTOR(AppendIntegerToList));
      List l;
      TF_ASSERT_OK(append.Call<None>(l, Integer(3)).status());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jul 28 21:37:07 UTC 2021
    - 5.7K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/lang/StringUtilTest.java

         */
        @Test
        public void testToHex2() throws Exception {
            assertEquals("0001", StringUtil.toHex(1));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testAppendHex() throws Exception {
            final StringBuilder buf = new StringBuilder();
            StringUtil.appendHex(buf, (byte) 1);
            assertEquals("01", buf.toString());
        }
    
        /**
         * @throws Exception
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 12K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/ReadWriteTest.java

                    }
                }
                finally {
                    f.delete();
                }
            }
        }
    
    
        @Test
        public void testAppend () throws IOException {
            try ( SmbFile f = createTestFile() ) {
                try {
                    try ( OutputStream os = f.openOutputStream() ) {
                        writeRandom(4096, 3072, os);
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 13.2K bytes
    - Viewed (0)
Back to top