Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 235 for dest (0.01 sec)

  1. src/test/java/jcifs/smb/SmbCopyUtilTest.java

            assertSame(authEx, thrown, "Should rethrow the same SmbAuthException instance");
            verify(dest, times(1)).getAttributes();
            verify(dest, never()).setPathInformation(anyInt(), anyLong(), anyLong(), anyLong());
        }
    
        @Test
        @DisplayName("openCopyTargetFile throws NPE on null dest (invalid input)")
        void openCopyTargetFile_nullDest_throwsNPE() {
            // Arrange
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/ntlmssp/NtlmMessageTest.java

        }
    
        @Test
        void testWriteSecurityBuffer() {
            // Test writeSecurityBuffer
            byte[] dest = new byte[8]; // Enough for length, max_length, offset
            byte[] src = "Test".getBytes();
    
            // Test with non-null source array
            int nextOffset = NtlmMessage.writeSecurityBuffer(dest, 0, src);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbCopyUtil.java

            final String path = dest.getLocator().getUNCPath();
            if (path.length() > 1) {
                try {
                    dest.mkdir();
                    if (dh.hasCapability(SmbConstants.CAP_NT_SMBS)) {
                        dest.setPathInformation(src.getAttributes(), src.createTime(), src.lastModified(), src.lastAccess());
                    } else {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  4. ci/official/containers/ml_build_arm64/builder.devtoolset/stringop_trunc.patch

    -			- 1))						      \
    -		  : __stpcpy (dest, src)))
    -#   endif
    +# ifndef _HAVE_STRING_ARCH_stpcpy
    +#  define __stpcpy(dest, src) __builtin_stpcpy (dest, src)
     /* In glibc we use this function frequently but for namespace reasons
        we have to use the name `__stpcpy'.  */
    -#   define stpcpy(dest, src) __stpcpy (dest, src)
    -#  endif
    +#  define stpcpy(dest, src) __stpcpy (dest, src)
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Nov 11 19:25:56 UTC 2024
    - 42.9K bytes
    - Viewed (0)
  5. finisher_api.go

    		})
    	}
    	tx.Statement.Dest = dest
    	return tx.callbacks.Query().Execute(tx)
    }
    
    func (db *DB) ScanRows(rows *sql.Rows, dest interface{}) error {
    	tx := db.getInstance()
    	if err := tx.Statement.Parse(dest); !errors.Is(err, schema.ErrUnsupportedDataType) {
    		tx.AddError(err)
    	}
    	tx.Statement.Dest = dest
    	tx.Statement.ReflectValue = reflect.ValueOf(dest)
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Aug 26 06:24:29 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  6. scan.go

    			}
    		}
    	}
    
    	db.RowsAffected = 0
    
    	switch dest := db.Statement.Dest.(type) {
    	case map[string]interface{}, *map[string]interface{}:
    		if initialized || rows.Next() {
    			columnTypes, _ := rows.ColumnTypes()
    			prepareValues(values, db, columnTypes, columns)
    
    			db.RowsAffected++
    			db.AddError(rows.Scan(values...))
    
    			mapValue, ok := dest.(map[string]interface{})
    			if !ok {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  7. schema/schema.go

    // Parse get data type from dialector
    func Parse(dest interface{}, cacheStore *sync.Map, namer Namer) (*Schema, error) {
    	return ParseWithSpecialTableName(dest, cacheStore, namer, "")
    }
    
    // ParseWithSpecialTableName get data type from dialector with extra schema table
    func ParseWithSpecialTableName(dest interface{}, cacheStore *sync.Map, namer Namer, specialTableName string) (*Schema, error) {
    	if dest == nil {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Aug 19 06:35:49 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  8. statement.go

    	if v, ok := stmt.Dest.(map[string]interface{}); ok {
    		v[name] = value
    	} else if v, ok := stmt.Dest.([]map[string]interface{}); ok {
    		for _, m := range v {
    			m[name] = value
    		}
    	} else if stmt.Schema != nil {
    		if field := stmt.Schema.LookUpField(name); field != nil {
    			destValue := reflect.ValueOf(stmt.Dest)
    			for destValue.Kind() == reflect.Ptr {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java

        }
    
        @Test
        public void testConcatValues() {
            // Test static concatValues method
            List<String> dest = new java.util.ArrayList<>();
            dest.add("existing");
    
            SuggestItem.concatValues(dest, "new1", "new2", "existing");
    
            assertEquals(3, dest.size());
            assertTrue(dest.contains("existing"));
            assertTrue(dest.contains("new1"));
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  10. callbacks/associations.go

    							pv, _ := ref.PrimaryKey.ValueOf(db.Statement.Context, elem)
    							db.AddError(ref.ForeignKey.Set(db.Statement.Context, obj, pv))
    
    							if dest, ok := db.Statement.Dest.(map[string]interface{}); ok {
    								dest[ref.ForeignKey.DBName] = pv
    								if _, ok := dest[rel.Name]; ok {
    									dest[rel.Name] = elem.Interface()
    								}
    							}
    						}
    					}
    				}
    
    				switch db.Statement.ReflectValue.Kind() {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Feb 13 06:16:26 UTC 2025
    - 14.4K bytes
    - Viewed (0)
Back to top