java: Add missing copyright notices.
This commit is contained in:
Родитель
d2ae1ab2b0
Коммит
669743b94d
|
@ -1,3 +1,6 @@
|
|||
# Copyright (c) Microsoft. All rights reserved.
|
||||
# Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
all:
|
||||
../../build/compiler/build/gbc/gbc cpp ../idl/interop.bond --output gen
|
||||
clang -g --std=c++11 -lstdc++ -I ~/code/bond/build/cpp -I ~/code/bond/cpp/inc -I ~/code/bond/thirdparty/rapidjson/include -o interop *.cpp gen/*.cpp
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
namespace com.microsoft.bond.interop;
|
||||
|
||||
enum SomeEnum { A, B, C }
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
package com.microsoft.bond.interop;
|
||||
|
||||
import com.microsoft.bond.protocol.FastBinaryReader;
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root
|
||||
// for full license information.
|
||||
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
buildscript {
|
||||
repositories {
|
||||
|
|
|
@ -1,18 +1,4 @@
|
|||
/*
|
||||
* This settings file was generated by the Gradle 'init' task.
|
||||
*
|
||||
* The settings file is used to specify which projects to include in your build.
|
||||
* In a single project build this file can be empty or even removed.
|
||||
*
|
||||
* Detailed information about configuring a multi-project build in Gradle can be found
|
||||
* in the user guide at https://docs.gradle.org/3.3/userguide/multi_project_builds.html
|
||||
*/
|
||||
|
||||
/*
|
||||
// To declare projects as part of a multi-project build use the 'include' method
|
||||
include 'shared'
|
||||
include 'api'
|
||||
include 'services:webservice'
|
||||
*/
|
||||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
rootProject.name = 'bond'
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
package com.microsoft.bond;
|
||||
|
||||
import com.microsoft.bond.protocol.ProtocolWriter;
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
package com.microsoft.bond.protocol;
|
||||
|
||||
import java.io.IOException;
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
package com.microsoft.bond.protocol;
|
||||
|
||||
import java.io.IOException;
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
package com.microsoft.bond.protocol;
|
||||
|
||||
import com.microsoft.bond.BondDataType;
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
package com.microsoft.bond.protocol;
|
||||
|
||||
import com.microsoft.bond.BondDataType;
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
package com.microsoft.bond.protocol;
|
||||
|
||||
import com.microsoft.bond.BondDataType;
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
package com.microsoft.bond.protocol;
|
||||
|
||||
import com.microsoft.bond.BondDataType;
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
package com.microsoft.bond.protocol;
|
||||
|
||||
import java.io.EOFException;
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
package com.microsoft.bond.protocol;
|
||||
|
||||
import java.nio.charset.Charset;
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
package com.microsoft.bond.protocol;
|
||||
|
||||
import com.microsoft.bond.BondDataType;
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
package com.microsoft.bond.protocol;
|
||||
|
||||
import java.math.BigInteger;
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
package com.microsoft.bond.protocol;
|
||||
|
||||
import java.io.IOException;
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
package com.microsoft.bond.protocol;
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
package com.microsoft.bond.schema;
|
||||
|
||||
import com.microsoft.bond.*;
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
package com.microsoft.bond.protocol;
|
||||
|
||||
import org.junit.Test;
|
||||
|
@ -90,4 +93,4 @@ public class StreamHelperTest {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
package com.microsoft.bond.protocol;
|
||||
|
||||
import org.junit.Test;
|
||||
|
@ -388,4 +391,4 @@ public class StringHelperTest {
|
|||
// test encoded length
|
||||
assertEquals(encoded.length, StringHelper.getEncodedWStringLength(decoded));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
package com.microsoft.bond.protocol;
|
||||
|
||||
import org.junit.Test;
|
||||
|
@ -934,4 +937,4 @@ public class UnsignedHelperTests {
|
|||
assertEquals(expectedWidenedValue, actualWidenedValue);
|
||||
assertTrue("Result must be non-negative.", actualWidenedValue.signum() >= 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
package com.microsoft.bond.protocol;
|
||||
|
||||
import org.junit.Test;
|
||||
|
@ -1002,4 +1005,4 @@ public class VarUIntHelperTest {
|
|||
assertEquals(unsignedUnencoded, unsignedDecoded);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
package com.microsoft.bond.protocol;
|
||||
|
||||
import org.junit.Test;
|
||||
|
@ -786,4 +789,4 @@ public class ZigzagHelperTest {
|
|||
assertEquals(unsignedEncoded, ZigzagHelper.encodeZigzag64(signedUnencoded));
|
||||
assertEquals(signedUnencoded, ZigzagHelper.decodeZigzag64(unsignedEncoded));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче