Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for elsif (0.04 sec)

  1. src/syscall/mksyscall_libc.pl

    		if($type =~ /^\*/) {
    			push @args, "uintptr(unsafe.Pointer($name))";
    		} elsif($type eq "string" && $errvar ne "") {
    			$text .= "\tvar _p$n $strconvtype\n";
    			$text .= "\t_p$n, $errvar = $strconvfunc($name)\n";
    			$text .= "\tif $errvar != nil {\n\t\treturn\n\t}\n";
    			push @args, "uintptr(unsafe.Pointer(_p$n))";
    			$n++;
    		} elsif($type eq "string") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 11:28:51 UTC 2023
    - 8K bytes
    - Viewed (0)
  2. apache-maven/src/main/appended-resources/META-INF/LICENSE.vm

    #*      *##set ( $spdx = 'MIT' )
    #*    *##elseif ( $license.name == "Eclipse Public License, Version 1.0" )
    #*      *##set ( $spdx = 'EPL-1.0' )
    #*    *##elseif ( $license.name == "Eclipse Public License, Version 2.0" )
    #*      *##set ( $spdx = 'EPL-2.0' )
    #*    *##elseif ( $license.url.contains( "www.apache.org/licenses/LICENSE-2.0" ) )
    #*      *##set ( $spdx = 'Apache-2.0' )
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 04 06:45:16 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/native-binaries/target-platforms/groovy/src/main/cpp/main.cpp

            std::cout << "Hello from clang!" << std::endl;
        #elif defined(__GNUC__) && defined(__MINGW32__)
            std::cout << "Hello from mingw!" << std::endl;
        #elif defined(__GNUC__) && defined(__CYGWIN__)
            std::cout << "Hello from gcc cygwin!" << std::endl;
        #elif defined(__GNUC__)
            std::cout << "Hello from gcc!" << std::endl;
        #elif defined(_MSC_VER)
            std::cout << "Hello from visual c++!" << std::endl;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 615 bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/native-binaries/tool-chains/groovy/src/main/cpp/main.cpp

            std::cout << "Hello from clang!" << std::endl;
        #elif defined(__GNUC__) && defined(__MINGW32__)
            std::cout << "Hello from mingw!" << std::endl;
        #elif defined(__GNUC__) && defined(__CYGWIN__)
            std::cout << "Hello from gcc cygwin!" << std::endl;
        #elif defined(__GNUC__)
            std::cout << "Hello from gcc!" << std::endl;
        #elif defined(_MSC_VER)
            std::cout << "Hello from visual c++!" << std::endl;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 615 bytes
    - Viewed (0)
  5. src/mdo/transformer.vm

          #elseif ( $field.type == "java.util.List" && $field.to == "String" && $field.multiplicity == "*" )
            List<String> oldVal = target.get${capField}();
            List<String> newVal = transform(oldVal, this::transform);
            return newVal != oldVal ? (builder != null ? builder : creator.get()).${field.name}(newVal) : builder;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Apr 03 17:49:40 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/CCompilerDetectingTestApp.groovy

                        printf("clang");
                    #elif defined(__GNUC__) && defined(__MINGW32__)
                        printf("mingw");
                    #elif defined(__GNUC__) && defined(__CYGWIN__)
                        printf("gcc cygwin");
                    #elif defined(__GNUC__)
                        printf("gcc");
                    #elif defined(_MSC_VER)
                        printf("visual c++");
                    #else
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  7. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/CppCompilerDetectingTestApp.groovy

                        printf("clang");
                    #elif defined(__GNUC__) && defined(__MINGW32__)
                        printf("mingw");
                    #elif defined(__GNUC__) && defined(__CYGWIN__)
                        printf("gcc cygwin");
                    #elif defined(__GNUC__)
                        printf("gcc");
                    #elif defined(_MSC_VER)
                        printf("visual c++");
                    #else
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  8. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/PlatformDetectingTestApp.groovy

        cout << "amd64";
        #elif defined(__i386) || defined(_M_IX86)
        cout << "i386";
        #elif defined(_M_IA64)
        cout << "itanium";
        #else
        cout << "unknown";
        #endif
        cout << " ";
    
        #if defined(__linux__)
        cout << "linux";
        #elif defined(__APPLE__) && defined(__MACH__)
        cout << "os x";
        #elif defined(_WIN32) || defined (_WIN64) || defined (__CYGWIN__)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfr/examples/mnist/ops_defs.py

        return tf.raw_ops.Relu(features=res)
      elif act == 'RELU6':
        return tf.raw_ops.Relu6(features=res)
      elif act == 'TANH':
        return tf.raw_ops.Tanh(x=res)
      else:
        return res
    
    
    @tf.RegisterGradient('NewConv2D')
    def _conv_add_relu_grad(op: ops.Operation, grad):
      act = op.get_attr('act')
      y = op.outputs[0]
      if act == 'RELU':
        grad = gen_nn_ops.relu_grad(grad, y)
      elif act == 'RELU6':
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 31 20:23:51 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  10. src/main/assemblies/files/generate-thumbnail

        exit 1
      fi
      convert -thumbnail ${image_size} ${tmp_png_file} "${output_file}"
      rm -f ${tmp_png_prefix}*png
    elif [[ x"${cmd_type}" = "ximage" ]] ; then
      check_command convert
      target_file=$(echo "$url" | sed -e "s#^file:/*#/#g")
      convert -thumbnail ${image_size} "${target_file}" "${output_file}"
    elif [[ x"${cmd_type}" = "x" ]] ; then
      echo "No filetype."
      exit 1
    else
      echo "Unsupported type: ${cmd_type}"
      exit 1
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Mon Jun 12 13:13:28 UTC 2023
    - 2.5K bytes
    - Viewed (0)
Back to top