Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 244 for misc (0.03 sec)

  1. CHANGELOG/CHANGELOG-1.17.md

    - github.com/go-toolsmith/typep: v1.0.0
    - github.com/gobwas/glob: v0.2.3
    - github.com/golangci/check: cfe4005
    - github.com/golangci/dupl: 3e9179a
    - github.com/golangci/errcheck: ef45e06
    - github.com/golangci/go-misc: 927a3d8
    - github.com/golangci/go-tools: e32c541
    - github.com/golangci/goconst: 041c5f2
    - github.com/golangci/gocyclo: 2becd97
    - github.com/golangci/gofmt: 0b8337e
    - github.com/golangci/golangci-lint: v1.18.0
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Thu Jan 28 10:44:33 UTC 2021
    - 346.2K bytes
    - Viewed (1)
  2. tests/lru_test.go

    		trace[i] = getRand(b) % 32768
    	}
    
    	b.ResetTimer()
    
    	var hit, miss int
    	for i := 0; i < 2*b.N; i++ {
    		if i%2 == 0 {
    			l.Add(trace[i], trace[i])
    		} else {
    			if _, ok := l.Get(trace[i]); ok {
    				hit++
    			} else {
    				miss++
    			}
    		}
    	}
    	b.Logf("hit: %d miss: %d ratio: %f", hit, miss, float64(hit)/float64(hit+miss))
    }
    
    func BenchmarkLRU_Freq_NoExpire(b *testing.B) {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/spnego/NegTokenInitTest.java

            // Tag [3]
            byte[] tokenTag3 = buildInitToken(new ASN1ObjectIdentifier[] { OID_KRB }, null, null, mic, false, null, null, null);
            NegTokenInit p3 = new NegTokenInit(tokenTag3);
            assertArrayEquals(mic, p3.getMechanismListMIC(), "MIC should be parsed from tag [3]");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SSPContextTest.java

                }
                byte[] expected = calculateMIC(data);
                if (mic.length != expected.length || mic[0] != expected[0]) {
                    throw new CIFSException("MIC mismatch");
                }
            }
    
            @Override
            public boolean isMICAvailable() {
                // Available if context is established and integrity is supported
                return this.established && this.integrity;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SSPContext.java

        /**
         * Calculates a Message Integrity Code (MIC) for the given data.
         * @param data the data to calculate MIC for
         * @return MIC
         * @throws CIFSException if an error occurs calculating the MIC
         */
        byte[] calculateMIC(byte[] data) throws CIFSException;
    
        /**
         * Verifies a Message Integrity Code (MIC) for the given data.
         * @param data the data to verify
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

            assertTrue(cache.asMap().containsKey(entry.getKey()));
            assertTrue(cache.asMap().containsValue(entry.getValue()));
            // this getUnchecked() call shouldn't be a cache miss; verified below
            assertEquals(entry.getValue(), cache.getUnchecked(entry.getKey()));
          }
          assertEquals(WARMUP_SIZE, cache.stats().missCount());
          checkValidState(cache);
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/spnego/NegTokenTargTest.java

            ASN1ObjectIdentifier mech = new ASN1ObjectIdentifier("1.2.840.113554.1.2.2");
            byte[] tokenArray = new byte[] { 1, 2, 3 };
            byte[] mic = new byte[] { 9, 9, 9 };
            NegTokenTarg original = new NegTokenTarg(NegTokenTarg.ACCEPT_COMPLETED, mech, tokenArray, mic);
    
            // Act – serialise and parse back
            byte[] bytes = original.toByteArray();
            NegTokenTarg roundTrip = new NegTokenTarg(bytes);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  8. docs/features/caching.md

    containing a query.
    
     - CallStart
     - **CacheHit**
     - CallEnd
     
    ### Cache Miss
    
    Under a cache miss the normal request events are seen but an additional event shows the presence of the cache.
    Cache Miss will be typical if the item has not been read from the network, is uncacheable, or is past it's 
    lifetime based on Response cache headers.
    
     - CallStart 
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/NtlmContext.java

                    throw new CIFSException("Failed to decrypt MIC", e);
                }
            }
    
            final int expectSeq = this.verifySequence.getAndIncrement();
            if (expectSeq != seq) {
                throw new CIFSException(String.format("Invalid MIC sequence, expect %d have %d", expectSeq, seq));
            }
    
            final byte[] verify = new byte[8];
            System.arraycopy(mic, 4, verify, 0, 8);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/spnego/NegTokenInit.java

         */
        @Override
        public String toString() {
            String mic = null;
            if (this.getMechanismListMIC() != null) {
                mic = Hexdump.toHexString(this.getMechanismListMIC(), 0, this.getMechanismListMIC().length);
            }
            return String.format("NegTokenInit[flags=%d,mechs=%s,mic=%s]", this.getContextFlags(), Arrays.toString(this.getMechanisms()), mic);
        }
    
        @Override
        public byte[] toByteArray() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
Back to top