Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 340 for Design (0.06 sec)

  1. android/guava/src/com/google/common/primitives/Shorts.java

          return Short.MAX_VALUE;
        }
        if (value < Short.MIN_VALUE) {
          return Short.MIN_VALUE;
        }
        return (short) value;
      }
    
      /**
       * Compares the two specified {@code short} values. The sign of the value returned is the same as
       * that of {@code ((Short) a).compareTo(b)}.
       *
       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated; use the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/IntsTest.java

      @SuppressWarnings("InlineMeInliner")
      public void testCompare() {
        for (int x : VALUES) {
          for (int y : VALUES) {
            // note: spec requires only that the sign is the same
            assertWithMessage(x + ", " + y).that(Ints.compare(x, y)).isEqualTo(Integer.compare(x, y));
          }
        }
      }
    
      public void testContains() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/primitives/Shorts.java

          return Short.MAX_VALUE;
        }
        if (value < Short.MIN_VALUE) {
          return Short.MIN_VALUE;
        }
        return (short) value;
      }
    
      /**
       * Compares the two specified {@code short} values. The sign of the value returned is the same as
       * that of {@code ((Short) a).compareTo(b)}.
       *
       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated; use the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

                final int off = nextStart - start;
                SMBUtil.writeInt4(off, dst, start + 20);
                len += dstIndex - nextStart;
            }
    
            if (this.digest != null) {
                this.digest.sign(dst, this.headerStart, this.length, this, getResponse());
            }
    
            if (isRetainPayload()) {
                this.rawPayload = new byte[len];
                System.arraycopy(dst, start, this.rawPayload, 0, len);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  5. src/main/java/jcifs/Configuration.java

         *
         * This does not provide any actual downgrade protection if SMB1 is allowed.
         *
         * It will also break connections with SMB2 servers that do not properly sign error responses.
         *
         * @return whether to enforce the use of secure negotiation.
         */
        boolean isRequireSecureNegotiate();
    
        /**
         * Enable port 139 failover
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  6. cmd/erasure-object.go

    	for index := range disks {
    		g.Go(func() error {
    			if disks[index] == nil {
    				return errDiskNotFound
    			}
    
    			// Pick one FileInfo for a disk at index.
    			fi := metadata[index]
    			// Assign index when index is initialized
    			if fi.Erasure.Index == 0 {
    				fi.Erasure.Index = index + 1
    			}
    
    			if !fi.IsValid() {
    				return errFileCorrupt
    			}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 80.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/primitives/BooleansTest.java

      @SuppressWarnings("InlineMeInliner")
      public void testCompare() {
        for (boolean x : VALUES) {
          for (boolean y : VALUES) {
            // note: spec requires only that the sign is the same
            assertWithMessage(x + ", " + y)
                .that(Booleans.compare(x, y))
                .isEqualTo(Boolean.valueOf(x).compareTo(y));
          }
        }
      }
    
      public void testContains() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25K bytes
    - Viewed (0)
  8. cmd/erasure-healing_test.go

    	obj, fsDirs, err := prepareErasure16(ctx)
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer obj.Shutdown(t.Context())
    
    	// initialize the server and obtain the credentials and root.
    	// credentials are necessary to sign the HTTP request.
    	if err = newTestConfig(globalMinioDefaultRegion, obj); err != nil {
    		t.Fatalf("Unable to initialize server config. %s", err)
    	}
    
    	defer removeRoots(fsDirs)
    
    	z := obj.(*erasureServerPools)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 48.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

            dst[dstIndex++] = (byte) (this.byteCount >> 8 & 0xFF);
            dstIndex += this.byteCount;
    
            this.length = dstIndex - start;
    
            if (this.digest != null) {
                this.digest.sign(dst, this.headerStart, this.length, this, this.response);
            }
    
            return this.length;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/primitives/Chars.java

        }
        if (value < Character.MIN_VALUE) {
          return Character.MIN_VALUE;
        }
        return (char) value;
      }
    
      /**
       * Compares the two specified {@code char} values. The sign of the value returned is the same as
       * that of {@code ((Character) a).compareTo(b)}.
       *
       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated; use the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
Back to top