Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for Appended (0.04 sec)

  1. src/main/java/org/codelibs/core/collection/ArrayUtil.java

        }
    
        /**
         * Returns a new array with the specified object appended to the end.
         *
         * @param <T>
         *            the type of the array elements
         * @param array
         *            the array. Must not be {@literal null}
         * @param obj
         *            the object to add
         * @return a new array with the object appended
         */
        public static <T> T[] add(final T[] array, final T obj) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 41.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/DfsReferralTest.java

            // Then
            assertEquals(appendedReferral, initialReferral.next,
                    "The 'next' property of the initial referral should point to the appended referral.");
            assertEquals(initialReferral, appendedReferral.next,
                    "The 'next' property of the appended referral should point back to the initial referral, closing the loop.");
        }
    
        /**
         * Tests the toString method of the DfsReferral class.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/netbios/NameQueryResponseTest.java

            addrEntryField.setAccessible(true);
            addrEntryField.set(nameQueryResponse, null);
    
            // The toString method appends to super.toString(). We'll check the appended part.
            String expectedEnd = ",addrEntry=]";
            String actual = nameQueryResponse.toString();
            assertTrue(actual.endsWith(expectedEnd), "toString should end with ',addrEntry=]' when addrEntry is null");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SIDTest.java

            void testRelativeConstructorWithSid() throws Exception {
                // Arrange
                SID dom = new SID("S-1-5-21");
                SID rel = new SID("S-1-2-200-300"); // two subauthorities appended
    
                // Act
                SID combined = new SID(dom, rel);
    
                // Assert
                assertEquals("S-1-5-21-200-300", combined.toString());
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbFileOutputStreamTest.java

                    SmbConstants.O_CREAT | SmbConstants.O_WRONLY | SmbConstants.O_APPEND, SmbConstants.FILE_WRITE_DATA,
                    SmbConstants.DEFAULT_SHARING);
    
            byte[] data = "Appended".getBytes();
    
            // When
            outputStream.write(data);
    
            // Then - verify write request was sent
            verify(mockTreeHandle, atLeastOnce()).send(any(Smb2WriteRequest.class), any());
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  6. cmd/bucket-metadata-sys.go

    	}
    }
    
    // Set - sets a new metadata in-memory.
    // Only a shallow copy is saved and fields with references
    // cannot be modified without causing a race condition,
    // so they should be replaced atomically and not appended to, etc.
    // Data is not persisted to disk.
    func (sys *BucketMetadataSys) Set(bucket string, meta BucketMetadata) {
    	if !isMinioMetaBucketName(bucket) {
    		sys.Lock()
    		sys.metadataMap[bucket] = meta
    		sys.Unlock()
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  7. src/bytes/bytes_test.go

    			}
    		}
    
    		if tt.n == 0 || len(a) == 0 {
    			continue
    		}
    
    		if want := tt.a[len(tt.a)-1] + "z"; string(x) != want {
    			t.Errorf("last appended result was %s; want %s", x, want)
    		}
    
    		s := Join(a, []byte(tt.sep))
    		if string(s) != tt.s {
    			t.Errorf(`Join(Split(%q, %q, %d), %q) = %q`, tt.s, tt.sep, tt.n, tt.sep, s)
    		}
    		if tt.n < 0 {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Jul 28 18:13:58 UTC 2025
    - 62.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Strings.java

          sb.append(padChar);
        }
        sb.append(string);
        return sb.toString();
      }
    
      /**
       * Returns a string, of length at least {@code minLength}, consisting of {@code string} appended
       * with as many copies of {@code padChar} as are necessary to reach that length. For example,
       *
       * <ul>
       *   <li>{@code padEnd("4.", 5, '0')} returns {@code "4.000"}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 27 17:53:41 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  9. cmd/update.go

    //
    // The expected format is a single line with two words like:
    //
    // fbe246edbd382902db9a4035df7dce8cb441357d minio.RELEASE.2016-10-07T01-16-39Z.<hotfix_optional>
    //
    // The second word must be `minio.` appended to a standard release tag.
    func parseReleaseData(data string) (sha256Sum []byte, releaseTime time.Time, releaseInfo string, err error) {
    	defer func() {
    		if err != nil {
    			err = AdminError{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/lang/ClassUtil.java

            } else {
                ret[1] = className;
            }
            return ret;
        }
    
        /**
         * Returns the class name itself, or for arrays, the element class name with {@literal []} appended.
         *
         * @param clazz
         *            The class. Must not be {@literal null}.
         * @return The class name.
         */
        public static String getSimpleClassName(final Class<?> clazz) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 25.6K bytes
    - Viewed (0)
Back to top