Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 4021 - 4030 of 5,248 for strike (0.04 seconds)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ClasspathTransformation.java

    import org.apache.maven.artifact.ArtifactScopeEnum;
    
    /**
     * Helper class to convert a metadata Graph into some form of a classpath
     *
     *
     */
    @Deprecated
    public interface ClasspathTransformation {
        String ROLE = ClasspathTransformation.class.getName();
    
        /**
         * Transform Graph into a Collection of metadata objects that
         * could serve as a classpath for a particular scope
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/impl/CoreUtils.java

    import java.util.List;
    import java.util.Objects;
    import java.util.function.Function;
    import java.util.stream.Collectors;
    
    class CoreUtils {
    
        public static <T> T cast(Class<T> clazz, Object o, String name) {
            if (!clazz.isInstance(o)) {
                if (o == null) {
                    throw new IllegalArgumentException(name + " is null");
                }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Mar 24 22:23:23 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/Plugin.java

        @Nonnull
        Artifact getArtifact();
    
        @Nonnull
        default Collection<Dependency> getDependencies() {
            return getDependenciesMap().values();
        }
    
        @Nonnull
        Map<String, Dependency> getDependenciesMap();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Feb 28 23:54:53 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  4. internal/disk/directio_darwin.go

    	"golang.org/x/sys/unix"
    )
    
    // ODirectPlatform indicates if the platform supports O_DIRECT
    const ODirectPlatform = true
    
    // OpenFileDirectIO - bypass kernel cache.
    func OpenFileDirectIO(filePath string, flag int, perm os.FileMode) (*os.File, error) {
    	return directio.OpenFile(filePath, flag, perm)
    }
    
    // DisableDirectIO - disables directio mode.
    func DisableDirectIO(f *os.File) error {
    	fd := f.Fd()
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sat Jun 17 14:31:36 GMT 2023
    - 1.4K bytes
    - Click Count (0)
  5. src/archive/tar/example_test.go

    	"bytes"
    	"fmt"
    	"io"
    	"log"
    	"os"
    )
    
    func Example_minimal() {
    	// Create and add some files to the archive.
    	var buf bytes.Buffer
    	tw := tar.NewWriter(&buf)
    	var files = []struct {
    		Name, Body string
    	}{
    		{"readme.txt", "This archive contains some text files."},
    		{"gopher.txt", "Gopher names:\nGeorge\nGeoffrey\nGonzo"},
    		{"todo.txt", "Get animal handling license."},
    	}
    	for _, file := range files {
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Nov 16 16:54:08 GMT 2017
    - 1.4K bytes
    - Click Count (0)
  6. fess-crawler/src/test/resources/extractor/program/test.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package com.foo.bar;
    
    public class Test {
        public String test="ใƒ†ใ‚นใƒˆ";
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sat Mar 15 06:52:00 GMT 2025
    - 701 bytes
    - Click Count (0)
  7. src/test/java/jcifs/netbios/NodeStatusRequestTest.java

        }
    
        @Test
        void toString_shouldReturnFormattedString() {
            // Arrange
            nodeStatusRequest = new NodeStatusRequest(mockConfig, mockName);
    
            // Act
            String result = nodeStatusRequest.toString();
    
            // Assert
            assertNotNull(result);
            assertTrue(result.startsWith("NodeStatusRequest["));
            assertTrue(result.endsWith("]"));
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.9K bytes
    - Click Count (0)
  8. compat/maven-embedder/src/test/java/org/apache/maven/cli/event/ExecutionEventLoggerTest.java

        private static MavenProject generateMavenProject(String projectName) {
            MavenProject project = mock(MavenProject.class);
            when(project.getPackaging()).thenReturn("jar");
            when(project.getVersion()).thenReturn("3.5.4-SNAPSHOT");
            when(project.getName()).thenReturn(projectName);
            return project;
        }
    
        private static String adaptDirSeparator(String path) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Dec 01 19:41:22 GMT 2024
    - 12.3K bytes
    - Click Count (0)
  9. clause/values_test.go

    package clause_test
    
    import (
    	"fmt"
    	"testing"
    
    	"gorm.io/gorm/clause"
    )
    
    func TestValues(t *testing.T) {
    	results := []struct {
    		Clauses []clause.Interface
    		Result  string
    		Vars    []interface{}
    	}{
    		{
    			[]clause.Interface{
    				clause.Insert{},
    				clause.Values{
    					Columns: []clause.Column{{Name: "name"}, {Name: "age"}},
    					Values:  [][]interface{}{{"jinzhu", 18}, {"josh", 1}},
    				},
    			},
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Thu Jan 06 07:02:53 GMT 2022
    - 691 bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

          return builder.build();
        }
      }
    
      private static final class Signature {
        private final String name;
        private final ImmutableList<Class<?>> parameterTypes;
    
        Signature(Method method) {
          this(method.getName(), ImmutableList.copyOf(method.getParameterTypes()));
        }
    
        Signature(String name, ImmutableList<Class<?>> parameterTypes) {
          this.name = name;
          this.parameterTypes = parameterTypes;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 24.9K bytes
    - Click Count (0)
Back to Top