Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 51 for RID (0.02 seconds)

  1. android/guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java

          }
          dummy ^= sb.toString().length();
        }
        return dummy;
      }
    
      /**
       * Always append the delimiter after the component, and in the very end shortens the buffer to get
       * rid of the extra trailing delimiter.
       */
      @Benchmark
      int alwaysAppendThenBackUp(int reps) {
        int dummy = 0;
        for (int i = 0; i < reps; i++) {
          StringBuilder sb = new StringBuilder();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 27 16:19:35 GMT 2024
    - 5K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/util/concurrent/NullnessCasts.java

       * (And even if annotations on local variables were permitted as an optional hint, no annotation
       * would be the right tool for the job here: {@code @Nullable} is the annotation that we're trying
       * to get rid of, and {@code @NonNull} would be wrong for our use case for the same reason as
       * {@code requireNonNull}: Our use case is the one in which {@code T} has parametric nullness—and
       * thus its value may be legitimately {@code null}.)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 13 20:49:47 GMT 2025
    - 4K bytes
    - Click Count (0)
  3. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

                        containingFailures = true
                    }
                }
            }
            return containingFailures
        }
    
        /**
         * After archiving the test files, do a cleanup to get rid of TeamCity "XX published a lot of small artifacts" warning.
         */
        private
        fun cleanUp(filesToCleanUp: Collection<File>) {
            try {
                fileSystemOperations.delete {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Feb 11 11:05:07 GMT 2026
    - 14.3K bytes
    - Click Count (1)
  4. src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.java

            /** Relative identifier. */
            public int rid;
            /** Index of the SID in the domain list. */
            public int sid_index;
    
            @Override
            public void encode(final NdrBuffer _dst) throws NdrException {
                _dst.align(4);
                _dst.enc_ndr_short(sid_type);
                _dst.enc_ndr_long(rid);
                _dst.enc_ndr_long(sid_index);
    
            }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 42.5K bytes
    - Click Count (0)
  5. guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

        TestSuite suite = new TestSuite(name);
        for (@SuppressWarnings("rawtypes") // class literals
        Class<? extends AbstractTester> testerClass : testers) {
          @SuppressWarnings("unchecked") // getting rid of the raw type, for better or for worse
          TestSuite testerSuite =
              makeSuiteForTesterClass((Class<? extends AbstractTester<?>>) testerClass);
          if (testerSuite.countTestCases() > 0) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

        TestSuite suite = new TestSuite(name);
        for (@SuppressWarnings("rawtypes") // class literals
        Class<? extends AbstractTester> testerClass : testers) {
          @SuppressWarnings("unchecked") // getting rid of the raw type, for better or for worse
          TestSuite testerSuite =
              makeSuiteForTesterClass((Class<? extends AbstractTester<?>>) testerClass);
          if (testerSuite.countTestCases() > 0) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  7. src/main/java/jcifs/pac/PacDataInputStream.java

            for (int l = 0; l < usedChars; l++) {
                chars[l] = (char) readShort();
            }
    
            return new String(chars);
        }
    
        /**
         * Reads a 32-bit RID and constructs a SID from it.
         * @return the constructed SID object
         * @throws IOException if an I/O error occurs
         * @throws PACDecodingException if the SID data is invalid
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/SIDCacheImplTest.java

                    return null;
                }).when(handle).sendrecv(any());
    
                cache.resolveSids(handle, policy, in);
    
                // When type is SID_TYPE_UNKNOWN, getAccountName returns the RID as string
                // and getDomainName returns the domain part of the SID
                assertEquals("2000", s.getAccountName());
                assertEquals("S-1-5-21-1-2-3", s.getDomainName());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14K bytes
    - Click Count (0)
  9. src/test/java/jcifs/SidResolverTest.java

        void testGetGroupMemberSids_InvalidRid() throws CIFSException {
            when(sidResolver.getGroupMemberSids(any(CIFSContext.class), anyString(), any(SID.class), eq(-1), anyInt()))
                    .thenThrow(new CIFSException("Invalid RID"));
    
            assertThrows(CIFSException.class, () -> sidResolver.getGroupMemberSids(mockContext, testServerName, mockDomainSid, -1, 0));
        }
    
        // Test getServerSid
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 15.5K bytes
    - Click Count (0)
  10. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/DependencyLicensesTask.java

            String fileName = name + "-" + type;
    
            if (counters.containsKey(fileName) == false) {
                // try the other suffix...TODO: get rid of this, just support ending in .txt
                return fileName + ".txt";
            }
    
            return fileName;
        }
    
        @Input
        @Optional
        public LinkedHashSet<String> getIgnoreFiles() {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Jul 26 12:16:14 GMT 2021
    - 14.3K bytes
    - Click Count (0)
Back to Top