Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3121 - 3130 of 5,169 for String (0.05 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/Repository.java

    @Experimental
    @Immutable
    public interface Repository {
    
        /**
         * The reserved id for Maven Central
         */
        String CENTRAL_ID = "central";
    
        /**
         * Gets the identifier of this repository.
         *
         * @return the (case-sensitive) identifier, never {@code null}
         */
        @Nonnull
        String getId();
    
        /**
         * Gets the type of the repository, for example "default".
         *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. src/archive/tar/stat_unix.go

    		// (not implemented on that platform, cgo not enabled, etc).
    		if u, ok := userMap.Load(h.Uid); ok {
    			h.Uname = u.(string)
    		} else if u, err := user.LookupId(strconv.Itoa(h.Uid)); err == nil {
    			h.Uname = u.Username
    			userMap.Store(h.Uid, h.Uname)
    		}
    		if g, ok := groupMap.Load(h.Gid); ok {
    			h.Gname = g.(string)
    		} else if g, err := user.LookupGroupId(strconv.Itoa(h.Gid)); err == nil {
    			h.Gname = g.Name
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Mar 15 16:01:50 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. src/archive/zip/writer_test.go

    	}
    }
    
    // TestWriterComment is test for EOCD comment read/write.
    func TestWriterComment(t *testing.T) {
    	tests := []struct {
    		comment string
    		ok      bool
    	}{
    		{"hi, hello", true},
    		{"hi, こんにちわ", true},
    		{strings.Repeat("a", uint16max), true},
    		{strings.Repeat("a", uint16max+1), false},
    	}
    
    	for _, test := range tests {
    		// write a zip file
    		buf := new(bytes.Buffer)
    		w := NewWriter(buf)
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Jan 28 04:20:09 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

                assertEquals(0, smbInfoAllocation.getCapacity());
                assertEquals(0, smbInfoAllocation.getFree());
            }
    
            @Test
            @DisplayName("Should provide string representation")
            void testToString() {
                String result = smbInfoAllocation.toString();
    
                assertNotNull(result);
                assertTrue(result.contains("SmbInfoAllocation"));
                assertTrue(result.contains("alloc="));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/RecordingExecutor.kt

        if (shutdown) throw RejectedExecutionException()
        calls.add(command as RealCall.AsyncCall)
      }
    
      fun assertJobs(vararg expectedUrls: String) {
        val actualUrls = calls.map { it.request.url.toString() }
        assertThat(actualUrls).containsExactly(*expectedUrls)
      }
    
      fun finishJob(url: String) {
        val i = calls.iterator()
        while (i.hasNext()) {
          val call = i.next()
          if (call.request.url.toString() == url) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/RuntimeCIFSException.java

         */
        public RuntimeCIFSException(final String message, final Throwable cause) {
            super(message, cause);
        }
    
        /**
         * Constructs a runtime CIFS exception with the specified detail message.
         *
         * @param message the detail message
         */
        public RuntimeCIFSException(final String message) {
            super(message);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbComDelete.java

     */
    
    package jcifs.smb1.smb1;
    
    import jcifs.smb1.util.Hexdump;
    
    class SmbComDelete extends ServerMessageBlock {
    
        private final int searchAttributes;
    
        SmbComDelete(final String fileName) {
            this.path = fileName;
            command = SMB_COM_DELETE;
            searchAttributes = ATTR_HIDDEN | ATTR_HIDDEN | ATTR_SYSTEM;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/artifact/installer/ArtifactInstallerTest.java

        @Inject
        private SessionScope sessionScope;
    
        protected String component() {
            return "installer";
        }
    
        @Test
        void testArtifactInstallation() throws Exception {
            sessionScope.enter();
            try {
                sessionScope.seed(MavenSession.class, mock(MavenSession.class));
    
                String artifactBasedir = new File(getBasedir(), "src/test/resources/artifact-install").getAbsolutePath();
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/exception/SuggestIndexException.java

        /**
         * Constructs a new SuggestIndexException with the specified detail message.
         * @param msg The detail message.
         */
        public SuggestIndexException(final String msg) {
            super(msg);
        }
    
        /**
         * Constructs a new SuggestIndexException with the specified cause.
         * @param cause The cause.
         */
        public SuggestIndexException(final Throwable cause) {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 2K bytes
    - Viewed (0)
  10. cmd/erasure-object_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    }
    
    func TestErasureDeleteObjectBasic(t *testing.T) {
    	testCases := []struct {
    		bucket      string
    		object      string
    		expectedErr error
    	}{
    		{".test", "dir/obj", BucketNameInvalid{Bucket: ".test"}},
    		{"----", "dir/obj", BucketNameInvalid{Bucket: "----"}},
    		{"bucket", "", ObjectNameInvalid{Bucket: "bucket", Object: ""}},
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 38.3K bytes
    - Viewed (0)
Back to top