Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 508 for enum_ (0.13 sec)

  1. src/cmd/cgo/gcc.go

    // struct_foo becomes "struct foo", and similarly for
    // union and enum.
    func cname(s string) string {
    	if t, ok := nameToC[s]; ok {
    		return t
    	}
    
    	if strings.HasPrefix(s, "struct_") {
    		return "struct " + s[len("struct_"):]
    	}
    	if strings.HasPrefix(s, "union_") {
    		return "union " + s[len("union_"):]
    	}
    	if strings.HasPrefix(s, "enum_") {
    		return "enum " + s[len("enum_"):]
    	}
    	if strings.HasPrefix(s, "sizeof_") {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Enums.java

       * {@code enumClass} using {@link Enum#valueOf(Class, String)} and {@link Enum#name()}. The
       * converter will throw an {@code IllegalArgumentException} if the argument is not the name of any
       * enum constant in the specified enum.
       *
       * @since 16.0
       */
      @GwtIncompatible
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri May 26 11:56:44 GMT 2023
    - 5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Enums.java

       * {@code enumClass} using {@link Enum#valueOf(Class, String)} and {@link Enum#name()}. The
       * converter will throw an {@code IllegalArgumentException} if the argument is not the name of any
       * enum constant in the specified enum.
       *
       * @since 16.0
       */
      @GwtIncompatible
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 26 11:56:44 GMT 2023
    - 5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTransportImpl.java

            case NtStatus.NT_STATUS_MORE_PROCESSING_REQUIRED:
                break; /* normal for SPNEGO */
            case 0x10B: // NT_STATUS_NOTIFY_CLEANUP:
            case NtStatus.NT_STATUS_NOTIFY_ENUM_DIR:
                break;
            case 0xC00000BB: // NT_STATUS_NOT_SUPPORTED
            case 0xC0000010: // NT_STATUS_INVALID_DEVICE_REQUEST
                throw new SmbUnsupportedOperationException();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 18 23:47:00 GMT 2023
    - 67K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/EnumMultisetTest.java

      }
    
      // Wrapper of EnumMultiset factory methods, because we need to skip create(Class).
      // create(Enum1.class) is equal to create(Enum2.class) but testEquals() expects otherwise.
      // For the same reason, we need to skip create(Iterable, Class).
      private static class EnumMultisetFactory {
        public static <E extends Enum<E>> EnumMultiset<E> create(Iterable<E> elements) {
          return EnumMultiset.create(elements);
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/EnumMultisetTest.java

      }
    
      // Wrapper of EnumMultiset factory methods, because we need to skip create(Class).
      // create(Enum1.class) is equal to create(Enum2.class) but testEquals() expects otherwise.
      // For the same reason, we need to skip create(Iterable, Class).
      private static class EnumMultisetFactory {
        public static <E extends Enum<E>> EnumMultiset<E> create(Iterable<E> elements) {
          return EnumMultiset.create(elements);
        }
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/base/EnumsTest.java

        assertThat(Enums.getIfPresent(TestEnum.class, "POODLE")).hasValue(TestEnum.POODLE);
    
        assertThat(Enums.getIfPresent(TestEnum.class, "CHEETO")).isPresent();
        assertThat(Enums.getIfPresent(TestEnum.class, "HONDA")).isPresent();
        assertThat(Enums.getIfPresent(TestEnum.class, "POODLE")).isPresent();
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 03 20:10:02 GMT 2023
    - 8.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/base/EnumsTest.java

        assertThat(Enums.getIfPresent(TestEnum.class, "POODLE")).hasValue(TestEnum.POODLE);
    
        assertThat(Enums.getIfPresent(TestEnum.class, "CHEETO")).isPresent();
        assertThat(Enums.getIfPresent(TestEnum.class, "HONDA")).isPresent();
        assertThat(Enums.getIfPresent(TestEnum.class, "POODLE")).isPresent();
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Oct 03 20:10:02 GMT 2023
    - 8.8K bytes
    - Viewed (0)
  9. guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java

              annotationClass.getDeclaringClass(),
              returnType.getComponentType());
        }
      }
    
      // This is public so that tests for Feature enums we haven't yet imagined
      // can reuse it.
      public static <E extends Enum<?> & Feature<?>> void assertGoodFeatureEnum(
          Class<E> featureEnumClass) {
        final Class<?>[] classes = featureEnumClass.getDeclaredClasses();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/net/NetServerEnum2.java

         * @param config
         * @param domain
         * @param serverTypes
         */
        public NetServerEnum2 ( Configuration config, String domain, int serverTypes ) {
            super(config, SMB_COM_TRANSACTION, NET_SERVER_ENUM2);
            this.domain = domain;
            this.serverTypes = serverTypes;
            this.name = "\\PIPE\\LANMAN";
    
            this.maxParameterCount = 8;
            this.maxDataCount = 16384;
            this.maxSetupCount = (byte) 0x00;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4K bytes
    - Viewed (0)
Back to top