Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 3,018 for value0 (0.04 sec)

  1. logger/sql_test.go

    	"github.com/jinzhu/now"
    	"gorm.io/gorm/logger"
    )
    
    type JSON json.RawMessage
    
    func (j JSON) Value() (driver.Value, error) {
    	if len(j) == 0 {
    		return nil, nil
    	}
    	return json.RawMessage(j).MarshalJSON()
    }
    
    type ExampleStruct struct {
    	Name string
    	Val  string
    }
    
    func (s ExampleStruct) Value() (driver.Value, error) {
    	return json.Marshal(s)
    }
    
    func format(v []byte, escaper string) string {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Mar 21 08:00:02 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/dcerpc/UUID.java

            final char[] arr = new char[length];
            int ai = arr.length;
            while (ai-- > 0) {
                arr[ai] = HEXCHARS[value & 0xF];
                value >>>= 4;
            }
            return new String(arr);
        }
    
        private static byte B(final int i) {
            return (byte) (i & 0xFF);
        }
    
        private static short S(final int i) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  3. generics.go

    }
    
    func (c *g[T]) Raw(sql string, values ...interface{}) ExecInterface[T] {
    	return execG[T]{g: &g[T]{
    		db: c.db,
    		ops: append(c.ops, func(db *DB) *DB {
    			var r T
    			return db.Model(r).Raw(sql, values...)
    		}),
    	}}
    }
    
    func (c *g[T]) Exec(ctx context.Context, sql string, values ...interface{}) error {
    	var r T
    	return c.apply(ctx).Model(r).Exec(sql, values...).Error
    }
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/dcerpc/UUID.java

         *
         * @param value the integer value to convert
         * @param length the desired length of the hex string
         * @return the hexadecimal string representation
         */
        public static String bin_to_hex(int value, final int length) {
            final char[] arr = new char[length];
            int ai = arr.length;
            while (ai-- > 0) {
                arr[ai] = HEXCHARS[value & 0xF];
                value >>>= 4;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/SmbConstantsTest.java

     * demonstration – the real class behaviour is not required for
     * validating constants.
     */
    public class SmbConstantsTest {
    
        /**
         * Verify that the hard‑coded default values are present.
         */
        @Test
        @DisplayName("Default constant values match expectations")
        void defaultValues() {
            assertEquals(445, SmbConstants.DEFAULT_PORT);
            assertEquals(10, SmbConstants.DEFAULT_MAX_MPX_COUNT);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/ntlmssp/av/AvFlags.java

     */
    package jcifs.ntlmssp.av;
    
    import jcifs.internal.util.SMBUtil;
    
    /**
     * NTLMSSP AV (Attribute-Value) pair representing flags information.
     * Contains flag values used in NTLM authentication attribute-value pairs.
     *
     * @author mbechler
     */
    public class AvFlags extends AvPair {
    
        /**
         * Constructs an AV flags pair from raw bytes
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  7. cmd/batch-expire_test.go

          olderThan: 7d10h # match objects older than this value
          createdBefore: "2006-01-02T15:04:05.00Z" # match objects created before "date"
          tags:
            - key: name
              value: pick* # match objects with tag 'name', all values starting with 'pick'
          metadata:
            - key: content-type
              value: image/* # match objects with 'content-type', all values starting with 'image/'
          size:
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java

         * Creates a new XmlNode instance with the specified name and value.
         *
         * @param name the name for the new node
         * @param value the value for the new node
         * @return a new XmlNode instance
         * @throws NullPointerException if name is null
         */
        static XmlNode newInstance(String name, String value) {
            return newBuilder().name(name).value(value).build();
        }
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Jul 19 11:09:56 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/util/HexdumpTest.java

        }
    
        @Test
        @DisplayName("Should handle special byte values correctly")
        void testSpecialByteValues() {
            // Test boundary values
            byte[] data = { (byte) 0x00, // min value
                    (byte) 0xFF, // max value (-1 as signed byte)
                    (byte) 0x7F, // max positive
                    (byte) 0x80 // min negative
            };
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java

            entries.add(mapEntry(k, v));
          }
          Iterable<Entry<K, V>> orderedEntries = multimapGenerator.order(entries);
          List<V> values = new ArrayList<>();
          for (Entry<K, V> entry : orderedEntries) {
            values.add(entry.getValue());
          }
          return values;
        }
    
        @Override
        public Collection<V> create(Object... elements) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 26.8K bytes
    - Viewed (0)
Back to top