Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2481 - 2490 of 3,180 for when (0.02 seconds)

  1. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

            SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class, () -> {
                response.readBytesWireFormat(buffer, 0);
            });
    
            // The validation correctly detects when buffer extends beyond available data
            assertTrue(exception.getMessage().contains("Security buffer extends beyond available data"),
                    "Should detect security buffer overflow: " + exception.getMessage());
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java

        }
    
        @Test
        public void test_selectList_offsetOutOfBounds() {
            loadTestData();
    
            DictionaryFile.PagingList<StopwordsItem> result = stopwordsFile.selectList(10, 2);
            // When offset is out of bounds, all items may still be returned
            assertTrue(result.size() <= 5);
            assertEquals(6, result.getCurrentPageNumber()); // offset 10 with size 2 = page 6
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/hash/HashCode.java

       * changes to it will <i>not</i> be reflected in this {@code HashCode} object or any other arrays
       * returned by this method.
       */
      // TODO(user): consider ByteString here, when that is available
      public abstract byte[] asBytes();
    
      /**
       * Copies bytes from this hash code into {@code dest}.
       *
       * @param dest the byte array into which the hash code will be written
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  4. cmd/local-locker.go

    //go:generate msgp -file=$GOFILE -unexported
    
    import (
    	"context"
    	"fmt"
    	"strconv"
    	"sync"
    	"sync/atomic"
    	"time"
    
    	"github.com/minio/minio/internal/dsync"
    )
    
    // Reject new lock requests immediately when this many are queued
    // for the local lock mutex.
    // We do not block unlocking or maintenance, but they add to the count.
    // The limit is set to allow for bursty behavior,
    // but prevent requests to overload the server completely.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 12K bytes
    - Click Count (0)
  5. internal/kms/kms.go

    	// the data key.
    	Name string
    
    	// AssociatedData is optional data that is cryptographically
    	// associated with the generated data key. The same data
    	// must be provided when decrypting an encrypted data key.
    	//
    	// Typically, associated data is some metadata about the
    	// data key. For example, the name of the object for which
    	// the data key is used.
    	AssociatedData Context
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Apr 24 15:33:57 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

        assertThat(range.body.string()).isEqualTo("AA")
        assertThat(get(url).body.string()).isEqualTo("BB")
      }
    
      /**
       * When the server returns a full response body we will store it and return it regardless of what
       * its Last-Modified date is. This behavior was different prior to OkHttp 3.5 when we would prefer
       * the response with the later Last-Modified date.
       *
       * https://github.com/square/okhttp/issues/2886
       */
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Mar 20 09:13:37 GMT 2026
    - 121K bytes
    - Click Count (0)
  7. LICENSE

    contribution and copyright details. If a contributor wants to further mark
    their specific copyright on a particular contribution, they should indicate
    their copyright solely in the commit message of the change when it is
    committed.
    
    LICENSE
    
    Redistribution and use in source and binary forms, with or without
    modification, are permitted provided that the following conditions are met:
    
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Mon Nov 29 17:31:56 GMT 2021
    - 13.3K bytes
    - Click Count (0)
  8. internal/bucket/lifecycle/lifecycle_test.go

    			isDelMarker:    true,
    			expectedAction: DeleteVersionAction,
    		},
    		// Should not expire a delete marker; ExpiredObjectDeleteAllVersions applies only when current version is not a DEL marker.
    		{
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 55.5K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/entity/SearchRenderDataTest.java

            assertEquals(Integer.MIN_VALUE, searchRenderData.getCurrentPageNumber());
        }
    
        @Test
        public void test_nullSafety() {
            // Ensure all getters return appropriate values when setters haven't been called
            SearchRenderData freshData = new SearchRenderData();
    
            // These should return null
            assertNull(freshData.getDocumentItems());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 23.6K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/app/web/base/FessAdminActionTest.java

            final File anyFile = new File(tempDir.toFile(), "any/test.txt");
            anyFile.getParentFile().mkdirs();
            anyFile.createNewFile();
    
            // Should not throw when no allowed paths are configured
            action.validateFilePath(anyFile.getAbsolutePath());
        }
    
        // ===================================================================================
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 22.7K bytes
    - Click Count (0)
Back to Top