Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1031 - 1040 of 5,397 for returns (0.05 sec)

  1. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcShareEnum.java

            super("\\\\" + server, 1, new srvsvc.ShareInfoCtr1(), -1, 0, 0);
            ptype = 0;
            flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
        }
    
        /**
         * Returns the share entries retrieved from the enumeration.
         *
         * @return an array of FileEntry objects representing the shares
         */
        public FileEntry[] getEntries() {
            /* The ShareInfo1 class does not implement the FileEntry
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/netbios/NbtExceptionTest.java

    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.CsvSource;
    
    @DisplayName("NbtException Tests")
    class NbtExceptionTest {
    
        @Test
        @DisplayName("getErrorString success returns SUCCESS")
        void testSuccess() {
            assertEquals("SUCCESS", NbtException.getErrorString(NbtException.SUCCESS, 0));
        }
    
        @Test
        @DisplayName("getErrorString for name service error with known code")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/Trans2SetFileInformationTest.java

            byte[] dst = new byte[42];
    
            // When
            int result = trans2SetFileInformation.writeDataWireFormat(dst, 0);
    
            // Then
            assertEquals(40, result); // Returns 40 bytes written
        }
    
        @Test
        void testReadSetupWireFormat() {
            // When
            int result = trans2SetFileInformation.readSetupWireFormat(new byte[0], 0, 0);
    
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java

            // Should read 20 bytes as per implementation
            assertEquals(20, bytesRead);
            assertEquals(0x0010, response.getAttributes());
            // getLastWriteTime returns lastWriteTime (from readUTime) + serverTimeZoneOffset
            // readUTime multiplies the seconds value by 1000, and writeUTime divides milliseconds by 1000
            // So the round-trip should preserve the milliseconds value
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/TestStringListGenerator.java

       */
      protected abstract List<String> create(String[] elements);
    
      @Override
      public String[] createArray(int length) {
        return new String[length];
      }
    
      /** Returns the original element list, unchanged. */
      @Override
      public List<String> order(List<String> insertionOrder) {
        return insertionOrder;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/TestStringMultisetGenerator.java

      public String[] createArray(int length) {
        return new String[length];
      }
    
      /** Returns the original element list, unchanged. */
      @Override
      public List<String> order(List<String> insertionOrder) {
        return insertionOrder;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Defaults.java

          if (type == boolean.class) {
            return (T) Boolean.FALSE;
          } else if (type == char.class) {
            return (T) Character.valueOf('\0');
          } else if (type == byte.class) {
            return (T) Byte.valueOf((byte) 0);
          } else if (type == short.class) {
            return (T) Short.valueOf((short) 0);
          } else if (type == int.class) {
            return (T) Integer.valueOf(0);
          } else if (type == long.class) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/Objects.java

       * has three properties, {@code x}, {@code y}, and {@code z}, one could write:
       *
       * {@snippet :
       * public int hashCode() {
       *   return Objects.hashCode(getX(), getY(), getZ());
       * }
       * }
       *
       * <p><b>Warning:</b> When a single object is supplied, the returned hash code does not equal the
       * hash code of that object.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 28 22:51:26 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/netbios/NameServicePacketTest.java

            int writeBodyWireFormat(byte[] dst, int dstIndex) {
                // For testing purposes, we can return a fixed length or mock behavior
                return 0;
            }
    
            @Override
            int readBodyWireFormat(byte[] src, int srcIndex) {
                // For testing purposes, we can return a fixed length or mock behavior
                return 0;
            }
    
            @Override
            int writeRDataWireFormat(byte[] dst, int dstIndex) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  10. cmd/bucket-replication-stats.go

    	if r == nil {
    		return ActiveWorkerStat{}
    	}
    	r.wlock.RLock()
    	defer r.wlock.RUnlock()
    	w := r.workers.get()
    	return ActiveWorkerStat{
    		Curr: w.Curr,
    		Max:  w.Max,
    		Avg:  w.Avg,
    	}
    }
    
    func (r *ReplicationStats) collectWorkerMetrics(ctx context.Context) {
    	if r == nil {
    		return
    	}
    	for {
    		select {
    		case <-ctx.Done():
    			return
    		case <-r.wTimer.C:
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 13.6K bytes
    - Viewed (0)
Back to top