Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 66 for ages (0.02 sec)

  1. finisher_api.go

    	}, tx.Error)
    	tx.Logger = currentLogger
    	return
    }
    
    // Pluck queries a single column from a model, returning in the slice dest. E.g.:
    //
    //	var ages []int64
    //	db.Model(&users).Pluck("age", &ages)
    func (db *DB) Pluck(column string, dest interface{}) (tx *DB) {
    	tx = db.getInstance()
    	if tx.Statement.Model != nil {
    		if tx.Statement.Parse(tx.Statement.Model) == nil {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Aug 26 06:24:29 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/SecureKeyManagerTest.java

            String sessionId = "age-test";
            keyManager.storeSessionKey(sessionId, testKey, "AES");
    
            long initialAge = keyManager.getKeyAge(sessionId);
            assertTrue(initialAge >= 0 && initialAge < 100, "Initial age should be small");
    
            Thread.sleep(200);
    
            long laterAge = keyManager.getKeyAge(sessionId);
            assertTrue(laterAge >= 200, "Age should increase after delay");
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/CartesianList.java

      }
    
      CartesianList(ImmutableList<List<E>> axes) {
        this.axes = axes;
        int[] axesSizeProduct = new int[axes.size() + 1];
        axesSizeProduct[axes.size()] = 1;
        try {
          for (int i = axes.size() - 1; i >= 0; i--) {
            axesSizeProduct[i] = Math.multiplyExact(axesSizeProduct[i + 1], axes.get(i).size());
          }
        } catch (ArithmeticException e) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/SecureKeyManager.java

                String archiveId = sessionId + ".v" + currentVersion;
                storeSessionKeyInternal(archiveId, currentKey, "AES");
    
                // Store new key
                storeSessionKeyInternal(sessionId, newKey, "AES");
                keyVersions.put(sessionId, newVersion);
                keyCreationTimes.put(sessionId, System.currentTimeMillis());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/dtyp/SecurityDescriptor.java

                }
    
                this.aces = new ACE[numAces];
                for (int i = 0; i < numAces; i++) {
                    this.aces[i] = new ACE();
                    bufferIndex += this.aces[i].decode(buffer, bufferIndex, len - bufferIndex);
                }
            } else {
                this.aces = null;
            }
    
            return bufferIndex - start;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SecurityDescriptor.java

                    throw new IOException("Invalid SecurityDescriptor");
                }
    
                aces = new ACE[numAces];
                for (int i = 0; i < numAces; i++) {
                    aces[i] = new ACE();
                    bufferIndex += aces[i].decode(buffer, bufferIndex);
                }
            } else {
                aces = null;
            }
    
            return bufferIndex - start;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  7. tests/submodel_test.go

    		Age int
    	}{Age: 20}).Error; err != nil {
    		t.Fatalf("unexpected error: %v", err)
    	}
    
    	var result = struct{
    		ID int
    		Age int
    	}{}
    	if err := DB.Model(&man).Where("id = ?", man.ID).Find(&result).Error; err != nil {
    		t.Fatalf("unexpected error: %v", err)
    	}
    	if result.ID != man.ID || result.Age != 20 {
    		t.Fatalf("expected ID %d and Age 20, got ID %d and age", result.ID, result.Age)
    	}
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Aug 20 04:51:17 UTC 2025
    - 944 bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

                    int searchAttributes, FileEntry initial, List<FileEntry[]> pages) throws CIFSException {
                staticInitial = initial;
                staticPages = new ArrayList<>(pages);
                // Don't reset staticThrowOnOpen here - it's controlled by tests
                return new TestIterator(th, parent, wildcard, filter, searchAttributes);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/ACE.java

     * the access mask of the ACE, the access check is successful. Otherwise,
     * more ACEs are evaluated until all desired access bits (combined)
     * are "allowed". If all of the desired access bits are not "allowed"
     * the then same process is repeated for inherited ACEs.
     * <p>
     * For example, if user <code>WNET\alice</code> tries to open a file
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

            // Determine key size based on cipher ID for AES-256 support
            int keyLength = getKeyLength();
            String transformation;
    
            // Select appropriate AES algorithm based on key length
            if (keyLength == 32) {
                // AES-256 support
                transformation = "AES/GCM/NoPadding";
            } else if (keyLength == 16) {
                // AES-128 (existing)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
Back to top